group.execute always returns: Controller is taking too long to execute trajectory?
Hi guys,
I am using moveit to control a gazebo manipulator based on https://github.com/kleinma/ma1400_sim . However I changed the controller interface from position_controllers/JointPositioController to position_controllers/JointGroupPositionController (as recommended in https://answers.ros.org/question/3066... )
However, all my trajectories I execute fail on a timeout:
In moto_ros_interface.cpp the Robot status is set to not in motion at the end of the trajSubCB callback. Is this what moveit determines the succes of the trajectory on? I looked at moveits source code but got a bit confused on how the succes of a trajectory is determined.
// Set RobotStatus to not moving
robotStatus_.in_motion.val = 0;
robotStatusPub_.publish(robotStatus_);
If I set the executing duration monitoring to false (see link below) the group.execute simply does not return since as far as moveit thinks the Trajectory is never finished.
No. Please don't take what you see in
moto_ros_interface.cpp
as indicative of typical setups. It's a rather hack-ish implementation made by "just a user", like you and I.That node mixes MotoROS driver internals with ROS concepts.