CARLA
Public Member Functions | Public Attributes | Private Attributes | List of all members
carla::traffic_manager::Parameters Class Reference

#include <Parameters.h>

+ Collaboration diagram for carla::traffic_manager::Parameters:

Public Member Functions

bool GetAutoLaneChange (const ActorId &actor_id) const
 Method to query auto lane change rule for a vehicle. More...
 
bool GetCollisionDetection (const ActorId &reference_actor_id, const ActorId &other_actor_id) const
 Method to query collision avoidance rule between a pair of vehicles. More...
 
float GetDistanceToLeadingVehicle (const ActorId &actor_id) const
 Method to query distance to leading vehicle for a given vehicle. More...
 
ChangeLaneInfo GetForceLaneChange (const ActorId &actor_id)
 Method to query lane change command for a vehicle. More...
 
bool GetHybridPhysicsMode () const
 Method to retrieve hybrid physics mode. More...
 
float GetHybridPhysicsRadius () const
 Method to retrieve hybrid physics radius. More...
 
float GetKeepRightPercentage (const ActorId &actor_id)
 Method to query percentage probability of keep right rule for a vehicle. More...
 
bool GetOSMMode () const
 Method to get Open Street Map mode. More...
 
float GetPercentageIgnoreVehicles (const ActorId &actor_id) const
 Method to get % to ignore any vehicle. More...
 
float GetPercentageIgnoreWalkers (const ActorId &actor_id) const
 Method to get % to ignore any walker. More...
 
float GetPercentageRunningLight (const ActorId &actor_id) const
 Method to get % to run any traffic light. More...
 
float GetPercentageRunningSign (const ActorId &actor_id) const
 Method to get % to run any traffic light. More...
 
bool GetSynchronousMode () const
 Method to get synchronous mode. More...
 
double GetSynchronousModeTimeOutInMiliSecond () const
 Get synchronous mode time out. More...
 
float GetVehicleTargetVelocity (const ActorId &actor_id, const float speed_limit) const
 Method to query target velocity for a vehicle. More...
 
 Parameters ()
 
void SetAutoLaneChange (const ActorPtr &actor, const bool enable)
 Enable/disable automatic lane change on a vehicle. More...
 
void SetCollisionDetection (const ActorPtr &reference_actor, const ActorPtr &other_actor, const bool detect_collision)
 Method to set collision detection rules between vehicles. More...
 
void SetDistanceToLeadingVehicle (const ActorPtr &actor, const float distance)
 Method to specify how much distance a vehicle should maintain to the leading vehicle. More...
 
void SetForceLaneChange (const ActorPtr &actor, const bool direction)
 Method to force lane change on a vehicle. More...
 
void SetGlobalDistanceToLeadingVehicle (const float dist)
 Method to set the distance to leading vehicle for all registered vehicles. More...
 
void SetGlobalPercentageSpeedDifference (float const percentage)
 Set a global % decrease in velocity with respect to the speed limit. More...
 
void SetHybridPhysicsMode (const bool mode_switch)
 Method to set hybrid physics mode. More...
 
void SetHybridPhysicsRadius (const float radius)
 Method to set hybrid physics radius. More...
 
void SetKeepRightPercentage (const ActorPtr &actor, const float percentage)
 Method to set probabilistic preference to keep on the right lane. More...
 
void SetOSMMode (const bool mode_switch)
 Method to set Open Street Map mode. More...
 
void SetPercentageIgnoreVehicles (const ActorPtr &actor, const float perc)
 Method to set % to ignore any vehicle. More...
 
void SetPercentageIgnoreWalkers (const ActorPtr &actor, const float perc)
 Method to set % to ignore any vehicle. More...
 
void SetPercentageRunningLight (const ActorPtr &actor, const float perc)
 Method to set % to run any traffic light. More...
 
void SetPercentageRunningSign (const ActorPtr &actor, const float perc)
 Method to set % to run any traffic sign. More...
 
void SetPercentageSpeedDifference (const ActorPtr &actor, const float percentage)
 Set a vehicle's % decrease in velocity with respect to the speed limit. More...
 
void SetSynchronousMode (const bool mode_switch=true)
 Method to set synchronous mode. More...
 
void SetSynchronousModeTimeOutInMiliSecond (const double time)
 Set Synchronous mode time out. More...
 
 ~Parameters ()
 

Public Attributes

std::chrono::duration< double, std::milli > synchronous_time_out
 Synchronous mode time out variable. More...
 

Private Attributes

AtomicMap< ActorId, bool > auto_lane_change
 Map containing auto lane change commands. More...
 
