'no matching function for call to ‘ros::NodeHandle::advertiseService(const char [11], bool (Potential_four::*)(turtlebot3_gazebo::goal_srv::Request [closed]

asked 2019-06-24 00:40:48 -0500

czldz gravatar image

goal_service_ =nh_.advertiseService("set_goalds",&Potential_four::SetGoal); bool Potential_four::SetGoal(turtlebot3_gazebo::goal_srv::Request &req,turtlebot3_gazebo::goal_srv::Response &res){ goal.x=req.x; goal.y=req.y; goal.z=req.z; res.v=0; return true; }

edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: http://wiki.ros.org/Support for more details. by gvdhoorn
close date 2019-06-24 02:06:16.988104



This is not a question, but a straight dump of an error and some code.

Please provide more context and tell us what you are trying to do.

I've closed it for now. Use the edit button/link to fix your question, then we can re-open.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-24 02:06:59 -0500 )edit