Eclipse SUMO - Simulation of Urban MObility
CC_Const.h File Reference
#include <config.h>
#include <string>
#include <sstream>
Include dependency graph for CC_Const.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Plexe::CCDataHeader
 struct used as header for generic data passing to this model through traci More...
 
struct  Plexe::VEHICLE_DATA
 

Namespaces

 Plexe
 

Macros

#define CC_ENGINE_MODEL_FOLM   0x00
 
#define CC_ENGINE_MODEL_REALISTIC   0x01
 
#define CC_PAR_CACC_C1   "ccc1"
 
#define CC_PAR_CACC_OMEGA_N   "ccon"
 
#define CC_PAR_CACC_XI   "ccxi"
 
#define CC_PAR_ENGINE_TAU   "cctau"
 
#define CC_PAR_FLATBED_D   "ccfd"
 
#define CC_PAR_FLATBED_H   "ccfh"
 
#define CC_PAR_FLATBED_KA   "ccfka"
 
#define CC_PAR_FLATBED_KP   "ccfkp"
 
#define CC_PAR_FLATBED_KV   "ccfkv"
 
#define CC_PAR_PLATOON_SIZE   "ccps"
 
#define CC_PAR_PLOEG_H   "ccph"
 
#define CC_PAR_PLOEG_KD   "ccpkd"
 
#define CC_PAR_PLOEG_KP   "ccpkp"
 
#define CC_PAR_UMAX   "ccumax"
 
#define CC_PAR_UMIN   "ccumin"
 
#define CC_PAR_VEHICLE_DATA   "ccvd"
 
#define CC_PAR_VEHICLE_ENGINE_MODEL   "ccem"
 
#define CC_PAR_VEHICLE_MODEL   "ccvm"
 
#define CC_PAR_VEHICLE_POSITION   "ccvp"
 
#define CC_PAR_VEHICLES_FILE   "ccvf"
 
#define DEFAULT_NOTRACI_LC   0b1010101010
 
#define ENGINE_PAR_DT   "dt_s"
 
#define ENGINE_PAR_VEHICLE   "vehicle"
 
#define ENGINE_PAR_XMLFILE   "xmlFile"
 
#define FIX_LC   0b1000000000
 TraCI modes for lane changing. More...
 
#define FOLM_PAR_DT   "dt_s"
 
#define FOLM_PAR_TAU   "tau_s"
 
#define MAX_N_CARS   8
 
#define PAR_ACC_ACCELERATION   "ccacc"
 
#define PAR_ACC_HEADWAY_TIME   "ccaht"
 
#define PAR_ACTIVE_CONTROLLER   "ccac"
 
#define PAR_ADD_MEMBER   "ccam"
 
#define PAR_CACC_SPACING   "ccsp"
 
#define PAR_CC_DESIRED_SPEED   "ccds"
 
#define PAR_CRASHED   "cccr"
 
#define PAR_DISTANCE_FROM_BEGIN   "ccdfb"
 
#define PAR_DISTANCE_TO_END   "ccdte"
 
#define PAR_ENABLE_AUTO_LANE_CHANGE   "ccalc"
 
#define PAR_ENGINE_DATA   "cced"
 
#define PAR_FIXED_ACCELERATION   "ccfa"
 
#define PAR_FRONT_FAKE_DATA   "ccffd"
 
#define PAR_LANES_COUNT   "cclc"
 
#define PAR_LEADER_FAKE_DATA   "cclfd"
 
#define PAR_LEADER_SPEED_AND_ACCELERATION   "cclsa"
 
#define PAR_PLATOON_FIXED_LANE   "ccpfl"
 
#define PAR_PRECEDING_SPEED_AND_ACCELERATION   "ccpsa"
 
#define PAR_RADAR_DATA   "ccrd"
 
#define PAR_REMOVE_MEMBER   "ccrm"
 
#define PAR_SPEED_AND_ACCELERATION   "ccsa"
 
#define PAR_USE_AUTO_FEEDING   "ccaf"
 
#define PAR_USE_CONTROLLER_ACCELERATION   "ccca"
 
#define PAR_USE_PREDICTION   "ccup"
 

Enumerations

enum  Plexe::ACTIVE_CONTROLLER {
  Plexe::DRIVER = 0 , Plexe::ACC = 1 , Plexe::CACC = 2 , Plexe::FAKED_CACC = 3 ,
  Plexe::PLOEG = 4 , Plexe::CONSENSUS = 5 , Plexe::FLATBED = 6
}
 Determines the currently active controller, i.e., ACC, CACC, or the driver. In future we might need to switch off the automatic controller and leave the control to the mobility model which reproduces a human driver. More...
 
