Eclipse SUMO - Simulation of Urban MObility
CC_VehicleVariables::FAKE_CONTROLLER_DATA Struct Reference

represent the set of fake data which is sent to the controller in order to automatically make the car move to a precise position before joining the platoon. we expect to get from the upper application the data that the CACC needs, i.e.: More...

#include <CC_VehicleVariables.h>

Collaboration diagram for CC_VehicleVariables::FAKE_CONTROLLER_DATA:

Data Fields

double frontAcceleration
 
double frontControllerAcceleration
 
double frontDistance
 
double frontSpeed
 
double leaderAcceleration
 
double leaderControllerAcceleration
 
double leaderSpeed
 

Detailed Description

represent the set of fake data which is sent to the controller in order to automatically make the car move to a precise position before joining the platoon. we expect to get from the upper application the data that the CACC needs, i.e.:

  • front distance, front speed and front vehicle acceleration: this information regards the car that the vehicle joining the platoon will have directly in front. this data might be real or might be fake: for example, if the platoon management algorithm decides to set the vehicle as the new leader, there won't be a car in front, and the fake data will be used only for positioning. in the case of fake data, acceleration must be set to 0
  • leader front speed and acceleration: this information is the same as previously described for vehicle in front, but regards the leader. again, if the vehicle is being set as the new leader, this data might be fake data

Definition at line 54 of file CC_VehicleVariables.h.

Field Documentation

◆ frontAcceleration

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::frontAcceleration

◆ frontControllerAcceleration

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::frontControllerAcceleration

◆ frontDistance

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::frontDistance

◆ frontSpeed

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::frontSpeed

◆ leaderAcceleration

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::leaderAcceleration

◆ leaderControllerAcceleration

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::leaderControllerAcceleration

◆ leaderSpeed

double CC_VehicleVariables::FAKE_CONTROLLER_DATA::leaderSpeed

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