std::atomic< float > distance_margin {2.0}
 Distance margin. More...
 
AtomicMap< ActorId, float > distance_to_leading_vehicle
 Map containing distance to leading vehicle command. More...
 
AtomicMap< ActorId, ChangeLaneInfoforce_lane_change
 Map containing force lane change commands. More...
 
float global_percentage_difference_from_limit = 0
 Global target velocity limit % difference. More...
 
std::atomic< bool > hybrid_physics_mode {false}
 Hybrid physics mode switch. More...
 
std::atomic< float > hybrid_physics_radius {70.0}
 Hybrid physics radius. More...
 
AtomicMap< ActorId, std::shared_ptr< AtomicActorSet > > ignore_collision
 Map containing a set of actors to be ignored during collision detection. More...
 
std::atomic< bool > osm_mode {true}
 Parameter specifying Open Street Map mode. More...
 
AtomicMap< ActorId, float > perc_ignore_vehicles
 Map containing % of ignoring vehicles. More...
 
AtomicMap< ActorId, float > perc_ignore_walkers
 Map containing % of ignoring walkers. More...
 
AtomicMap< ActorId, float > perc_keep_right
 Map containing % of keep right rule. More...
 
AtomicMap< ActorId, float > perc_run_traffic_light
 Map containing % of running a traffic light. More...
 
AtomicMap< ActorId, float > perc_run_traffic_sign
 Map containing % of running a traffic sign. More...
 
AtomicMap< ActorId, float > percentage_difference_from_speed_limit
 Target velocity map for individual vehicles. More...
 
std::atomic< bool > synchronous_mode {false}
 Synchronous mode switch. More...
 

Detailed Description

Definition at line 34 of file Parameters.h.

Constructor & Destructor Documentation

◆ Parameters()

carla::traffic_manager::Parameters::Parameters ( )

Set default synchronous mode time out.

Definition at line 12 of file Parameters.cpp.

References synchronous_time_out.

◆ ~Parameters()

carla::traffic_manager::Parameters::~Parameters ( )

Definition at line 18 of file Parameters.cpp.

Member Function Documentation

◆ GetAutoLaneChange()

bool carla::traffic_manager::Parameters::GetAutoLaneChange ( const ActorId actor_id) const

Method to query auto lane change rule for a vehicle.

Definition at line 204 of file Parameters.cpp.

References auto_lane_change, carla::traffic_manager::AtomicMap< Key, Value >::Contains(), and carla::traffic_manager::AtomicMap< Key, Value >::GetValue().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCollisionDetection()

bool carla::traffic_manager::Parameters::GetCollisionDetection ( const ActorId reference_actor_id,
const ActorId other_actor_id 
) const

Method to query collision avoidance rule between a pair of vehicles.

Definition at line 166 of file Parameters.cpp.

References ignore_collision.

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

+ Here is the caller graph for this function:

◆ GetDistanceToLeadingVehicle()

float carla::traffic_manager::Parameters::GetDistanceToLeadingVehicle ( const ActorId actor_id) const

Method to query distance to leading vehicle for a given vehicle.

Definition at line 215 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), distance_margin, distance_to_leading_vehicle, and carla::traffic_manager::AtomicMap< Key, Value >::GetValue().

Referenced by carla::traffic_manager::CollisionStage::GetGeodesicBoundary(), and carla::traffic_manager::CollisionStage::NegotiateCollision().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetForceLaneChange()

ChangeLaneInfo carla::traffic_manager::Parameters::GetForceLaneChange ( const ActorId actor_id)

Method to query lane change command for a vehicle.

Definition at line 178 of file Parameters.cpp.

References force_lane_change.

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

+ Here is the caller graph for this function:

◆ GetHybridPhysicsMode()

bool carla::traffic_manager::Parameters::GetHybridPhysicsMode ( ) const

Method to retrieve hybrid physics mode.

Definition at line 271 of file Parameters.cpp.

References hybrid_physics_mode.

Referenced by carla::traffic_manager::TrafficManagerLocal::Run(), and carla::traffic_manager::ALSM::Update().

+ Here is the caller graph for this function:

◆ GetHybridPhysicsRadius()

float carla::traffic_manager::Parameters::GetHybridPhysicsRadius ( ) const

Method to retrieve hybrid physics radius.

Definition at line 142 of file Parameters.cpp.

References hybrid_physics_radius.

Referenced by carla::traffic_manager::ALSM::UpdateRegisteredActorsData().

+ Here is the caller graph for this function:

◆ GetKeepRightPercentage()

float carla::traffic_manager::Parameters::GetKeepRightPercentage ( const ActorId actor_id)

