|
CARLA
|
#include <chrono>#include <limits>#include <stdint.h>#include <iostream>#include <vector>Go to the source code of this file.
Macros | |
| #define | RATE(MaxY, MinY, DiffX) |
| #define | SQUARE(a) |
| This file contains various constants used in traffic manager arranged into sensible namespaces for re-usability across different files. | |
Functions | |
| bool | carla::traffic_manager::constants::WorldInfoRefresh::IsBatchSyncDue (const uint64_t unwaited_batches, const uint64_t limit) |
| bool | carla::traffic_manager::constants::WorldInfoRefresh::IsEarlyRefreshDue (const bool refreshed_this_step, const bool missing_from_the_last_refresh) |
| A vehicle the server already omitted from a fresh list must not re-arm the unscheduled read on every other step. | |
| bool | carla::traffic_manager::constants::WorldInfoRefresh::IsRefreshDue (const double now, const double last, const double period) |
| Also true when the clock jumps backwards (new episode) or on NaN, so an unusable clock refreshes rather than pins the cache for ever. | |
| #define RATE | ( | MaxY, | |
| MinY, | |||
| DiffX ) |
Definition at line 15 of file Constants.h.
| #define SQUARE | ( | a | ) |
This file contains various constants used in traffic manager arranged into sensible namespaces for re-usability across different files.
Definition at line 14 of file Constants.h.
Referenced by carla::traffic_manager::LocalizationStage::AssignLaneChange(), carla::traffic_manager::LocalizationStage::ExtendAndFindSafeSpace(), carla::traffic_manager::CollisionStage::GetGeodesicBoundary(), carla::traffic_manager::CollisionStage::NegotiateCollision(), carla::traffic_manager::MotionPlanStage::SafeAfterJunction(), carla::traffic_manager::CollisionStage::Update(), carla::traffic_manager::LocalizationStage::Update(), carla::traffic_manager::ALSM::UpdateIdleTime(), and carla::traffic_manager::ALSM::UpdateRegisteredActorsData().