Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
MSCFModel_CACC.cpp File Reference
#include <config.h>
#include <stdio.h>
#include <iostream>
#include "MSCFModel_CACC.h"
#include <microsim/MSVehicle.h>
#include <microsim/MSLane.h>
#include <utils/common/RandHelper.h>
#include <utils/common/SUMOTime.h>
#include <utils/common/StringUtils.h>
#include <microsim/lcmodels/MSAbstractLaneChangeModel.h>
#include <math.h>
#include <microsim/MSNet.h>
Include dependency graph for MSCFModel_CACC.cpp:

Go to the source code of this file.

Macros

#define DEBUG_CACC   0
 
#define DEBUG_CACC_INSERTION_FOLLOW_SPEED   0
 
#define DEBUG_CACC_SECURE_GAP   0
 
#define DEBUG_COND   (veh->isSelected())
 
#define DEFAULT_CA_GAIN_GAP_CACC   0.45
 
#define DEFAULT_CA_GAIN_GAP_DOT_CACC   0.05
 
#define DEFAULT_EMERGENCY_OVERRIDE_THRESHOLD   2.0
 
#define DEFAULT_GC_GAIN_GAP_CACC   0.45
 
#define DEFAULT_GC_GAIN_GAP_DOT_CACC   0.0125
 
#define DEFAULT_GCC_GAIN_GAP_CACC   0.005
 
#define DEFAULT_GCC_GAIN_GAP_DOT_CACC   0.05
 
#define DEFAULT_HEADWAYTIME_ACC   1.0
 
#define DEFAULT_SC_GAIN_CACC   -0.4
 
#define DEFAULT_SC_MIN_GAP   1.66
 

Detailed Description

Author
Kallirroi Porfyri
Karagounis Vasilios
Date
Nov 2018

Definition in file MSCFModel_CACC.cpp.

Macro Definition Documentation

◆ DEBUG_CACC

#define DEBUG_CACC   0

Definition at line 46 of file MSCFModel_CACC.cpp.

◆ DEBUG_CACC_INSERTION_FOLLOW_SPEED

#define DEBUG_CACC_INSERTION_FOLLOW_SPEED   0

Definition at line 47 of file MSCFModel_CACC.cpp.

◆ DEBUG_CACC_SECURE_GAP

#define DEBUG_CACC_SECURE_GAP   0

Definition at line 48 of file MSCFModel_CACC.cpp.

◆ DEBUG_COND

#define DEBUG_COND   (veh->isSelected())

Definition at line 49 of file MSCFModel_CACC.cpp.

◆ DEFAULT_CA_GAIN_GAP_CACC

#define DEFAULT_CA_GAIN_GAP_CACC   0.45

Definition at line 62 of file MSCFModel_CACC.cpp.

◆ DEFAULT_CA_GAIN_GAP_DOT_CACC

#define DEFAULT_CA_GAIN_GAP_DOT_CACC   0.05

Definition at line 63 of file MSCFModel_CACC.cpp.

◆ DEFAULT_EMERGENCY_OVERRIDE_THRESHOLD

#define DEFAULT_EMERGENCY_OVERRIDE_THRESHOLD   2.0

Definition at line 68 of file MSCFModel_CACC.cpp.

◆ DEFAULT_GC_GAIN_GAP_CACC

#define DEFAULT_GC_GAIN_GAP_CACC   0.45

Definition at line 60 of file MSCFModel_CACC.cpp.

◆ DEFAULT_GC_GAIN_GAP_DOT_CACC

#define DEFAULT_GC_GAIN_GAP_DOT_CACC   0.0125

Definition at line 61 of file MSCFModel_CACC.cpp.

◆ DEFAULT_GCC_GAIN_GAP_CACC

#define DEFAULT_GCC_GAIN_GAP_CACC   0.005

Definition at line 58 of file MSCFModel_CACC.cpp.

◆ DEFAULT_GCC_GAIN_GAP_DOT_CACC

#define DEFAULT_GCC_GAIN_GAP_DOT_CACC   0.05

Definition at line 59 of file MSCFModel_CACC.cpp.

◆ DEFAULT_HEADWAYTIME_ACC

#define DEFAULT_HEADWAYTIME_ACC   1.0

Definition at line 64 of file MSCFModel_CACC.cpp.

◆ DEFAULT_SC_GAIN_CACC

#define DEFAULT_SC_GAIN_CACC   -0.4

Definition at line 57 of file MSCFModel_CACC.cpp.

◆ DEFAULT_SC_MIN_GAP

#define DEFAULT_SC_MIN_GAP   1.66

Definition at line 65 of file MSCFModel_CACC.cpp.