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.
platoon_strategic_ihp::PlatoonPluginConfig Struct Reference

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

#include <platoon_config_ihp.h>

Collaboration diagram for platoon_strategic_ihp::PlatoonPluginConfig:
Collaboration graph

Public Attributes

double vehicleLength = 5.0
 
int maxPlatoonSize = 10
 
int algorithmType = 0
 
int statusMessageInterval = 100
 
int infoMessageInterval = 200
 
double maneuver_plan_dt = 15
 
double time_step = 15
 
double epislon = 0.001
 
double timeHeadway = 2.0
 
double standStillHeadway = 12.0
 
double maxAllowedJoinTimeGap = 15.0
 
double maxAllowedJoinGap = 90.0
 
double minAllowedJoinGap = 5.0
 
double longitudinalCheckThresold = 85.0
 
double desiredJoinTimeGap = 4.0
 
double desiredJoinGap = 30.0
 
int maxLeaderAbortingCalls = 2
 
double waitingStateTimeout = 25.0
 
double cmdSpeedMaxAdjustment = 10.0
 
double minAllowableHeadaway = 1.6
 
double headawayStableLowerBond = 1.7
 
double maxAllowableHeadaway = 4.0
 
double headawayStableUpperBond = 3.9
 
double minCutinGap = 22.0
 
double maxCutinGap = 22.0
 
double maxCrosstrackError = 2.0
 
double slowDownAdjuster = 0.75
 
double createGapAdjuster = 0.3
 
std::string vehicleID = "default_id"
 
double minPlatooningSpeed = 7.0
 
double ss_theta = 4.0
 Parameter sets for IHP platoon trajectory regulation algorithm. Please refer to the updated design doc for detailed parameter description. More...
 
double standstill = 2.0
 
double inter_tau = 1.5
 
double intra_tau = 0.6
 
double gap_weight = 0.9
 
bool test_front_join = false
 
bool test_cutin_join = false
 
bool allowCutinJoin = true
 
double significantDTDchange = 0.2
 
int join_index = -1
 

Friends

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

Detailed Description

Stuct containing the algorithm configuration values for the yield_pluginConfig.

Definition at line 27 of file platoon_config_ihp.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 94 of file platoon_config_ihp.h.

95 {
96 output << "PlatoonPluginConfig { " << std::endl
97 << "maxPlatoonSize: " << c.maxPlatoonSize << std::endl
98 << "algorithmType: " << c.algorithmType << std::endl
99 << "statusMessageInterval: " << c.statusMessageInterval << std::endl
100 << "infoMessageInterval: " << c.infoMessageInterval << std::endl
101 << "timeHeadway: " << c.timeHeadway << std::endl
102 << "standStillHeadway: " << c.standStillHeadway << std::endl
103 << "maxAllowedJoinTimeGap: " << c.maxAllowedJoinTimeGap << std::endl
104 << "desiredJoinTimeGap: " << c.desiredJoinTimeGap << std::endl
105 << "desiredJoinGap: " << c.desiredJoinGap << std::endl
106 << "maxLeaderAbortingCalls: " << c.maxLeaderAbortingCalls << std::endl
107 << "waitingStateTimeout: " << c.waitingStateTimeout << std::endl
108 << "cmdSpeedMaxAdjustment: " << c.cmdSpeedMaxAdjustment << std::endl
109 << "minAllowableHeadaway: " << c.minAllowableHeadaway << std::endl
110 << "maxAllowableHeadaway: " << c.maxAllowableHeadaway << std::endl
111 << "headawayStableLowerBond: " << c.headawayStableLowerBond << std::endl
112 << "headawayStableUpperBond: " << c.headawayStableUpperBond << std::endl
113 << "minCutinGap: " << c.minCutinGap << std::endl
114 << "maxCutinGap: " << c.maxCutinGap << std::endl
115 << "maxCrosstrackError: " << c.maxCrosstrackError << std::endl
116 << "vehicleID: " << c.vehicleID << std::endl
117 << "minPlatooningSpeed: " << c.minPlatooningSpeed << std::endl
118 << "allowCutinJoin: " << c.allowCutinJoin << std::endl
119 << "significantDTDchange: " << c.significantDTDchange << std::endl
120 << "join_index: " << c.join_index << std::endl
121 << "}" << std::endl; //TODO this is missing some fields
122 return output;
123 }

