How to get robot to follow line in RVIZ/ other GUI? [closed]
I have a robot setup that will move to a specified point of a predetermined map in RVIZ, but will eventually need to load these waypoints as an action/service so it can reach multiple waypoints. I would like to be able to draw straight lines that the robot should try to follow and stick to as long as there are no obstacles. Is there a good way to implement this strategy of having a path the robot should follow but will avoid an obstacle and return to the specified path once cleared?
i.e. a lawn mower following a straight line, avoiding a tree and returning to that straight line