12 #ifdef LIBCARLA_INCLUDED_FROM_UE4 16 #endif // LIBCARLA_INCLUDED_FROM_UE4 18 #include <boost/optional.hpp> 53 max_substep_delta_time, max_substeps, max_culling_distance, deterministic_ragdolls,
54 tile_stream_distance, actor_active_distance, spectator_as_ego);
63 bool synchronous_mode,
64 bool no_rendering_mode,
65 double fixed_delta_seconds = 0.0,
66 bool substepping =
true,
67 double max_substep_delta_time = 0.01,
68 int max_substeps = 10,
69 float max_culling_distance = 0.0f,
70 bool deterministic_ragdolls =
true,
71 float tile_stream_distance = 3000.f,
72 float actor_active_distance = 2000.f,
73 bool spectator_as_ego =
true)
74 : synchronous_mode(synchronous_mode),
75 no_rendering_mode(no_rendering_mode),
77 fixed_delta_seconds > 0.0 ? fixed_delta_seconds : boost::optional<double>{}),
107 return !(*
this == rhs);
114 #ifdef LIBCARLA_INCLUDED_FROM_UE4 129 constexpr
float CMTOM = 1.f/100.f;
135 constexpr
float MTOCM = 100.f;
139 if (fixed_delta_seconds.has_value()) {
154 #endif // LIBCARLA_INCLUDED_FROM_UE4
MSGPACK_DEFINE_ARRAY(synchronous_mode, no_rendering_mode, fixed_delta_seconds, substepping, max_substep_delta_time, max_substeps, max_culling_distance, deterministic_ragdolls, tile_stream_distance, actor_active_distance, spectator_as_ego)
EpisodeSettings()=default
float TileStreamingDistance
float ActorActiveDistance
This file contains definitions of common data structures used in traffic manager. ...
boost::optional< double > fixed_delta_seconds
bool operator!=(const EpisodeSettings &rhs) const
double max_substep_delta_time
bool deterministic_ragdolls
float actor_active_distance
double MaxSubstepDeltaTime
bool bDeterministicRagdolls
TOptional< double > FixedDeltaSeconds
float tile_stream_distance
bool operator==(const EpisodeSettings &rhs) const
float max_culling_distance
EpisodeSettings(bool synchronous_mode, bool no_rendering_mode, double fixed_delta_seconds=0.0, bool substepping=true, double max_substep_delta_time=0.01, int max_substeps=10, float max_culling_distance=0.0f, bool deterministic_ragdolls=true, float tile_stream_distance=3000.f, float actor_active_distance=2000.f, bool spectator_as_ego=true)