swri-robotics / mapviz

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

Visualize multiple latitudes and longitudes together #771

Open bhaskar-anand-iith opened 1 year ago

bhaskar-anand-iith commented 1 year ago

Is it possible to visualize an array of lat lon on mapviz? Basically, I have multiple lat lon data of vehicles in the scene. The lat lon represents the vehicle location. For every frame I get lat lon data array which is of varying size. Say, the first frame has 4 cars, second has 3 and third has 1. So I need to visualize 3, 2 and 1 dots (lat, lon) respectively in three consecutive frames. If anybody can help or suggest any way it can be done...

malban commented 1 year ago

The most flexible message types to visualize are the Marker or MarkerArray. You can provide a set of points to visualize with those.