Creates the RViz display and initializes its configurable properties.
27 {
28
29
30
32 new StringProperty(QString::fromStdString("Name of lanelet2_map_server"), QString::fromStdString("lanelet2_map_server"),
33 QString::fromStdString(
"Global name of lanelet2_map_server node"),
this, SLOT(
updateServerName()));
34
36 new FloatProperty(
"Alpha", 1.0F,
"The amount of transparency to apply to the Map.",
this, SLOT(
updateColor()),
this);
39
41 new BoolProperty("Show Map in 3D", true, "Toggles wether to display the lanelet map with or without its z coordinates.",
43
45 new BoolProperty("Visualize Lanelet-Linestrings", true, "Activate the visualization of Lanelet-Linestrings.", this,
47
48 ll_left_col_property_ =
new ColorProperty(
"LL Color Left", Qt::white,
"Color of left Lanelet-Linestring.",
50
51 ll_right_col_property_ =
new ColorProperty(
"LL Color Right", Qt::white,
"Color of right Lanelet-Linestring.",
53
57
59 new BoolProperty("Visualize Lanelet-Separators", false, "Activate the visualization of Lanelet-Separators.", this,
61
62 separators_col_property_ =
new ColorProperty(
"Separators Color", QColor{25, 25, 230},
"Color of Lanelet Separators.",
64
68
69 viz_stop_line_property_ =
new BoolProperty(
"Visualize Stop lines",
true,
"Activate the visualization of Stop-Lines.",
this,
71
74
78
80 new BoolProperty("Visualize Traffic Lights", true, "Activate the visualization of Traffic-Lights.", this,
82
85
87 new FloatProperty("Traffic Light Height", 3.0F, "The height, in meters, of each traffic light.",
90
92 new BoolProperty(
"Visualize Areas",
true,
"Activate the visualization of Areas.",
this, SLOT(
updateAreaRendering()));
93
96
100
101 fill_area_property_ =
new BoolProperty(
"Fill Areas",
false,
"Toggles wether to fill the areas with color or not.",
103
105 new BoolProperty(
"Visualize Parking",
true,
"Activate the visualization of Parking.",
this, SLOT(
updateParkingRendering()));
106
109
113
114 fill_parking_property_ =
new BoolProperty(
"Fill Parking",
true,
"Toggles wether to fill the parking with color or not.",
116
117
118 viz_lane_fill_property_ =
new BoolProperty(
"Fill Lanelets (Road)",
true,
"Render road surface as filled polygons.",
this,
122
123
124 viz_sidewalk_property_ =
new BoolProperty(
"Visualize Sidewalks",
true,
"Render sidewalk areas as filled polygons.",
this,
126 sidewalk_col_property_ =
new ColorProperty(
"Sidewalk Color", QColor{191, 191, 191},
"Color of sidewalks.",
128
129 viz_crosswalk_property_ =
new BoolProperty(
"Visualize Crosswalks",
true,
"Render crosswalk areas as filled polygons.",
this,
133
134 viz_id_property_ =
new BoolProperty(
"Visualize Lanelet-IDs",
false,
"Activate the visualization of Lanelet-IDs.",
this,
136
139
142
143}
rviz_common::properties::ColorProperty * parking_col_property_
rviz_common::properties::StringProperty * ll2_server_name_property_
rviz_common::properties::BoolProperty * viz_sidewalk_property_
rviz_common::properties::BoolProperty * viz_lane_fill_property_
rviz_common::properties::BoolProperty * fill_parking_property_
rviz_common::properties::ColorProperty * stop_line_col_property_
rviz_common::properties::ColorProperty * ll_right_col_property_
rviz_common::properties::FloatProperty * area_width_property_
void updateParkingRendering()
rviz_common::properties::BoolProperty * viz_separators_property_
rviz_common::properties::FloatProperty * char_height_property_
rviz_common::properties::ColorProperty * sidewalk_col_property_
void updateAreaRendering()
void updateTrafficLightRendering()
rviz_common::properties::BoolProperty * viz_traffic_light_property_
rviz_common::properties::ColorProperty * area_col_property_
rviz_common::properties::ColorProperty * separators_col_property_
void updateSidewalkRendering()
rviz_common::properties::BoolProperty * viz_id_property_
rviz_common::properties::FloatProperty * stop_line_width_property_
rviz_common::properties::BoolProperty * viz_crosswalk_property_
void updateLinestringRendering()
rviz_common::properties::BoolProperty * viz_stop_line_property_
void updateStopLineRendering()
rviz_common::properties::FloatProperty * traffic_light_height_property_
rviz_common::properties::ColorProperty * traffic_light_col_property_
rviz_common::properties::FloatProperty * linestring_width_property_
rviz_common::properties::FloatProperty * alpha_property_
rviz_common::properties::FloatProperty * separators_width_property_
rviz_common::properties::ColorProperty * id_col_property_
rviz_common::properties::ColorProperty * lane_fill_col_property_
void updateCrosswalkRendering()
rviz_common::properties::ColorProperty * ll_left_col_property_
rviz_common::properties::FloatProperty * parking_width_property_
void updateSeparatorsRendering()
rviz_common::properties::BoolProperty * viz_parking_property_
rviz_common::properties::BoolProperty * three_d_property_
void updateLaneFillRendering()
rviz_common::properties::BoolProperty * viz_linestring_property_
rviz_common::properties::BoolProperty * fill_area_property_
rviz_common::properties::BoolProperty * viz_area_property_
rviz_common::properties::ColorProperty * crosswalk_col_property_