Hi @w.ronaldo.cd ,
Here is a simple trick to understand long error outputs: It is usually the reference to the first line of error that has the actual bug. The remaining errors are caused because of the first error.
In your case, The first error is this part:
The other error outputs are just irrelevant and will just make you nervous. So don’t panic!
So the error says operator mismatch in the line:
std::bind(&WallFollower::goal_response_callback, this, _1);.
I know exactly, why you are getting this error.
Reason: The rosject uses Foxy as ROS2 version while You have learned ROS2 Basics with Humble.
There was a major syntax difference in Goal Response Callback function.
So the error is not in the reported line but the function itself!
Handling these errors requires some finesse which you will develop as you code.
ROS2 Foxy GoalResponseCallback:
void goal_response_callback(std::shared_future<GoalHandleOdomRecord::SharedPtr> future)
{
// ...
}
ROS2 Humble GoalResponseCallback:
void goal_response_callback(const GoalHandleOdomRecord::SharedPtr & goal_handle)
{
// ...
}
Do you notice the function definition difference here?
So just use the Foxy version’s definition in your Rosject. This will fix your issue.
Sorry, I could not identify this error earlier. My bad. Thanks for your patience. Much appreciated!
Let me know if this gets your problem fixed. I believe this should get your issue fixed.
Regards,
Girish