Method to query percentage probability of keep right rule for a vehicle.

Definition at line 191 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), perc_keep_right, and carla::traffic_manager::AtomicMap< Key, Value >::RemoveEntry().

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetOSMMode()

bool carla::traffic_manager::Parameters::GetOSMMode ( ) const

Method to get Open Street Map mode.

Definition at line 276 of file Parameters.cpp.

References osm_mode.

Referenced by carla::traffic_manager::LocalizationStage::Update(), and carla::traffic_manager::ALSM::Update().

+ Here is the caller graph for this function:

◆ GetPercentageIgnoreVehicles()

float carla::traffic_manager::Parameters::GetPercentageIgnoreVehicles ( const ActorId actor_id) const

Method to get % to ignore any vehicle.

Definition at line 260 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), and perc_ignore_vehicles.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPercentageIgnoreWalkers()

float carla::traffic_manager::Parameters::GetPercentageIgnoreWalkers ( const ActorId actor_id) const

Method to get % to ignore any walker.

Definition at line 249 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), and perc_ignore_walkers.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPercentageRunningLight()

float carla::traffic_manager::Parameters::GetPercentageRunningLight ( const ActorId actor_id) const

Method to get % to run any traffic light.

Definition at line 227 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), and perc_run_traffic_light.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPercentageRunningSign()

float carla::traffic_manager::Parameters::GetPercentageRunningSign ( const ActorId actor_id) const

Method to get % to run any traffic light.

Definition at line 238 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), and perc_run_traffic_sign.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSynchronousMode()

bool carla::traffic_manager::Parameters::GetSynchronousMode ( ) const

Method to get synchronous mode.

Definition at line 147 of file Parameters.cpp.

References synchronous_mode.

Referenced by carla::traffic_manager::TrafficManagerLocal::Run(), carla::traffic_manager::TrafficManagerLocal::SetSynchronousMode(), carla::traffic_manager::TrafficManagerLocal::Stop(), carla::traffic_manager::TrafficManagerLocal::SynchronousTick(), and carla::traffic_manager::MotionPlanStage::Update().

+ Here is the caller graph for this function:

◆ GetSynchronousModeTimeOutInMiliSecond()

double carla::traffic_manager::Parameters::GetSynchronousModeTimeOutInMiliSecond ( ) const

Get synchronous mode time out.

Definition at line 151 of file Parameters.cpp.

References synchronous_time_out.

◆ GetVehicleTargetVelocity()

float carla::traffic_manager::Parameters::GetVehicleTargetVelocity ( const ActorId actor_id,
const float  speed_limit 
) const

Method to query target velocity for a vehicle.

Definition at line 155 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::Contains(), carla::traffic_manager::AtomicMap< Key, Value >::GetValue(), global_percentage_difference_from_limit, and percentage_difference_from_speed_limit.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAutoLaneChange()

void carla::traffic_manager::Parameters::SetAutoLaneChange ( const ActorPtr actor,
const bool  enable 
)

Enable/disable automatic lane change on a vehicle.

Definition at line 77 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), and auto_lane_change.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetAutoLaneChange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetCollisionDetection()

void carla::traffic_manager::Parameters::SetCollisionDetection ( const ActorPtr reference_actor,
const ActorPtr other_actor,
const bool  detect_collision 
)

Method to set collision detection rules between vehicles.

Definition at line 38 of file Parameters.cpp.

References ignore_collision.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetCollisionDetection().

+ Here is the caller graph for this function:

◆ SetDistanceToLeadingVehicle()

void carla::traffic_manager::Parameters::SetDistanceToLeadingVehicle ( const ActorPtr actor,
const float  distance 
)

Method to specify how much distance a vehicle should maintain to the leading vehicle.

Definition at line 83 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), and distance_to_leading_vehicle.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetDistanceToLeadingVehicle().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetForceLaneChange()

void carla::traffic_manager::Parameters::SetForceLaneChange ( const ActorPtr actor,
const bool  direction 
)

Method to force lane change on a vehicle.

Direction flag can be set to true for left and false for right.

Definition at line 64 of file Parameters.cpp.

References force_lane_change.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetForceLaneChange().

+ Here is the caller graph for this function:

◆ SetGlobalDistanceToLeadingVehicle()

void carla::traffic_manager::Parameters::SetGlobalDistanceToLeadingVehicle ( const float  dist)

Method to set the distance to leading vehicle for all registered vehicles.

Definition at line 98 of file Parameters.cpp.

References distance_margin.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetGlobalDistanceToLeadingVehicle().

+ Here is the caller graph for this function:

◆ SetGlobalPercentageSpeedDifference()

void carla::traffic_manager::Parameters::SetGlobalPercentageSpeedDifference ( float const  percentage)

Set a global % decrease in velocity with respect to the speed limit.

If less than 0, it's a % increase.

Definition at line 33 of file Parameters.cpp.

References global_percentage_difference_from_limit.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetGlobalPercentageSpeedDifference(), and carla::traffic_manager::TrafficManagerLocal::TrafficManagerLocal().

+ Here is the caller graph for this function:

◆ SetHybridPhysicsMode()

void carla::traffic_manager::Parameters::SetHybridPhysicsMode ( const bool  mode_switch)

Method to set hybrid physics mode.

Definition at line 22 of file Parameters.cpp.

References hybrid_physics_mode.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetHybridPhysicsMode().

+ Here is the caller graph for this function:

◆ SetHybridPhysicsRadius()

void carla::traffic_manager::Parameters::SetHybridPhysicsRadius ( const float  radius)

Method to set hybrid physics radius.

Definition at line 131 of file Parameters.cpp.

References hybrid_physics_radius.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetHybridPhysicsRadius().

+ Here is the caller graph for this function:

◆ SetKeepRightPercentage()

void carla::traffic_manager::Parameters::SetKeepRightPercentage ( const ActorPtr actor,
const float  percentage 
)

Method to set probabilistic preference to keep on the right lane.

Definition at line 71 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), and perc_keep_right.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetKeepRightPercentage().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetOSMMode()

void carla::traffic_manager::Parameters::SetOSMMode ( const bool  mode_switch)

Method to set Open Street Map mode.

Definition at line 136 of file Parameters.cpp.

References osm_mode.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetOSMMode().

+ Here is the caller graph for this function:

◆ SetPercentageIgnoreVehicles()

void carla::traffic_manager::Parameters::SetPercentageIgnoreVehicles ( const ActorPtr actor,
const float  perc 
)

Method to set % to ignore any vehicle.

Definition at line 117 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), carla::geom::Math::Clamp(), and perc_ignore_vehicles.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetPercentageIgnoreVehicles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPercentageIgnoreWalkers()

void carla::traffic_manager::Parameters::SetPercentageIgnoreWalkers ( const ActorPtr actor,
const float  perc 
)

Method to set % to ignore any vehicle.

Definition at line 124 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), carla::geom::Math::Clamp(), and perc_ignore_walkers.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetPercentageIgnoreWalkers().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPercentageRunningLight()

void carla::traffic_manager::Parameters::SetPercentageRunningLight ( const ActorPtr actor,
const float  perc 
)

Method to set % to run any traffic light.

Definition at line 103 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), carla::geom::Math::Clamp(), and perc_run_traffic_light.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetPercentageRunningLight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPercentageRunningSign()

void carla::traffic_manager::Parameters::SetPercentageRunningSign ( const ActorPtr actor,
const float  perc 
)

Method to set % to run any traffic sign.

Definition at line 110 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), carla::geom::Math::Clamp(), and perc_run_traffic_sign.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetPercentageRunningSign().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetPercentageSpeedDifference()

void carla::traffic_manager::Parameters::SetPercentageSpeedDifference ( const ActorPtr actor,
const float  percentage 
)

Set a vehicle's % decrease in velocity with respect to the speed limit.

If less than 0, it's a % increase.

Definition at line 27 of file Parameters.cpp.

References carla::traffic_manager::AtomicMap< Key, Value >::AddEntry(), and percentage_difference_from_speed_limit.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetPercentageSpeedDifference().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSynchronousMode()

void carla::traffic_manager::Parameters::SetSynchronousMode ( const bool  mode_switch = true)

Method to set synchronous mode.

Definition at line 90 of file Parameters.cpp.

References synchronous_mode.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetSynchronousMode().

+ Here is the caller graph for this function:

◆ SetSynchronousModeTimeOutInMiliSecond()

void carla::traffic_manager::Parameters::SetSynchronousModeTimeOutInMiliSecond ( const double  time)

Set Synchronous mode time out.

Definition at line 94 of file Parameters.cpp.

References synchronous_time_out.

Referenced by carla::traffic_manager::TrafficManagerLocal::SetSynchronousModeTimeOutInMiliSecond().

+ Here is the caller graph for this function:

Member Data Documentation

◆ auto_lane_change

AtomicMap<ActorId, bool> carla::traffic_manager::Parameters::auto_lane_change
private

Map containing auto lane change commands.

Definition at line 48 of file Parameters.h.

Referenced by GetAutoLaneChange(), and SetAutoLaneChange().

◆ distance_margin

std::atomic<float> carla::traffic_manager::Parameters::distance_margin {2.0}
private

Distance margin.

Definition at line 62 of file Parameters.h.

Referenced by GetDistanceToLeadingVehicle(), and SetGlobalDistanceToLeadingVehicle().

◆ distance_to_leading_vehicle

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::distance_to_leading_vehicle
private

Map containing distance to leading vehicle command.

Definition at line 44 of file Parameters.h.

Referenced by GetDistanceToLeadingVehicle(), and SetDistanceToLeadingVehicle().

◆ force_lane_change

AtomicMap<ActorId, ChangeLaneInfo> carla::traffic_manager::Parameters::force_lane_change
private

Map containing force lane change commands.

Definition at line 46 of file Parameters.h.

Referenced by GetForceLaneChange(), and SetForceLaneChange().

◆ global_percentage_difference_from_limit

float carla::traffic_manager::Parameters::global_percentage_difference_from_limit = 0
private

Global target velocity limit % difference.

Definition at line 40 of file Parameters.h.

Referenced by GetVehicleTargetVelocity(), and SetGlobalPercentageSpeedDifference().

◆ hybrid_physics_mode

std::atomic<bool> carla::traffic_manager::Parameters::hybrid_physics_mode {false}
private

Hybrid physics mode switch.

Definition at line 64 of file Parameters.h.

Referenced by GetHybridPhysicsMode(), and SetHybridPhysicsMode().

◆ hybrid_physics_radius

std::atomic<float> carla::traffic_manager::Parameters::hybrid_physics_radius {70.0}
private

Hybrid physics radius.

Definition at line 66 of file Parameters.h.

Referenced by GetHybridPhysicsRadius(), and SetHybridPhysicsRadius().

◆ ignore_collision

AtomicMap<ActorId, std::shared_ptr<AtomicActorSet> > carla::traffic_manager::Parameters::ignore_collision
private

Map containing a set of actors to be ignored during collision detection.

Definition at line 42 of file Parameters.h.

Referenced by GetCollisionDetection(), and SetCollisionDetection().

◆ osm_mode

std::atomic<bool> carla::traffic_manager::Parameters::osm_mode {true}
private

Parameter specifying Open Street Map mode.

Definition at line 68 of file Parameters.h.

Referenced by GetOSMMode(), and SetOSMMode().

◆ perc_ignore_vehicles

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::perc_ignore_vehicles
private

Map containing % of ignoring vehicles.

Definition at line 56 of file Parameters.h.

Referenced by GetPercentageIgnoreVehicles(), and SetPercentageIgnoreVehicles().

◆ perc_ignore_walkers

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::perc_ignore_walkers
private

Map containing % of ignoring walkers.

Definition at line 54 of file Parameters.h.

Referenced by GetPercentageIgnoreWalkers(), and SetPercentageIgnoreWalkers().

◆ perc_keep_right

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::perc_keep_right
private

Map containing % of keep right rule.

Definition at line 58 of file Parameters.h.

Referenced by GetKeepRightPercentage(), and SetKeepRightPercentage().

◆ perc_run_traffic_light

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::perc_run_traffic_light
private

Map containing % of running a traffic light.

Definition at line 50 of file Parameters.h.

Referenced by GetPercentageRunningLight(), and SetPercentageRunningLight().

◆ perc_run_traffic_sign

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::perc_run_traffic_sign
private

Map containing % of running a traffic sign.

Definition at line 52 of file Parameters.h.

Referenced by GetPercentageRunningSign(), and SetPercentageRunningSign().

◆ percentage_difference_from_speed_limit

AtomicMap<ActorId, float> carla::traffic_manager::Parameters::percentage_difference_from_speed_limit
private

Target velocity map for individual vehicles.

Definition at line 38 of file Parameters.h.

Referenced by GetVehicleTargetVelocity(), and SetPercentageSpeedDifference().

◆ synchronous_mode

std::atomic<bool> carla::traffic_manager::Parameters::synchronous_mode {false}
private

Synchronous mode switch.

Definition at line 60 of file Parameters.h.

Referenced by GetSynchronousMode(), and SetSynchronousMode().

◆ synchronous_time_out

std::chrono::duration<double, std::milli> carla::traffic_manager::Parameters::synchronous_time_out

Synchronous mode time out variable.

Definition at line 182 of file Parameters.h.

Referenced by GetSynchronousModeTimeOutInMiliSecond(), Parameters(), and SetSynchronousModeTimeOutInMiliSecond().


The documentation for this class was generated from the following files: