Re: Spawnning an obstacle during navigation
Posted by minato_99 on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Spawnning-an-obstacle-during-navigation-tp10076p10142.html
Hello matlabbe,
Sorry for the confusion. The way I was trying to tackle the problem is to launch two different database (one for rover and one for drone). The drone grid_map had that extra obstacle. I was just looking for a way to switch the database of rover and drone (I thought it would be possible) during navigating when the rover's x is around -1 (just a logic). Please let me know if this is possible.
I just found a way to create a simple layer that puts lethal area on the costmap. If there is any suggestion regarding this, it would be helpful as well.
Problem Statement: Drone follows the rover, while rover is navigating avoiding obstacle. Around certain region, I want the drone to publish a message that there is an obstacle and should avoid it (rover cannot see that obstacle). So, I am just spawning a virtual obstacle to the rover's costmap by drone.
I hope this clarify.
Thanks,
minato_99