The Visualization Node provides tools for visualizing autonomous vehicle states, trajectories, and maps. It integrates with ROS 2 and generates markers for visualization in RViz/Foxbox, enabling users to view and debug various aspects of autonomous driving systems.
File: characters.hpp
- Contains a map of ASCII characters to 5x7 pixel representations.
- Used for rendering text on visualizations.
File: color_palette.hpp
- Defines a set of predefined colors based on the Tableau 10 palette.
- Includes utilities for HSV-to-RGB color conversion.
File: map_image_visualization.hpp
- Provides tools to convert map tiles into occupancy grids.
- Fetches map images and integrates them into visualization workflows.
File: state_buffer.hpp
- Implements a time-based circular buffer for vehicle state data.
- Useful for creating time-history visualizations.
File: visualization_primitives.hpp
- Provides utilities for creating basic visualization markers:
- Rectangles, spheres, and lines.
- Finish lines and text markers.
- Supports flexible offsets and scaling.
File: visualizer.hpp
- Implements the main node for visualization.
- Subscribes to various ROS 2 topics and publishes visualization markers for RViz.
File: visualizer_conversions.hpp
- Converts ROS 2 messages (e.g., trajectories, maps, goals) into marker arrays.
- Includes support for traffic participant sets, safety corridors, and more.