Carma-platform v4.11.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 tcr_bbox_expansion_meters = 50.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"
 
std::string tim_icon_path = "package://carma_wm_ctrl/meshes/cop.obj"
 
double tim_icon_scale = 0.0025
 

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 45 of file WMBroadcasterConfig.hpp.

46 {
47 output << "WMBroadcaster::Config { " << std::endl
48 << "ack_pub_times: " << c.ack_pub_times << std::endl
49 << "max_lane_width: " << c.max_lane_width << std::endl
50 << "tcr_bbox_expansion_meters: " << c.tcr_bbox_expansion_meters << std::endl
51 << "traffic_control_request_period: " << c.traffic_control_request_period << std::endl
52 << "intersection_coord_correction.size(): " << c.intersection_coord_correction.size() << std::endl
53 << "intersection_ids_for_correction.size(): " << c.intersection_ids_for_correction.size() << std::endl
54 << "vehicle_id: " << c.vehicle_id << std::endl
55 << "participant: " << c.participant << std::endl
56 << "config_limit: " << c.config_limit << std::endl
57 << "tim_icon_path: " << c.tim_icon_path << std::endl
58 << "tim_icon_scale: " << c.tim_icon_scale << std::endl
59 << "}" << std::endl;
60 return output;
61 }

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"

◆ tcr_bbox_expansion_meters

double carma_wm_ctrl::Config::tcr_bbox_expansion_meters = 50.0

◆ tim_icon_path

std::string carma_wm_ctrl::Config::tim_icon_path = "package://carma_wm_ctrl/meshes/cop.obj"

◆ tim_icon_scale

double carma_wm_ctrl::Config::tim_icon_scale = 0.0025

◆ 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: