O I find a solution. When you use rviz as a plugin for moveit, actually you are using the interactive marker srv to send pose information between interactive marker server and RViz.
The topic use here is update and feedback. So you just need to find the topics when you are running.
image description http://wiki.ros.org/rviz/Tutorials/Interactive%20Markers:%20Getting%20Started?action=AttachFile&do=get&target=interactive_marker_architecture.png
So use "rostopic list" command, I find there is a topic named /rviz_moveit_motion_planning_display/robot_interaction_interactive_maker_topic/feedback
This is just the information I need.
Originally posted by cxxzju with karma: 16 on 2017-01-03
This answer was ACCEPTED on the original site
Post score: 0
Original comments
Comment by UR5e on 2019-10-17:
I am trying to get also the current pose position in x,y,z,rx,ry,rz and I have listed the node that you mention. However, neither rostopic echo nor info returns the desired pose. How do you get the pose? Thank you
Comment by omeranar1 on 2021-02-24:
you get selected joint's position and orientation information, how can i get all joint angles when i move interactive marker