Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
dipla_ipc.h File Reference

Private local worker messages; not a flight-controller wire protocol. More...

#include "dipla_contract.h"
Include dependency graph for dipla_ipc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dipla_request
 Pose/control request; session and observation number have separate lifetimes. More...
struct  dipla_reply
 Legacy one-point retrieval from a generation pinned across eight slots. More...
struct  dipla_plan_reply
 Complete immutable route reply on the local worker socket, not the FC bus. More...
struct  dipla_plan_reply::dipla_plan_point
 Canonical model-field point; (50000,50000) is the captured anchor. More...

Macros

#define DIPLA_IPC_VERSION   1U
#define DIPLA_IPC_START   1U
#define DIPLA_IPC_STOP   2U
#define DIPLA_IPC_SHOT   3U
#define DIPLA_IPC_PLAN   4U
#define DIPLA_IPC_CREDIT_SHOT   5U
#define DIPLA_IPC_POINT   6U
#define DIPLA_IPC_ASSIMILATED_METRIC   (-1)
#define DIPLA_CAMERA_ID   5U
#define DIPLA_CAMERA_MASK   0x10U
#define DIPLA_POINT_MAX_AGE_MS   5000U
#define DIPLA_CYCLE_TIMEOUT_MS   1500U

Detailed Description

Private local worker messages; not a flight-controller wire protocol.

Unix SOCK_SEQPACKET preserves one fixed-size message per request/reply. Both endpoints are native Sensoraia processes from the same build.

Note
Integer widths and layout assertions define this local ABI. It is not a replacement for USHER UART framing or a cross-version network service.

Definition in file dipla_ipc.h.

Macro Definition Documentation

◆ DIPLA_CAMERA_ID

#define DIPLA_CAMERA_ID   5U

Non-image sensor identity, distinct from waypoint indices.

Definition at line 35 of file dipla_ipc.h.

◆ DIPLA_CAMERA_MASK

#define DIPLA_CAMERA_MASK   0x10U

Existing eight-slot camera selection bit for camera five.

Definition at line 36 of file dipla_ipc.h.

◆ DIPLA_CYCLE_TIMEOUT_MS

#define DIPLA_CYCLE_TIMEOUT_MS   1500U

Broken one-point cycles restart rather than mixing snapshots.

Definition at line 38 of file dipla_ipc.h.

◆ DIPLA_IPC_ASSIMILATED_METRIC

#define DIPLA_IPC_ASSIMILATED_METRIC   (-1)

Invalid local completion credit after assimilation or rejection, never a camera point.

Definition at line 34 of file dipla_ipc.h.

◆ DIPLA_IPC_CREDIT_SHOT

#define DIPLA_IPC_CREDIT_SHOT   5U

SHOT with a separate assimilation acknowledgement before the next new observation.

Definition at line 32 of file dipla_ipc.h.

◆ DIPLA_IPC_PLAN

#define DIPLA_IPC_PLAN   4U

Submit a pose and retrieve one immutable dipla_plan_reply.

Definition at line 31 of file dipla_ipc.h.

◆ DIPLA_IPC_POINT

#define DIPLA_IPC_POINT   6U

Retrieve a retained point without admitting another observation.

Definition at line 33 of file dipla_ipc.h.

◆ DIPLA_IPC_SHOT

#define DIPLA_IPC_SHOT   3U

Submit a pose and retrieve one pinned point using dipla_reply.

Definition at line 30 of file dipla_ipc.h.

◆ DIPLA_IPC_START

#define DIPLA_IPC_START   1U

Request a chunk; retain an active belief, reset after STOP. No reply packet.

Definition at line 28 of file dipla_ipc.h.

◆ DIPLA_IPC_STOP

#define DIPLA_IPC_STOP   2U

Invalidate the matching session; no reply packet.

Definition at line 29 of file dipla_ipc.h.

◆ DIPLA_IPC_VERSION

#define DIPLA_IPC_VERSION   1U

Reject incompatible packet layouts before interpreting payload.

Definition at line 27 of file dipla_ipc.h.

◆ DIPLA_POINT_MAX_AGE_MS

#define DIPLA_POINT_MAX_AGE_MS   5000U

Assimilated observation lease, not retained-route creation age.

Definition at line 37 of file dipla_ipc.h.