|
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) (((MaxY) - (MinY)) / (DiffX)) |
| #define | SQUARE(a) ((a) * (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 (dormant on a large map) 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 | |||
| ) | (((MaxY) - (MinY)) / (DiffX)) |
Definition at line 15 of file Constants.h.
| #define SQUARE | ( | a | ) | ((a) * (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.