Fixed model geometry and C/C++ local transport units, not runtime settings. More...
#include <stdint.h>

Go to the source code of this file.
Macros | |
| #define | DIPLA_GRID_SIDE 51U |
| #define | DIPLA_FIELD_EXTENT_M 100.0 |
| #define | DIPLA_GRID_STEP_M (DIPLA_FIELD_EXTENT_M / (DIPLA_GRID_SIDE - 1U)) |
| #define | DIPLA_WAYPOINT_COUNT 8U |
| #define | DIPLA_COORDINATE_COUNT 3U |
| #define | DIPLA_MAP_CHANNEL_COUNT 3U |
| #define | DIPLA_DIFFUSION_STEPS 20U |
| #define | DIPLA_MODEL_Z_MIN_M 10.0 |
| #define | DIPLA_MODEL_Z_MAX_M 40.0 |
| #define | DIPLA_DEMO_HEIGHT_MM 2000 |
| #define | DIPLA_FLIGHT_HEIGHT_MIN_MM 200 |
| #define | DIPLA_FLIGHT_HEIGHT_MAX_MM 40000 |
| #define | DIPLA_HEIGHT_TOLERANCE_M 0.75 |
| #define | DIPLA_MM_PER_M 1000.0 |
| #define | DIPLA_GEO_UNITS_PER_DEGREE 10000000.0 |
| #define | DIPLA_AGL_UNITS_PER_M 256.0 |
| #define | DIPLA_LATITUDE_LIMIT 900000000 |
| #define | DIPLA_LONGITUDE_LIMIT 1800000000 |
| #define | DIPLA_SLOT_BITS 3U |
| #define | DIPLA_SLOT_MASK (DIPLA_WAYPOINT_COUNT - 1U) |
| #define | DIPLA_MAX_GENERATION ((uint32_t)INT32_MAX >> DIPLA_SLOT_BITS) |
Detailed Description
Fixed model geometry and C/C++ local transport units, not runtime settings.
Definition in file dipla_contract.h.
Macro Definition Documentation
◆ DIPLA_AGL_UNITS_PER_M
| #define DIPLA_AGL_UNITS_PER_M 256.0 |
Q8 AGL integer units per metre.
Definition at line 53 of file dipla_contract.h.
◆ DIPLA_COORDINATE_COUNT
| #define DIPLA_COORDINATE_COUNT 3U |
XYZ coordinate count, independent of map channels.
Definition at line 33 of file dipla_contract.h.
◆ DIPLA_DEMO_HEIGHT_MM
| #define DIPLA_DEMO_HEIGHT_MM 2000 |
Fixed mission experiment height; not the model altitude normalization.
Definition at line 43 of file dipla_contract.h.
◆ DIPLA_DIFFUSION_STEPS
| #define DIPLA_DIFFUSION_STEPS 20U |
Complete reverse-diffusion step count for the supported export.
Definition at line 37 of file dipla_contract.h.
◆ DIPLA_FIELD_EXTENT_M
| #define DIPLA_FIELD_EXTENT_M 100.0 |
Supported square field extent in metres.
Definition at line 27 of file dipla_contract.h.
◆ DIPLA_FLIGHT_HEIGHT_MAX_MM
| #define DIPLA_FLIGHT_HEIGHT_MAX_MM 40000 |
Definition at line 45 of file dipla_contract.h.
◆ DIPLA_FLIGHT_HEIGHT_MIN_MM
| #define DIPLA_FLIGHT_HEIGHT_MIN_MM 200 |
Definition at line 44 of file dipla_contract.h.
◆ DIPLA_GEO_UNITS_PER_DEGREE
| #define DIPLA_GEO_UNITS_PER_DEGREE 10000000.0 |
Geographic integer units per degree.
Definition at line 51 of file dipla_contract.h.
◆ DIPLA_GRID_SIDE
| #define DIPLA_GRID_SIDE 51U |
Supported model grid side; generic numerical grids remain independent.
Definition at line 25 of file dipla_contract.h.
◆ DIPLA_GRID_STEP_M
| #define DIPLA_GRID_STEP_M (DIPLA_FIELD_EXTENT_M / (DIPLA_GRID_SIDE - 1U)) |
Uniform production lattice spacing in metres.
Definition at line 29 of file dipla_contract.h.
◆ DIPLA_HEIGHT_TOLERANCE_M
| #define DIPLA_HEIGHT_TOLERANCE_M 0.75 |
Accepted deviation from the fixed experiment height in metres.
Definition at line 47 of file dipla_contract.h.
◆ DIPLA_LATITUDE_LIMIT
| #define DIPLA_LATITUDE_LIMIT 900000000 |
Maximum absolute latitude in geographic integer units.
Definition at line 55 of file dipla_contract.h.
◆ DIPLA_LONGITUDE_LIMIT
| #define DIPLA_LONGITUDE_LIMIT 1800000000 |
Maximum absolute longitude in geographic integer units.
Definition at line 57 of file dipla_contract.h.
◆ DIPLA_MAP_CHANNEL_COUNT
| #define DIPLA_MAP_CHANNEL_COUNT 3U |
Mean, variance and position-marker map channels.
Definition at line 35 of file dipla_contract.h.
◆ DIPLA_MAX_GENERATION
| #define DIPLA_MAX_GENERATION ((uint32_t)INT32_MAX >> DIPLA_SLOT_BITS) |
Largest generation that preserves a nonnegative signed metric.
Definition at line 63 of file dipla_contract.h.
◆ DIPLA_MM_PER_M
| #define DIPLA_MM_PER_M 1000.0 |
Millimetres per metre.
Definition at line 49 of file dipla_contract.h.
◆ DIPLA_MODEL_Z_MAX_M
| #define DIPLA_MODEL_Z_MAX_M 40.0 |
Training-time altitude normalization upper bound in metres.
Definition at line 41 of file dipla_contract.h.
◆ DIPLA_MODEL_Z_MIN_M
| #define DIPLA_MODEL_Z_MIN_M 10.0 |
Training-time altitude normalization lower bound in metres.
Definition at line 39 of file dipla_contract.h.
◆ DIPLA_SLOT_BITS
| #define DIPLA_SLOT_BITS 3U |
Low bits reserved for a legacy reply's zero-based route slot.
Definition at line 59 of file dipla_contract.h.
◆ DIPLA_SLOT_MASK
| #define DIPLA_SLOT_MASK (DIPLA_WAYPOINT_COUNT - 1U) |
Legacy metric slot mask.
Definition at line 61 of file dipla_contract.h.
◆ DIPLA_WAYPOINT_COUNT
| #define DIPLA_WAYPOINT_COUNT 8U |
Ordered route slots; changing this requires a new model and transport contract.
Definition at line 31 of file dipla_contract.h.