Skip to content

Rviz visualizations

Florian Tschopp edited this page Jun 28, 2019 · 1 revision

Rviz visualizations

This wiki page should describe the use of various flags in the console to change the visualization of landmarks, edges, etc.

Landmark visualizations

There are several options to color the landmarks for different needs using simple flags in the console.

Color by mission

This will color both the edges and the landmarks which belong to the same mission with the same color

-v -color_by_mission

In case the different missions have a too similar color, the color_salt flag can be used to generate more distinct color:

-v -color_by_mission -color_salt 50

where the value 50 is just an example, play around with different integers to get different colors.

Color by observers

Colors the landmarks according to the number of vertices it was observed from. The more observations a landmark has the more red it is. Make sure you have set the 'viz_max_observers' flag appropriately in order to see the color gradient.

v -color_by_observers -viz_max_observers 20

Color by observer data set

Colors the landmarks according to the number of different missions which observed the same landmark. This makes only sense for maps with multiple missions.

v -color_by_observer_datasets -viz_max_observers 5

Color by time

Color the landmarks based on time of the recording:

v -color_by_time -color_by_time_period_seconds 30 -color_salt 50

where the color_by_time_period_seconds is the time period within which the landmarks should have the same color. Again we use color_salt to generate distinctive colors.

Color by first observer frame

Colors all the landmarks based on which camera observed it first. This obviously only makes sense in a multi camera setup.

v -color_by_first_observer_frame -color_salt 50

Color by height

Color the landmarks based on their z height.

v -color_by_height -color_by_height_period_m 0.5 -color_salt 50

where the height period is again the height band in which the landmarks have the same color.

Clone this wiki locally