Member Data Documentation

◆ algorithmType

int platoon_strategic_ihp::PlatoonPluginConfig::algorithmType = 0

◆ allowCutinJoin

bool platoon_strategic_ihp::PlatoonPluginConfig::allowCutinJoin = true

◆ cmdSpeedMaxAdjustment

double platoon_strategic_ihp::PlatoonPluginConfig::cmdSpeedMaxAdjustment = 10.0

◆ createGapAdjuster

double platoon_strategic_ihp::PlatoonPluginConfig::createGapAdjuster = 0.3

◆ desiredJoinGap

◆ desiredJoinTimeGap

◆ epislon

double platoon_strategic_ihp::PlatoonPluginConfig::epislon = 0.001

Definition at line 38 of file platoon_config_ihp.h.

◆ gap_weight

double platoon_strategic_ihp::PlatoonPluginConfig::gap_weight = 0.9

◆ headawayStableLowerBond

◆ headawayStableUpperBond

◆ infoMessageInterval

int platoon_strategic_ihp::PlatoonPluginConfig::infoMessageInterval = 200

◆ inter_tau

double platoon_strategic_ihp::PlatoonPluginConfig::inter_tau = 1.5

Definition at line 80 of file platoon_config_ihp.h.

◆ intra_tau

double platoon_strategic_ihp::PlatoonPluginConfig::intra_tau = 0.6

◆ join_index

int platoon_strategic_ihp::PlatoonPluginConfig::join_index = -1

◆ longitudinalCheckThresold

◆ maneuver_plan_dt

double platoon_strategic_ihp::PlatoonPluginConfig::maneuver_plan_dt = 15

Definition at line 35 of file platoon_config_ihp.h.

◆ maxAllowableHeadaway

◆ maxAllowedJoinGap

◆ maxAllowedJoinTimeGap

◆ maxCrosstrackError

◆ maxCutinGap

◆ maxLeaderAbortingCalls

int platoon_strategic_ihp::PlatoonPluginConfig::maxLeaderAbortingCalls = 2

◆ maxPlatoonSize

◆ minAllowableHeadaway

◆ minAllowedJoinGap

◆ minCutinGap

◆ minPlatooningSpeed

◆ significantDTDchange

◆ slowDownAdjuster

double platoon_strategic_ihp::PlatoonPluginConfig::slowDownAdjuster = 0.75

Definition at line 65 of file platoon_config_ihp.h.

◆ ss_theta

double platoon_strategic_ihp::PlatoonPluginConfig::ss_theta = 4.0

Parameter sets for IHP platoon trajectory regulation algorithm. Please refer to the updated design doc for detailed parameter description.

Definition at line 78 of file platoon_config_ihp.h.

Referenced by platoon_strategic_ihp::PlatoonManager::calculateTimeHeadway(), and platoon_strategic_ihp::PlatoonManager::getIHPDesPosFollower().

◆ standstill

double platoon_strategic_ihp::PlatoonPluginConfig::standstill = 2.0

◆ standStillHeadway

◆ statusMessageInterval

int platoon_strategic_ihp::PlatoonPluginConfig::statusMessageInterval = 100

◆ test_cutin_join

◆ test_front_join

◆ time_step

◆ timeHeadway

◆ vehicleID

◆ vehicleLength

◆ waitingStateTimeout

double platoon_strategic_ihp::PlatoonPluginConfig::waitingStateTimeout = 25.0

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