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.
carma_wm_ctrl::Config Struct Reference

Config struct. More...

#include <WMBroadcasterConfig.hpp>

Collaboration diagram for carma_wm_ctrl::Config:
Collaboration graph

Public Attributes

int ack_pub_times = 1
 
double max_lane_width = 4.0
 
double traffic_control_request_period = 1.0
 
std::vector< double > intersection_coord_correction = {}
 
std::vector< int64_t > intersection_ids_for_correction = {}
 
double config_limit = 6.67
 
std::string vehicle_id = "CARMA"
 
std::string participant = "vehicle:car"
 

Friends

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

Detailed Description

Config struct.

Definition at line 28 of file WMBroadcasterConfig.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 40 of file WMBroadcasterConfig.hpp.

41 {
42 output << "WMBroadcaster::Config { " << std::endl
43 << "ack_pub_times: " << c.ack_pub_times << std::endl
44 << "max_lane_width: " << c.max_lane_width << std::endl
45 << "traffic_control_request_period: " << c.traffic_control_request_period << std::endl
46 << "intersection_coord_correction.size(): " << c.intersection_coord_correction.size() << std::endl
47 << "intersection_ids_for_correction.size(): " << c.intersection_ids_for_correction.size() << std::endl
48 << "vehicle_id: " << c.vehicle_id << std::endl
49 << "participant: " << c.participant << std::endl
50 << "config_limit: " << c.config_limit << std::endl
51 << "}" << std::endl;
52 return output;
53 }

Member Data Documentation

◆ ack_pub_times

int carma_wm_ctrl::Config::ack_pub_times = 1

◆ config_limit

double carma_wm_ctrl::Config::config_limit = 6.67

◆ intersection_coord_correction

std::vector<double> carma_wm_ctrl::Config::intersection_coord_correction = {}

◆ intersection_ids_for_correction

std::vector<int64_t> carma_wm_ctrl::Config::intersection_ids_for_correction = {}

◆ max_lane_width

double carma_wm_ctrl::Config::max_lane_width = 4.0

◆ participant

std::string carma_wm_ctrl::Config::participant = "vehicle:car"

◆ traffic_control_request_period

◆ vehicle_id

std::string carma_wm_ctrl::Config::vehicle_id = "CARMA"

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