How to solve no matching function for call to ‘constructGoalConstraints

asked 2018-12-17 10:35:45 -0600

Rachel gravatar image

updated 2018-12-17 13:51:31 -0600

gvdhoorn gravatar image

Hi, everyone,

I am using Franka Panda and ros kinetic.

I got error

Controller position_joint_trajectory_controller failed with error code GOAL_TOLERANCE_VIOLATED

so I try to setup GoalConstraints from kinematic_constraints::constructGoalConstraints. But I got error

error: no matching function for call to ‘constructGoalConstraints(const char [12], geometry_msgs::Pose&, std::vector<double>&, std::vector<double>&)’

My solution for GOAL_TOLERANCE_VIOLATED, is it right?

edit retag flag offensive close merge delete

Comments

1

Really sounds like an xy problem: what did you do to trigger the first error? Usually it happens when trying to execute a motion and not having recovered from errors iirc.

aPonza gravatar imageaPonza ( 2018-12-17 10:57:23 -0600 )edit

yes, it was trying to excuse a motion

Rachel gravatar imageRachel ( 2018-12-17 11:21:19 -0600 )edit

What commands were you sending to the robot prior to the error? Did you check on the Desk interface if there was an error? EDIT e.g. I just had one of those errors and it was due to me trying to plan for a location which would lead to a collision.

aPonza gravatar imageaPonza ( 2018-12-18 02:14:19 -0600 )edit

If there is self collision can I avoid it in my code?

Rachel gravatar imageRachel ( 2018-12-18 06:58:23 -0600 )edit