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

Revision history [back]

You may want to take a look at the moveit_msgs/MoveItErrorCodes Message

When calling moveit::planning_interface::MoveGroup::computeCartesianPath, you can pass an optionnal argument error_code which is a moveit_msgs/MoveItErrorCodes Message :

double moveit::planning_interface::MoveGroup::computeCartesianPath  (   const std::vector< geometry_msgs::Pose > &      waypoints,
        double      eef_step,
        double      jump_threshold,
        moveit_msgs::RobotTrajectory &      trajectory,
        bool    avoid_collisions = true,
        moveit_msgs::MoveItErrorCodes *     error_code = NULL 
    )

This message contains some information about the failure

You may want to take a look at the moveit_msgs/MoveItErrorCodes Message

When calling moveit::planning_interface::MoveGroup::computeCartesianPath, you can pass an optionnal argument error_code which is a moveit_msgs/MoveItErrorCodes Message :

double moveit::planning_interface::MoveGroup::computeCartesianPath  (   const std::vector< geometry_msgs::Pose > &      waypoints,
        double      eef_step,
        double      jump_threshold,
        moveit_msgs::RobotTrajectory &      trajectory,
        bool    avoid_collisions = true,
        moveit_msgs::MoveItErrorCodes *     error_code = NULL 
    )

This message contains some information about the failure