pilot.event_t

Struct

event_t describes an event, without an attached timestamp.

The fields module, code_type and code uniquely define a specific event type that can occur.

Fields

event_type_e type

Event type, see pilot.event_type_e.

string module

Module name that generated the event.

string code_type

Type name for the code field, usually the enum type name. For example: pilot.safety_code_e.

string code

Event code, usually an enum value. For example: EMERGENCY_STOP.