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.
subsystem_controllers::LocalizationControllerConfig Struct Reference

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

#include <localization_controller_config.hpp>

Collaboration diagram for subsystem_controllers::LocalizationControllerConfig:
Collaboration graph

Public Attributes

std::vector< std::string > sensor_nodes
 sensor_nodes More...
 
std::unordered_map< std::vector< SensorBooleanStatus >, SensorAlertStatus, VectorHashsensor_fault_map
 

Friends

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

Detailed Description

Stuct containing the algorithm configuration values for the BaseSubsystemController.

Definition at line 45 of file localization_controller_config.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 55 of file localization_controller_config.hpp.

56 {
57
58 output << "LocalizationControllerConfig { " << std::endl
59 << "sensor_nodes: [ ";
60
61 for (auto node : c.sensor_nodes)
62 output << node << ", ";
63
64 output << "] " << std::endl;
65
66 output << "sensor_fault_map: [ ";
67
68 for (auto const& pair: c.sensor_fault_map) {
69 output << "{ ";
70
71 for (auto const& status : pair.first) {
72 output << static_cast<std::underlying_type<SensorBooleanStatus>::type>(status) << ", ";
73 }
74
75 output << ": " << static_cast<std::underlying_type<SensorAlertStatus>::type>(pair.second) << " }" << std::endl;
76 }
77
78 output << "] " << std::endl
79 << "}" << std::endl;
80 return output;
81 }

Member Data Documentation

◆ sensor_fault_map

◆ sensor_nodes


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