ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Can rosbag record and playback action goal?

asked 2013-06-28 06:02:38 -0500

AdrianPeng gravatar image

updated 2014-11-22 17:05:40 -0500

ngrennan gravatar image

Hi,

I am wondering if rosbag is able to record a action goal? Right now, I use moveit to generate a trajectory for pr2 left arm. And I want to record the trajectory and use it again later.

I tried to use rosbag to record the message in topic

/l_arm_controller/follow_joint_trajectory/goal

and tried to playback the message. I am able to see the playback message using "rostopic echo". However, pr2's left arm didn't move. I guess maybe pr2's left arm controller will only work once it receive a action goal.

Is there anyway to record a action goal?

Following is all topics related to left arm controller.

/l_arm_controller/command
/l_arm_controller/follow_joint_trajectory/cancel
/l_arm_controller/follow_joint_trajectory/feedback
/l_arm_controller/follow_joint_trajectory/goal
/l_arm_controller/follow_joint_trajectory/result
/l_arm_controller/follow_joint_trajectory/status
/l_arm_controller/joint_trajectory_action/cancel
/l_arm_controller/joint_trajectory_action/feedback
/l_arm_controller/joint_trajectory_action/goal
/l_arm_controller/joint_trajectory_action/result
/l_arm_controller/joint_trajectory_action/status
/l_arm_controller/state

Thanks for any help in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-19 07:23:45 -0500

EdwinvanEmmerik gravatar image

I will have to try this out myself to know for sure. However, you can record the topics being send to the controllers of your pr2 (these can be found in rqt_graph) and use these.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-06-28 06:02:38 -0500

Seen: 658 times

Last updated: Jun 28 '13