How to extract position of the gripper in ROS2/MoveIt2
I created a URDF for my custom robot and gone through MoveIt Setup Assistant successfully generating RVIZ launch files for ROS2/Moveit2 Humble distro. I can drag the interactive marker and plan/execute the final end effector position. I want to be able to extract the current end effector position and orientation so I can know where the gripper is in respect to the base of the arm (Forward kinematics). Any way I can do it in a simple way? Any guidance would be great.
My workspace is similar to this as per the packages and functionalities: link text