Skip to content

Commit

Permalink
update defaults of CPM plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbusch committed Oct 15, 2024
1 parent ce0fc78 commit bd43108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions etsi_its_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ if(${ROS_VERSION} EQUAL 2)

set(display_headers_to_moc
include/displays/CAM/cam_display.hpp
include/displays/CAM/cam_render_object.hpp
include/displays/DENM/denm_display.hpp
include/displays/DENM/denm_render_object.hpp
include/displays/CPM/cpm_display.hpp
include/displays/CPM/cpm_render_object.hpp
)

foreach(header "${display_headers_to_moc}")
Expand Down
4 changes: 2 additions & 2 deletions etsi_its_rviz_plugins/src/displays/CPM/cpm_display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace displays {
CPMDisplay::CPMDisplay() {
// General Properties
buffer_timeout_ =
new rviz_common::properties::FloatProperty("Timeout", 0.1f, "Time (in s) until objects disappear", this);
new rviz_common::properties::FloatProperty("Timeout", 1.0f, "Time period (in s) in which CPM are valid and should be displayed (now - reference_time of CPM)", this);
buffer_timeout_->setMin(0);
bb_scale_ = new rviz_common::properties::FloatProperty("Scale", 1.0f, "Scale of objects", this);
bb_scale_->setMin(0.01);
Expand All @@ -56,7 +56,7 @@ CPMDisplay::CPMDisplay() {
new rviz_common::properties::BoolProperty("Metadata", true, "Show metadata as text next to objects", this);
text_color_property_ =
new rviz_common::properties::ColorProperty("Color", QColor(25, 0, 255), "Text color", show_meta_);
char_height_ = new rviz_common::properties::FloatProperty("Scale", 4.0, "Scale of text", show_meta_);
char_height_ = new rviz_common::properties::FloatProperty("Scale", 0.5, "Scale of text", show_meta_);
show_station_id_ = new rviz_common::properties::BoolProperty("StationID", true, "Show StationID", show_meta_);
show_speed_ = new rviz_common::properties::BoolProperty("Speed", true, "Show speed", show_meta_);
}
Expand Down

0 comments on commit bd43108

Please sign in to comment.