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

Revision history [back]

click to hide/show revision 1
initial version

I believe there is a group.getState() call you can use to check on progress. I've never used it this way, but I think it will work.

I believe there is a group.getState() call you can use to check on progress. I've never used it this way, but I think it will work. [Note: this call is for an ActionClient, not for MoveGroupCommander]

If you look at the implementation of execute(), you will see it creates an ActionClient. You could create your own ActionClient rather than using execute(). Then you would use getState() to monitor the progress. You'd need to figure out the name of the FollowJointTrajectory ActionServer in your setup; it is /arm_controller/follow_joint_trajectory for one of my arms.

I believe there is a group.getState() call you can use to check on progress. I've never used it this way, but I think it will work. [Note: this call is for an ActionClient, not for MoveGroupCommander]

If I'm not seeing any way to get this information from MoveGroupCommander.

However, if you look at the implementation of execute(), you will see it creates an ActionClient. You could create your own ActionClient rather than using execute(). Then you would use getState() to monitor the progress. You'd need to figure out the name of the FollowJointTrajectory ActionServer in your setup; it is /arm_controller/follow_joint_trajectory for one of my arms.