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"

Go to the source code of this file.

Classes

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
 Reject incompatible packet layouts before interpreting payload.
#define DIPLA_IPC_START   1U
 Request a chunk; retain an active belief, reset after STOP.
#define DIPLA_IPC_STOP   2U
 Invalidate the matching session; no reply packet.
#define DIPLA_IPC_SHOT   3U
 Submit a pose and retrieve one pinned point using dipla_reply.
#define DIPLA_IPC_PLAN   4U
 Submit a pose and retrieve one immutable dipla_plan_reply.
#define DIPLA_IPC_CREDIT_SHOT   5U
 SHOT with a separate assimilation acknowledgement before the next new observation.
#define DIPLA_IPC_POINT   6U
 Retrieve a retained point without admitting another observation.
#define DIPLA_IPC_ASSIMILATED_METRIC   (-1)
 Invalid local completion credit after assimilation or rejection, never a camera point.
#define DIPLA_CAMERA_ID   5U
 Non-image sensor identity, distinct from waypoint indices.
#define DIPLA_CAMERA_MASK   0x10U
 Existing eight-slot camera selection bit for camera five.
#define DIPLA_POINT_MAX_AGE_MS   5000U
 Assimilated observation lease, not retained-route creation age.
#define DIPLA_CYCLE_TIMEOUT_MS   1500U
 Broken one-point cycles restart rather than mixing snapshots.

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.

Macro Definition Documentation

◆ DIPLA_CAMERA_ID

#define DIPLA_CAMERA_ID   5U

Non-image sensor identity, distinct from waypoint indices.

◆ DIPLA_CAMERA_MASK

#define DIPLA_CAMERA_MASK   0x10U

Existing eight-slot camera selection bit for camera five.

◆ DIPLA_CYCLE_TIMEOUT_MS

#define DIPLA_CYCLE_TIMEOUT_MS   1500U

Broken one-point cycles restart rather than mixing snapshots.

◆ DIPLA_IPC_ASSIMILATED_METRIC

#define DIPLA_IPC_ASSIMILATED_METRIC   (-1)

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

◆ DIPLA_IPC_CREDIT_SHOT

#define DIPLA_IPC_CREDIT_SHOT   5U

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

◆ DIPLA_IPC_PLAN

#define DIPLA_IPC_PLAN   4U

Submit a pose and retrieve one immutable dipla_plan_reply.

◆ DIPLA_IPC_POINT

#define DIPLA_IPC_POINT   6U

Retrieve a retained point without admitting another observation.

◆ DIPLA_IPC_SHOT

#define DIPLA_IPC_SHOT   3U

Submit a pose and retrieve one pinned point using dipla_reply.

◆ DIPLA_IPC_START

#define DIPLA_IPC_START   1U

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

No reply packet.

◆ DIPLA_IPC_STOP

#define DIPLA_IPC_STOP   2U

Invalidate the matching session; no reply packet.

◆ DIPLA_IPC_VERSION

#define DIPLA_IPC_VERSION   1U

Reject incompatible packet layouts before interpreting payload.

◆ DIPLA_POINT_MAX_AGE_MS

#define DIPLA_POINT_MAX_AGE_MS   5000U

Assimilated observation lease, not retained-route creation age.