IMCInter Module Communication
v5.5.11

Plan Control State

PlanControlState ID 560Periodic
Payload
≥ 20 bytes, variable
Packet
≥ 42 bytes
Source
vehicle
Category
Plan Supervision

State of plan control.

#Fields

Offset FieldTypeUnitRangeDescription
0 #stateState uint8_t Enumerated –

Describes overall state.

0PCS_BLOCKEDBlocked

Plan execution is blocked e.g., due to a vehicle error, or if no plan is loaded.

1PCS_READYReady

Ready to start plan execution.

2PCS_INITIALIZINGInitializing

Initializing plan for execution.

3PCS_EXECUTINGExecuting

Executing plan.

1 #plan_idPlan -- ID plaintext – –

Identifier of plan currently loaded.

var #plan_etaPlan -- ETA int32_t s –

Current plan estimated time to completion. The value will be -1 if the time is unknown or undefined.

var #plan_progressPlan -- Progress fp32_t % –

Current plan estimated progress in percent. The value will be negative if unknown or undefined.

var #man_idManeuver -- ID plaintext – –

Current node ID, when executing a plan.

var #man_typeManeuver -- Type uint16_t – –

Type of maneuver being executed (IMC serialization id), when executing a plan.

var #man_etaManeuver -- ETA int32_t s –

Current node estimated time to completion, when executing a plan. The value will be -1 if the time is unknown or undefined.

var #last_outcomeLast Plan Outcome uint8_t Enumerated –

Outcome of the last executed plan.

0LPO_NONENone

Unknown or not filled.

1LPO_SUCCESSSuccess

Last plan execution was successful.

2LPO_FAILUREFailure

Last plan execution was a failure.