enum  Plexe::PLATOONING_LANE_CHANGE_ACTION { Plexe::DRIVER_CHOICE = 0 , Plexe::STAY_IN_CURRENT_LANE = 3 , Plexe::MOVE_TO_FIXED_LANE = 4 }
 action that might be requested by the platooning management More...
 

Detailed Description

Author
Michele Segata
Date
Fri, 11 Apr 2014

Definition in file CC_Const.h.

Macro Definition Documentation

◆ CC_ENGINE_MODEL_FOLM

#define CC_ENGINE_MODEL_FOLM   0x00

Definition at line 79 of file CC_Const.h.

◆ CC_ENGINE_MODEL_REALISTIC

#define CC_ENGINE_MODEL_REALISTIC   0x01

Definition at line 80 of file CC_Const.h.

◆ CC_PAR_CACC_C1

#define CC_PAR_CACC_C1   "ccc1"

Definition at line 97 of file CC_Const.h.

◆ CC_PAR_CACC_OMEGA_N

#define CC_PAR_CACC_OMEGA_N   "ccon"

Definition at line 96 of file CC_Const.h.

◆ CC_PAR_CACC_XI

#define CC_PAR_CACC_XI   "ccxi"

Definition at line 95 of file CC_Const.h.

◆ CC_PAR_ENGINE_TAU

#define CC_PAR_ENGINE_TAU   "cctau"

Definition at line 98 of file CC_Const.h.

◆ CC_PAR_FLATBED_D

#define CC_PAR_FLATBED_D   "ccfd"

Definition at line 111 of file CC_Const.h.

◆ CC_PAR_FLATBED_H

#define CC_PAR_FLATBED_H   "ccfh"

Definition at line 110 of file CC_Const.h.

◆ CC_PAR_FLATBED_KA

#define CC_PAR_FLATBED_KA   "ccfka"

Definition at line 107 of file CC_Const.h.

◆ CC_PAR_FLATBED_KP

#define CC_PAR_FLATBED_KP   "ccfkp"

Definition at line 109 of file CC_Const.h.

◆ CC_PAR_FLATBED_KV

#define CC_PAR_FLATBED_KV   "ccfkv"

Definition at line 108 of file CC_Const.h.

◆ CC_PAR_PLATOON_SIZE

#define CC_PAR_PLATOON_SIZE   "ccps"

Definition at line 92 of file CC_Const.h.

◆ CC_PAR_PLOEG_H

#define CC_PAR_PLOEG_H   "ccph"

Definition at line 103 of file CC_Const.h.

◆ CC_PAR_PLOEG_KD

#define CC_PAR_PLOEG_KD   "ccpkd"

Definition at line 105 of file CC_Const.h.

◆ CC_PAR_PLOEG_KP

#define CC_PAR_PLOEG_KP   "ccpkp"

Definition at line 104 of file CC_Const.h.

◆ CC_PAR_UMAX

#define CC_PAR_UMAX   "ccumax"

Definition at line 101 of file CC_Const.h.

◆ CC_PAR_UMIN

#define CC_PAR_UMIN   "ccumin"

Definition at line 100 of file CC_Const.h.

◆ CC_PAR_VEHICLE_DATA

#define CC_PAR_VEHICLE_DATA   "ccvd"

Definition at line 90 of file CC_Const.h.

◆ CC_PAR_VEHICLE_ENGINE_MODEL

#define CC_PAR_VEHICLE_ENGINE_MODEL   "ccem"

Definition at line 113 of file CC_Const.h.

◆ CC_PAR_VEHICLE_MODEL

#define CC_PAR_VEHICLE_MODEL   "ccvm"

Definition at line 115 of file CC_Const.h.

◆ CC_PAR_VEHICLE_POSITION

#define CC_PAR_VEHICLE_POSITION   "ccvp"

Definition at line 91 of file CC_Const.h.

◆ CC_PAR_VEHICLES_FILE

#define CC_PAR_VEHICLES_FILE   "ccvf"

Definition at line 116 of file CC_Const.h.

◆ DEFAULT_NOTRACI_LC

#define DEFAULT_NOTRACI_LC   0b1010101010

Definition at line 41 of file CC_Const.h.

◆ ENGINE_PAR_DT

#define ENGINE_PAR_DT   "dt_s"

Definition at line 88 of file CC_Const.h.

◆ ENGINE_PAR_VEHICLE

#define ENGINE_PAR_VEHICLE   "vehicle"

Definition at line 86 of file CC_Const.h.

◆ ENGINE_PAR_XMLFILE

#define ENGINE_PAR_XMLFILE   "xmlFile"

