Dynamically adding a line to gazebo
I came a cross this video which shows a statically added line for a robot to follow.
However, I'm looking for a solution that will allow me to dynamically add lines to my gazebo model for the same purpose. This is because my gazebo model has a lot of obstacles and I'm looking for a technique that will allow me to "draw" lines where I need them. As mentioned previously, the aim is to define a virtual line/path for the robot to follow.
I would appreciate insights into if this is possbile and how I can go about it ?