swri-robotics / mapviz

Modular ROS visualization tool for 2D data.
BSD 3-Clause "New" or "Revised" License
370 stars 144 forks source link

Path planning on mapviz #782

Closed Hankyu-Kim closed 1 year ago

Hankyu-Kim commented 1 year ago

Hello I wanna make shortest path where is available to go only. Because robot cannot across the water or building. From where I am to final destination/sensor_msgs/NavSatFix. ( = LocalXY Origin - my_navsatfix_topic )

So, What I would like to ask you is the following.

  1. How to mark the map data? i.e. 0 - restricted area 1 - avaiable path

reference : https://www.roguebasin.com/index.php/Dijkstra_Maps_Visualized

Best regards Hankyu Kim

danthony06 commented 1 year ago

Hello,

As I understand this, you are asking to do something like draw polygons on a map to indicate traversable areas. We don't currently have a plugin in like this, because we normally have a different node publish this information, rather than manually mark it. There are a few things I can point you at to help you decide on what you want to do: