Hi @NoN33d ,
I think I got the solution for this problem.
Refer to this post here: Path planning error - ROS2 Navigation course - #3 by rtellez
What you should do to get the robot move (and reach) the goal pose:
- Replace your
behavior.xmlfile with the file contents provided in the above post. - Replace your
bt_navigator.yamlfile with the file contents provided in the above post. -
Very Important: Make sure you change the path to the
behavior.xmlfile in thebt_navigator.yamlfile. You must provide the path to “your”behavior.xmlfile.
Once you do follow these steps correctly, you can send a goal pose to your robot either with 2d Goal Pose button on Rviz2 or use the action server NavigateToPose.
After following these steps, when you send a goal pose, you will still see the following error message:
[bt_navigator-3] [ERROR] [<timestamp>] [bt_navigator]: Action server failed while executing action callback: "send_goal failed"
Just ignore this message!
Can this be solved?
Short answer: No, not in Foxy.
Long answer: Yes, you need to update Foxy to Galactic, this problem is fixed in Galactic. Problem is that our rosject environment uses Foxy and we cannot update it to Galactic by ourselves unless TheConstruct team updates. So don’t worry about this!
Let me know if this worked for you. [This worked for me, so it should work for you too!]
Regards,
Girish