How to get the Robot's pose in the Rviz?
I am using moveit these days, but a problem confused me. The moveit-rviz plugin is very useful for visualization the robot's planning scene, there is a demo in the pr2_moveit_config launch file, you can use your mouse to drag the interactive marker on the robot model in Rviz. But I want to get the pose information when I drag or move the endeffector. When I use the getTargetPose, I just return the Target Pose you defined in the code, but how to get the simulation model's pose in realtime?