Skip to content

Commit

Permalink
feat: enable some options for object visualization (autowarefoundatio…
Browse files Browse the repository at this point in the history
…n#3907)

Signed-off-by: tomoya.kimura <[email protected]>
  • Loading branch information
tkimura4 authored Jun 6, 2023
1 parent 922ec90 commit abbf81e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ class AUTOWARE_AUTO_PERCEPTION_RVIZ_PLUGIN_PUBLIC ObjectPolygonDisplayBase
m_default_topic{default_topic}
{
m_display_type_property = new rviz_common::properties::EnumProperty(
"Polygon Type", "3d", "Type of the polygon to display object.");
"Polygon Type", "3d", "Type of the polygon to display object.", this);
// Option values here must correspond to indices in palette_textures_ array in onInitialize()
// below.
m_display_type_property->addOption("3d", 0);
m_display_type_property->addOption("2d", 1);
m_display_type_property->addOption("Disable", 2);
m_simple_visualize_mode_property = new rviz_common::properties::EnumProperty(
"Visualization Type", "Normal", "Simplicity of the polygon to display object.");
"Visualization Type", "Normal", "Simplicity of the polygon to display object.", this);
m_simple_visualize_mode_property->addOption("Normal", 0);
m_simple_visualize_mode_property->addOption("Simple", 1);
// iterate over default values to create and initialize the properties.
Expand Down

0 comments on commit abbf81e

Please sign in to comment.