Definition at line 87 of file CC_Const.h.

◆ FIX_LC

#define FIX_LC   0b1000000000

TraCI modes for lane changing.

Definition at line 40 of file CC_Const.h.

◆ FOLM_PAR_DT

#define FOLM_PAR_DT   "dt_s"

Definition at line 84 of file CC_Const.h.

◆ FOLM_PAR_TAU

#define FOLM_PAR_TAU   "tau_s"

Definition at line 83 of file CC_Const.h.

◆ MAX_N_CARS

#define MAX_N_CARS   8

Definition at line 77 of file CC_Const.h.

◆ PAR_ACC_ACCELERATION

#define PAR_ACC_ACCELERATION   "ccacc"

Definition at line 122 of file CC_Const.h.

◆ PAR_ACC_HEADWAY_TIME

#define PAR_ACC_HEADWAY_TIME   "ccaht"

Definition at line 167 of file CC_Const.h.

◆ PAR_ACTIVE_CONTROLLER

#define PAR_ACTIVE_CONTROLLER   "ccac"

Definition at line 146 of file CC_Const.h.

◆ PAR_ADD_MEMBER

#define PAR_ADD_MEMBER   "ccam"

Definition at line 179 of file CC_Const.h.

◆ PAR_CACC_SPACING

#define PAR_CACC_SPACING   "ccsp"

Definition at line 119 of file CC_Const.h.

◆ PAR_CC_DESIRED_SPEED

#define PAR_CC_DESIRED_SPEED   "ccds"

Definition at line 143 of file CC_Const.h.

◆ PAR_CRASHED

#define PAR_CRASHED   "cccr"

Definition at line 125 of file CC_Const.h.

◆ PAR_DISTANCE_FROM_BEGIN

#define PAR_DISTANCE_FROM_BEGIN   "ccdfb"

Definition at line 161 of file CC_Const.h.

◆ PAR_DISTANCE_TO_END

#define PAR_DISTANCE_TO_END   "ccdte"

Definition at line 158 of file CC_Const.h.

◆ PAR_ENABLE_AUTO_LANE_CHANGE

#define PAR_ENABLE_AUTO_LANE_CHANGE   "ccalc"

Definition at line 183 of file CC_Const.h.

◆ PAR_ENGINE_DATA

#define PAR_ENGINE_DATA   "cced"

Definition at line 170 of file CC_Const.h.

◆ PAR_FIXED_ACCELERATION

#define PAR_FIXED_ACCELERATION   "ccfa"

Definition at line 128 of file CC_Const.h.

◆ PAR_FRONT_FAKE_DATA

#define PAR_FRONT_FAKE_DATA   "ccffd"

Definition at line 155 of file CC_Const.h.

◆ PAR_LANES_COUNT

#define PAR_LANES_COUNT   "cclc"

Definition at line 140 of file CC_Const.h.

◆ PAR_LEADER_FAKE_DATA

#define PAR_LEADER_FAKE_DATA   "cclfd"

Definition at line 154 of file CC_Const.h.

◆ PAR_LEADER_SPEED_AND_ACCELERATION

#define PAR_LEADER_SPEED_AND_ACCELERATION   "cclsa"

Definition at line 134 of file CC_Const.h.

◆ PAR_PLATOON_FIXED_LANE

#define PAR_PLATOON_FIXED_LANE   "ccpfl"

Definition at line 186 of file CC_Const.h.

◆ PAR_PRECEDING_SPEED_AND_ACCELERATION

#define PAR_PRECEDING_SPEED_AND_ACCELERATION   "ccpsa"

Definition at line 164 of file CC_Const.h.

◆ PAR_RADAR_DATA

#define PAR_RADAR_DATA   "ccrd"

Definition at line 149 of file CC_Const.h.

◆ PAR_REMOVE_MEMBER

#define PAR_REMOVE_MEMBER   "ccrm"

Definition at line 180 of file CC_Const.h.

◆ PAR_SPEED_AND_ACCELERATION

#define PAR_SPEED_AND_ACCELERATION   "ccsa"

Definition at line 131 of file CC_Const.h.

◆ PAR_USE_AUTO_FEEDING

#define PAR_USE_AUTO_FEEDING   "ccaf"

Definition at line 173 of file CC_Const.h.

◆ PAR_USE_CONTROLLER_ACCELERATION

#define PAR_USE_CONTROLLER_ACCELERATION   "ccca"

Definition at line 137 of file CC_Const.h.

◆ PAR_USE_PREDICTION

#define PAR_USE_PREDICTION   "ccup"

Definition at line 176 of file CC_Const.h.