Integrate a vehicle or gatewayLink to the section Integrate a vehicle or gateway

On this page

A UNIVIP Device adapts a vehicle's native capabilities to a shared interface. It can run in firmware, a controller app or a gateway server. Start with the simulator to see a complete connection before working with an adapter.

Choose where the Device runsLink to the section Choose where the Device runs

Three places to run the Device

The same Client-facing interface can run in any of these software hosts.

  • A quadcopter with its onboard software highlighted in blue.

    Native

    UNIVIP runs in vehicle or dock firmware.

  • A vehicle connected to a handheld controller with its application highlighted in blue.

    Controller

    UNIVIP runs in a controller app or companion computer.

  • A vehicle connected to a compact server with its adapter software highlighted in blue.

    Gateway

    An adapter server translates the vehicle's native interface.

Concept illustration · UNIVIP working draft. The blue highlight identifies the software host. Choose one deployment mode; these are alternatives. Open full illustration.

Mode Where it runs When to use it
Native Vehicle or dock firmware You can implement the protocol in the device software
Controller Controller, pilot app or companion computer The controller already has access to the vehicle and payload
Gateway Server translating the native API You need an adapter independent of a firmware change

The architecture specification defines the same Client-facing behavior for all three.

Give each vehicle a stable Device identity and build its capability document from actual adapter support. Choose the base profile by whether the vehicle has live video:

The vehicle Base profile Add
Streams live video (most aircraft, patrol rovers with cameras) S C for advertised camera controls, N for separately enabled vehicle tasking
Has no live video (warehouse AMRs, untethered UUVs, sensor rovers) T (0.3 draft) N for tasking; mission outputs go through store-and-forward artifacts
Plans its own route to a goal S or T, plus N A (0.3 draft) for goals, ODD status, operator-assist requests and bounded offline continuation
Belongs to a dock or a centrally coordinated fleet S or T F (0.3 draft) for readiness, dock state, corridors, handoffs and operation_id

Read Profiles, Identity and Capabilities. Do not advertise a gimbal axis by implementing it as vehicle motion.

Describe the platform (0.3 draft)Link to the section Describe the platform (0.3 draft)

Add device.platform so a Client can show what the vehicle physically is: form_factor (for example MULTIROTOR, WHEELED_AMR, AUV_TORPEDO or DOCK_STATION), optional propulsion, role, dimensions_m and symbology. Clients pick a map icon from it; see the platform map icons the reference viewer draws. A 0.2 Client ignores the member. The requirements are in Part 05 §5.1.1.

Indoor vehicles without GNSS report local_pose in a facility frame instead of, or as well as, position (Part 07 §7.4.1).

Declare an assurance tier (0.3 draft)Link to the section Declare an assurance tier (0.3 draft)

security.assurance_tier states how strongly the link and commands are protected: CIVIL, INDUSTRIAL (mTLS, signed commands and the hash-chained audit log) or DEFENSE (adds Annex B, including M-of-N dual control). Declare only a tier whose requirements the Device enforces; Part 13 §13.21 lists them and Part 14 the tests.

The headless AMR in examples/capabilities/profile-t-amr-headless.json and the VTOL aircraft in examples/capabilities/profile-defense-vtol.json show complete 0.3 capability documents.

Connect and publish stateLink to the section Connect and publish state

Configure the Client endpoint, trust and credentials. Open the authenticated session, complete hello and welcome, verify the configured Client identity, and publish capabilities before telemetry and events. Implement the session proxy if the Device does not host its own REST listener.

Use Telemetry, Events and Media to preserve units, time references, event state and video alignment. Report stale sources explicitly.

Add authorized controlsLink to the section Add authorized controls

Gate commands on advertised capabilities and separate camera and vehicle scopes. Vehicle tasking also requires operator enablement, a vehicle lease and the controller's safety checks. Follow the command lifecycle through its outcome.

The requirements are in Camera control, Vehicle control and Security.

Autonomy and fleet commands (0.3 draft)Link to the section Autonomy and fleet commands (0.3 draft)

Under Profile A a Client assigns a goal (vehicle.autonomy.assign_goal) instead of steering, usually under an autonomy-scope lease, which does not authorize raw vehicle.goto. When the vehicle cannot proceed safely, it holds, emits the stateful vehicle.autonomy.intervention_requested event with options and a deadline, and runs its declared fallback if no vehicle.autonomy.assist_response arrives. A lease with on_session_loss: CONTINUE_WITHIN_ODD lets a goal continue for at most offline_grace_s after the link drops. Pilot override and the vehicle's own failsafes always take precedence, and every offline transition is written to the audit log.

Under Profile F the Device reports telemetry.fleet and, when it also claims N, accepts vehicle.dock.*, vehicle.fleet.set_corridor and vehicle.fleet.handoff. Validate every goal and corridor against the vehicle's limits and fail closed. Part 15 defines both profiles.

Use the reference adapters and validationLink to the section Use the reference adapters and validation

The Python gateway includes simulator, MAVLink and DJI Cloud API adapters. The .NET gateway provides an ASP.NET Core implementation with the simulator adapter.

Neither gateway implements Profiles T, A or F yet. The .NET gateway implements the 0.3 message models and the Annex B §B.5 dual-control verifier; the Python gateway covers 0.2 only. Use the 0.3 example messages and tools/validate.py to check documents you produce.

Review implementation findings, SITL evidence and the conformance requirements before describing integration results.

Generated from docs/build/device-integration.md.