Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
object_visualizer::Config Struct Reference

Stuct containing the algorithm configuration values for object_visualizer. More...

#include <object_visualizer_config.hpp>

Collaboration diagram for object_visualizer::Config:
Collaboration graph

Public Attributes

bool enable_external_objects_viz = true
 If true then RViz markers will be forwarded for received carma_perception_msgs/ExternalObjectList messages. More...
 
bool enable_roadway_objects_viz = true
 If true then RViz markers will be forwarded for received carma_perception_msgs/RoadwayObstacleList messages. More...
 
uint8_t marker_shape = 2
 
std::string external_objects_viz_ns = "external_objects"
 External Objects marker rviz namespace. More...
 
std::string roadway_obstacles_viz_ns = "roadway_obstacles"
 Roadway Obstacles marker rviz namespace. More...
 
bool use_pedestrian_icon = true
 If true, pedestrians will be visualized using specialized icons/models instead of basic markers. More...
 
std::string pedestrian_icon_path = "package://object_visualizer/meshes/pedestrian.stl"
 Path to the model file for pedestrian visualization. More...
 
double pedestrian_icon_scale = 1.0
 Scale factor to apply to the pedestrian icon model. More...
 

Friends

std::ostream & operator<< (std::ostream &output, const Config &c)
 

Detailed Description

Stuct containing the algorithm configuration values for object_visualizer.

Definition at line 28 of file object_visualizer_config.hpp.

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  output,
const Config c 
)
friend

Definition at line 55 of file object_visualizer_config.hpp.

56 {
57 output << "object_visualizer::Config { " << std::endl
58 << "enable_external_objects_viz: " << c.enable_external_objects_viz << std::endl
59 << "enable_roadway_objects_viz: " << c.enable_roadway_objects_viz << std::endl
60 << "external_objects_viz_ns: " << c.external_objects_viz_ns << std::endl
61 << "roadway_obstacles_viz_ns: " << c.roadway_obstacles_viz_ns << std::endl
62 << "marker_shape: " << static_cast<int>(c.marker_shape) << std::endl
63 << "use_pedestrian_icon: " << c.use_pedestrian_icon << std::endl
64 << "pedestrian_icon_path: " << c.pedestrian_icon_path << std::endl
65 << "pedestrian_icon_scale: " << c.pedestrian_icon_scale << std::endl
66 << "}" << std::endl;
67 return output;
68 }

Member Data Documentation

◆ enable_external_objects_viz

bool object_visualizer::Config::enable_external_objects_viz = true

If true then RViz markers will be forwarded for received carma_perception_msgs/ExternalObjectList messages.

Definition at line 31 of file object_visualizer_config.hpp.

Referenced by object_visualizer::Node::Node(), object_visualizer::Node::external_objects_callback(), object_visualizer::Node::handle_on_configure(), and object_visualizer::Node::parameter_update_callback().

◆ enable_roadway_objects_viz

bool object_visualizer::Config::enable_roadway_objects_viz = true

If true then RViz markers will be forwarded for received carma_perception_msgs/RoadwayObstacleList messages.

Definition at line 34 of file object_visualizer_config.hpp.

Referenced by object_visualizer::Node::Node(), object_visualizer::Node::handle_on_configure(), object_visualizer::Node::parameter_update_callback(), and object_visualizer::Node::roadway_obstacles_callback().

◆ external_objects_viz_ns

std::string object_visualizer::Config::external_objects_viz_ns = "external_objects"

◆ marker_shape

◆ pedestrian_icon_path

std::string object_visualizer::Config::pedestrian_icon_path = "package://object_visualizer/meshes/pedestrian.stl"

◆ pedestrian_icon_scale

double object_visualizer::Config::pedestrian_icon_scale = 1.0

◆ roadway_obstacles_viz_ns

std::string object_visualizer::Config::roadway_obstacles_viz_ns = "roadway_obstacles"

◆ use_pedestrian_icon

bool object_visualizer::Config::use_pedestrian_icon = true

If true, pedestrians will be visualized using specialized icons/models instead of basic markers.

Definition at line 46 of file object_visualizer_config.hpp.

Referenced by object_visualizer::Node::Node(), object_visualizer::Node::createPedestrianMarker(), object_visualizer::Node::handle_on_configure(), and object_visualizer::Node::parameter_update_callback().


The documentation for this struct was generated from the following file: