maliput_viz package is part of the Maliput family.
It offers a visualizer for analyzing the road networks.
Note: For full information about Maliput please visit Maliput Documentation.
maliput_viz application is provided by maliput_viz package.
After installation simply run:
maliput_vizIn the top-right of the window options about the road network loading can be found:
maliput_viz uses the maliput plugin architecture for loading the maliput backends in runtime.
In general, each backend would receive a set of parameters that defines the behavior of the road network loader. For example, in the maliput_malidrive backend, the opendrive_file parameter holds the path to a XODR map file.
When a backend is selected, the default parameter set for it is filled up. The user can add, edit or remove any parameter as they please.
After hitting the Load Road Network button, the correspondent backend will load up a maliput RoadNetwork and it will be displayed.
The UI provides several options for changing visibilities of the meshes and also providing useful information about several things like: lane description, rules and phases, among others.
The following video shows a maliput Road Network being loaded using maliput_malidrive backend.
Besides the XODR files for the RoadGeometry, also other entities are being loaded to complete the RoadNetwork such as: RuleRegistry, RoadRulebook, TrafficLightBook and PhaseRingBook.
Ubuntu Focal Fossa 20.04 LTS, ROS2 Foxy.
See Installation Docs.
sudo apt install python3-rosdep python3-colcon-common-extensions
-
Create colcon workspace if you don't have one yet.
mkdir colcon_ws/src -p
-
Clone this repository in the
srcfoldercd colcon_ws/src git clone https://github.com/maliput/maliput_viz.git -
Install package dependencies via
rosdepexport ROS_DISTRO=foxyrosdep update rosdep install -i -y --rosdistro $ROS_DISTRO --from-paths src -
Build the package
colcon build --packages-up-to maliput_viz
Note: To build documentation a
-BUILD_DOCScmake flag is required:colcon build --packages-select maliput_viz --cmake-args " -DBUILD_DOCS=On"More info at Building Documentation.
For further info refer to Source Installation on Ubuntu
It is recommended to follow the guidelines for setting up a development workspace as described here.
Please see CONTRIBUTING page.



