Loading...
Searching...
No Matches
dipla_ipc.h
Go to the documentation of this file.
108static_assert(sizeof(dipla_request) == 32 && sizeof(dipla_reply) == 36 && sizeof(dipla_plan_reply) == 124,
Fixed model geometry and C/C++ local transport units, not runtime settings.
#define DIPLA_WAYPOINT_COUNT
Ordered route slots; changing this requires a new model and transport contract.
Definition dipla_contract.h:31
Canonical model-field point; (50000,50000) is the captured anchor.
Definition dipla_ipc.h:99
int32_t height_mm
Configured physical height in millimetres; predicted Z is never forwarded.
Definition dipla_ipc.h:104
int32_t east_mm
Flight-padded model X times 1000; default bounds 4000..96000.
Definition dipla_ipc.h:104
int32_t north_mm
Flight-padded model Y times 1000; default bounds 4000..96000.
Definition dipla_ipc.h:104
Complete immutable route reply on the local worker socket, not the FC bus.
Definition dipla_ipc.h:81
uint32_t generation
Monotonically increasing completed-route identity within this session.
Definition dipla_ipc.h:94
struct dipla_plan_reply::dipla_plan_point points[DIPLA_WAYPOINT_COUNT]
Slot zero maps to P1; a copied bank is never changed mid-reply.
uint32_t valid
One only for an entire fresh, bounded route; zero authorizes no points.
Definition dipla_ipc.h:94
uint32_t session
Exact session echo, independent of route generation.
Definition dipla_ipc.h:94
uint32_t age_ms
Milliseconds since the latest assimilated active-chunk pose was received.
Definition dipla_ipc.h:94
uint32_t count
Eight only when the complete route is valid.
Definition dipla_ipc.h:94
uint32_t number
Exact request echo; route data may originate from an earlier admitted pose.
Definition dipla_ipc.h:94
Legacy one-point retrieval from a generation pinned across eight slots.
Definition dipla_ipc.h:59
uint32_t number
Exact observation echo; a retry must not consume another slot.
Definition dipla_ipc.h:66
uint32_t valid
Computational validity, never sensor confidence or field accuracy.
Definition dipla_ipc.h:66
int32_t agl_mm
Configured physical flight height in millimetres; default 2000.
Definition dipla_ipc.h:75
int32_t lon
Proposed geographic longitude in degrees times 1e7.
Definition dipla_ipc.h:75
int32_t lat
Proposed geographic latitude in degrees times 1e7.
Definition dipla_ipc.h:75
int32_t alt_mm
Unchanged owner-supplied FC altitude in millimetres, not predicted model Z.
Definition dipla_ipc.h:75
int32_t metric
Packed (generation<<3)|slot, with internal slot 0..7 mapping to P1..P8.
Definition dipla_ipc.h:75
uint32_t session
Exact session echo; prevents accepting a previous sortie's completion.
Definition dipla_ipc.h:66
uint32_t version
Reply layout version, checked before accepting any result.
Definition dipla_ipc.h:66
Pose/control request; session and observation number have separate lifetimes.
Definition dipla_ipc.h:42
uint32_t operation
START, STOP, SHOT or complete PLAN operation.
Definition dipla_ipc.h:49
int32_t alt_mm
Owner-supplied FC altitude in millimetres; echoed by the legacy point reply.
Definition dipla_ipc.h:56
uint32_t number
Positive observation identifier for SHOT/PLAN; unused for control packets.
Definition dipla_ipc.h:49
uint32_t session
Nonzero chunk token; STOP, not active START, ends survey belief.
Definition dipla_ipc.h:49
int32_t agl_q8
Actual reported AGL in metres times 256, not an MSL ground elevation.
Definition dipla_ipc.h:56
uint32_t version
Layout version; reject before interpreting the remaining packet.
Definition dipla_ipc.h:49