CARLA
Variables
carla::traffic_manager::constants::VehicleLight Namespace Reference

Variables

static const float FOG_DENSITY_THRESHOLD = 20.0f
 
static const float HEAVY_PRECIPITATION_THRESHOLD = 80.0f
 
static const float MAX_DISTANCE_LIGHT_CHECK = 225.0f
 
static const float SUN_ALTITUDE_DEGREES_AFTER_SUNSET = 165.0f
 
static const float SUN_ALTITUDE_DEGREES_BEFORE_DAWN = 15.0f
 
static const float SUN_ALTITUDE_DEGREES_JUST_AFTER_DAWN = 35.0f
 
static const float SUN_ALTITUDE_DEGREES_JUST_BEFORE_SUNSET = 145.0f
 

Variable Documentation

◆ FOG_DENSITY_THRESHOLD

const float carla::traffic_manager::constants::VehicleLight::FOG_DENSITY_THRESHOLD = 20.0f
static

Definition at line 141 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ HEAVY_PRECIPITATION_THRESHOLD

const float carla::traffic_manager::constants::VehicleLight::HEAVY_PRECIPITATION_THRESHOLD = 80.0f
static

Definition at line 140 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ MAX_DISTANCE_LIGHT_CHECK

const float carla::traffic_manager::constants::VehicleLight::MAX_DISTANCE_LIGHT_CHECK = 225.0f
static

Definition at line 142 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ SUN_ALTITUDE_DEGREES_AFTER_SUNSET

const float carla::traffic_manager::constants::VehicleLight::SUN_ALTITUDE_DEGREES_AFTER_SUNSET = 165.0f
static

Definition at line 137 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ SUN_ALTITUDE_DEGREES_BEFORE_DAWN

const float carla::traffic_manager::constants::VehicleLight::SUN_ALTITUDE_DEGREES_BEFORE_DAWN = 15.0f
static

Definition at line 136 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ SUN_ALTITUDE_DEGREES_JUST_AFTER_DAWN

const float carla::traffic_manager::constants::VehicleLight::SUN_ALTITUDE_DEGREES_JUST_AFTER_DAWN = 35.0f
static

Definition at line 138 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().

◆ SUN_ALTITUDE_DEGREES_JUST_BEFORE_SUNSET

const float carla::traffic_manager::constants::VehicleLight::SUN_ALTITUDE_DEGREES_JUST_BEFORE_SUNSET = 145.0f
static

Definition at line 139 of file Constants.h.

Referenced by carla::traffic_manager::VehicleLightStage::Update().