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

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

#include <cooperative_lanechange_config.hpp>

Collaboration diagram for cooperative_lanechange::Config:
Collaboration graph

Public Attributes

double trajectory_time_length = 6.0
 
std::string control_plugin_name = "pure_pursuit"
 
double minimum_speed = 2.2352
 
double max_accel = 1.5
 
double minimum_lookahead_distance = 5.0
 
double maximum_lookahead_distance = 25.0
 
double minimum_lookahead_speed = 2.8
 
double maximum_lookahead_speed = 13.9
 
double lateral_accel_limit = 1.5
 
int speed_moving_average_window_size = 5
 
int curvature_moving_average_window_size = 9
 
int curvature_calc_lookahead_count = 1
 
int downsample_ratio = 1
 
double destination_range = 0.0
 
double lanechange_time_out = 6.0
 
double min_timestep = 0.1
 
double starting_downtrack_range = 5.0
 
double starting_fraction = 0.2
 
double mid_fraction = 0.5
 
double min_desired_gap = 5.0
 
double desired_time_gap = 3.0
 
int turn_downsample_ratio = 0
 
double curve_resample_step_size = 1.0
 
double back_distance = 0.0
 
double buffer_ending_downtrack = 5.0
 
std::string vehicle_id = "DEFAULT_VEHICLE_ID"
 

Friends

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

Detailed Description

Stuct containing the algorithm configuration values for cooperative_lanechange.

Definition at line 28 of file cooperative_lanechange_config.hpp.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 58 of file cooperative_lanechange_config.hpp.

59 {
60 output << "cooperative_lanechange::Config { " << std::endl
61 << "trajectory_time_length: " << c.trajectory_time_length << std::endl
62 << "control_plugin_name: " << c.control_plugin_name << std::endl
63 << "minimum_speed: " << c.minimum_speed << std::endl
64 << "max_accel: " << c.max_accel << std::endl
65 << "minimum_lookahead_distance: " << c.minimum_lookahead_distance << std::endl
66 << "maximum_lookahead_distance: " << c.maximum_lookahead_distance << std::endl
67 << "minimum_lookahead_speed: " << c.minimum_lookahead_speed << std::endl
68 << "maximum_lookahead_speed: " << c.maximum_lookahead_speed << std::endl
69 << "lateral_accel_limit: " << c.lateral_accel_limit << std::endl
70 << "speed_moving_average_window_size: " << c.speed_moving_average_window_size << std::endl
71 << "curvature_moving_average_window_size: " << c.curvature_moving_average_window_size << std::endl
72 << "curvature_calc_lookahead_count: " << c.curvature_calc_lookahead_count << std::endl
73 << "downsample_ratio: " << c.downsample_ratio << std::endl
74 << "destination_range: " << c.destination_range << std::endl
75 << "lanechange_time_out: " << c.lanechange_time_out << std::endl
76 << "min_timestep: " << c.min_timestep << std::endl
77 << "starting_downtrack_range: " << c.starting_downtrack_range << std::endl
78 << "starting_fraction: " << c.starting_fraction << std::endl
79 << "mid_fraction: " << c.mid_fraction << std::endl
80 << "min_desired_gap: " << c.min_desired_gap << std::endl
81 << "desired_time_gap: " << c.desired_time_gap << std::endl
82 << "turn_downsample_ratio: " << c.turn_downsample_ratio << std::endl
83 << "curve_resample_step_size: " << c.curve_resample_step_size << std::endl
84 << "back_distance: " << c.back_distance << std::endl
85 << "buffer_ending_downtrack: " << c.buffer_ending_downtrack << std::endl
86 << "vehicle_id: " << c.vehicle_id << std::endl
87 << "}" << std::endl;
88 return output;
89 }

Member Data Documentation

◆ back_distance

◆ buffer_ending_downtrack

◆ control_plugin_name

◆ curvature_calc_lookahead_count

◆ curvature_moving_average_window_size

◆ curve_resample_step_size

◆ desired_time_gap

◆ destination_range

◆ downsample_ratio

◆ lanechange_time_out

◆ lateral_accel_limit

◆ max_accel

◆ maximum_lookahead_distance

◆ maximum_lookahead_speed

◆ mid_fraction

◆ min_desired_gap

◆ min_timestep

◆ minimum_lookahead_distance

◆ minimum_lookahead_speed

◆ minimum_speed

◆ speed_moving_average_window_size

◆ starting_downtrack_range

◆ starting_fraction

◆ trajectory_time_length

◆ turn_downsample_ratio

◆ vehicle_id


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