cruise-automation / webviz

web-based visualization libraries
https://webviz.io/
Apache License 2.0
2.05k stars 415 forks source link

How to add vector map to webviz? #411

Open tlgkyn06 opened 4 years ago

tlgkyn06 commented 4 years ago

Hi , so far default webviz met my needs but during 3D visualization I need vector map at the background of 3D World environment. What do you suggest? Regards.

janpaul123 commented 4 years ago

If it's vector-based data, I'd use an RViz marker, and if it's a bitmap, there is nav_msgs/OccupancyGrid. You can make it a latching topic so it always appears immediately when you connect over the Websocket, though that currently doesn't work nicely with bags yet because of #314 (so for bags you'd need to repeat the topic every few hundred milliseconds or so for now…)