13 #define SQUARE(a) ((a) * (a)) 14 #define RATE(MaxY, MinY, DiffX) (((MaxY) - (MinY)) / (DiffX)) 17 namespace traffic_manager {
20 namespace Networking {
26 namespace VehicleRemoval {
33 namespace HybridMode {
40 namespace SpeedThreshold {
46 namespace PathBufferUpdate {
53 namespace WaypointSelection {
62 namespace LaneChange {
86 static const float EPSILON = 2.0f * std::numeric_limits<float>::epsilon();
92 namespace FrameMemory {
116 namespace MotionPlan {
130 static const float PI = 3.1415927f;
150 static const float DT = 0.05f;
static float const STRAIGHT_DEG
static const float SUN_ALTITUDE_DEGREES_JUST_AFTER_DAWN
static const float HORIZON_RATE
static const uint64_t BUFFER_STEP_THROUGH
static const std::vector< float > LATERAL_HIGHWAY_PARAM
static const float CRITICAL_BRAKING_MARGIN
static const float MAX_WPT_RADIANS
static const float FOLLOW_LEAD_FACTOR
static const float MAXIMUM_LANE_OBSTACLE_DISTANCE
static const float EPSILON
static const float SAFE_DISTANCE_AFTER_JUNCTION
static const uint64_t GROWTH_STEP_SIZE
static const float MAXIMUM_LANE_OBSTACLE_CURVATURE
static const unsigned short TM_DEFAULT_PORT
static const float EPSILON_RELATIVE_SPEED
static const float SQUARE_ROOT_OF_TWO
static const float MAX_JUNCTION_BLOCK_DISTANCE
static const float WALKER_TIME_EXTENSION
static const float BOUNDARY_EXTENSION_RATE
static const float COLLISION_RADIUS_MIN
static const float MAX_STEERING
static const float TL_TARGET_VELOCITY
static const std::vector< float > LATERAL_PARAM
static const float LANDMARK_DETECTION_TIME
static const float MIN_REFERENCE_DISTANCE
static const uint16_t ATTEMPTS_TO_TELEPORT
static const float MAX_START_DISTANCE
static const float INV_DT
static const float FOG_DENSITY_THRESHOLD
static const float HYBRID_MODE_DT_FL
static const float MIN_LANE_CHANGE_SPEED
static const float YIELD_TARGET_VELOCITY
static const float MAP_RESOLUTION
This file contains definitions of common data structures used in traffic manager. ...
static const float MAX_BRAKE
static const float COLLISION_RADIUS_RATE
static const float BOUNDARY_EXTENSION_MINIMUM
static const float MIN_TARGET_WAYPOINT_DISTANCE
static const float COS_10_DEGREES
static const float TARGET_WAYPOINT_TIME_HORIZON
static const float MINIMUM_HORIZON_LENGTH
static const float STOP_TARGET_VELOCITY
static const float MAX_LOCKING_EXTENSION
static const float FRICTION
static const double INV_HYBRID_DT
static const float TWO_KM
static const float MAX_STEERING_DIFF
static const double MIN_LANE_WIDTH
static const double BLOCKED_TIME_THRESHOLD
static const float MIN_WPT_DISTANCE
static const uint64_t INITIAL_SIZE
static const uint64_t MIN_TRY_COUNT
static const float INV_GROWTH_STEP_SIZE
static const float RELATIVE_APPROACH_SPEED
static const float INFINITE_DISTANCE
static const float PERC_MAX_SLOWDOWN
static const float AFTER_JUNCTION_MIN_SPEED
static const float VEL_EXT_FACTOR
static const float INV_BUFFER_STEP_THROUGH
static const float HIGHWAY_SPEED
static const double MAX_WPT_DISTANCE
#define SQUARE(a)
This file contains various constants used in traffic manager arranged into sensible namespaces for re...
static const float MAX_GEODESIC_GRID_LENGTH
static const int64_t TM_TIMEOUT
static const double DELTA_TIME_BETWEEN_DESTRUCTIONS
static const float STOPPED_VELOCITY_THRESHOLD
static const float MAX_DISTANCE_LIGHT_CHECK
static const float LOCKING_DISTANCE_PADDING
static const std::vector< float > LONGITUDIAL_HIGHWAY_PARAM
static float const Z_DELTA
static const float MIN_FOLLOW_LEAD_DISTANCE
static const float VERTICAL_OVERLAP_THRESHOLD
static const float MIN_VELOCITY_COLL_RADIUS
static const std::vector< float > LONGITUDIAL_PARAM
static const float MIN_SAFE_INTERVAL_LENGTH
static const double HYBRID_MODE_DT
static const float MINIMUM_LANE_CHANGE_DISTANCE
static const float INITIAL_PERCENTAGE_SPEED_DIFFERENCE
static const float SUN_ALTITUDE_DEGREES_JUST_BEFORE_SUNSET
static const float FIFTYPERC
static const float SUN_ALTITUDE_DEGREES_AFTER_SUNSET
static const float SUN_ALTITUDE_DEGREES_BEFORE_DAWN
static const float MIN_JUNCTION_LENGTH
static const float OVERLAP_THRESHOLD
static const double EXIT_JUNCTION_THRESHOLD
static const float INV_MAP_RESOLUTION
static const float PHYSICS_RADIUS
static const double MINIMUM_STOP_TIME
static const double RED_TL_BLOCKED_TIME_THRESHOLD
static const float GRAVITY
static const float MAX_THROTTLE
static const float HIGH_SPEED_HORIZON_RATE
static const float JUNCTION_LOOK_AHEAD
static const float HEAVY_PRECIPITATION_THRESHOLD
static const float COLLISION_RADIUS_STOP
static const float INTER_LANE_CHANGE_DISTANCE