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::DriversControllerConfig Struct Reference

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

#include <drivers_controller_config.hpp>

Collaboration diagram for subsystem_controllers::DriversControllerConfig:
Collaboration graph

Public Attributes

std::string ros1_ssc_driver_name_
 
std::vector< std::string > excluded_namespace_nodes_
 List of nodes in the namespace which will not be managed by this subsystem controller. More...
 
int startup_duration_
 The time allocated for system startup in seconds. More...
 
double driver_timeout_ = 1000
 The timeout threshold for essential drivers in ms. More...
 

Friends

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

Detailed Description

Stuct containing the algorithm configuration values for the GuidanceController.

Definition at line 27 of file drivers_controller_config.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 41 of file drivers_controller_config.hpp.

42 {
43 output << "DriversControllerConfig { " << std::endl
44 << "ros1_ssc_driver_name: " << c.ros1_ssc_driver_name_ << std::endl
45 << "excluded_namespace_nodes: [ " << std::endl;
46
47 for (auto node : c.excluded_namespace_nodes_) output << node << " ";
48
49 output << "] " << std::endl << "startup_duration: " << c.startup_duration_ << std::endl;
50
51 output << "driver_timeout: " << c.driver_timeout_ << std::endl
52
53 << "}" << std::endl;
54 return output;
55 }

Member Data Documentation

◆ driver_timeout_

double subsystem_controllers::DriversControllerConfig::driver_timeout_ = 1000

◆ excluded_namespace_nodes_

std::vector<std::string> subsystem_controllers::DriversControllerConfig::excluded_namespace_nodes_

List of nodes in the namespace which will not be managed by this subsystem controller.

Definition at line 34 of file drivers_controller_config.hpp.

Referenced by subsystem_controllers::DriversControllerNode::DriversControllerNode(), and subsystem_controllers::DriversControllerNode::handle_on_configure().

◆ ros1_ssc_driver_name_

std::string subsystem_controllers::DriversControllerConfig::ros1_ssc_driver_name_

ros1 controller driver (node name) to consider required and whose failure shall result in automation abort.

Definition at line 32 of file drivers_controller_config.hpp.

Referenced by subsystem_controllers::DriversControllerNode::DriversControllerNode(), and subsystem_controllers::DriversControllerNode::handle_on_configure().

◆ startup_duration_

int subsystem_controllers::DriversControllerConfig::startup_duration_

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