mavlink & system: add events interface

- sending protocol
- uorb event message & template methods for argument packing
- libevents submodule to send common events and handle json files
- cmake maintains a list of all (PX4) source files for the current build
  (PX4 modules + libs), which is used to extract event metadata and
  generate a json file
This commit is contained in:
Beat Küng
2020-11-09 11:51:27 +01:00
committed by Daniel Agar
parent 7c5838116a
commit 38f3b8d356
28 changed files with 1007 additions and 3 deletions
+1
View File
@@ -55,6 +55,7 @@ set(msg_files
distance_sensor.msg
ekf2_timestamps.msg
ekf_gps_drift.msg
event.msg
esc_report.msg
esc_status.msg
estimator_event_flags.msg
+11
View File
@@ -0,0 +1,11 @@
# Events interface
uint64 timestamp # time since system start (microseconds)
uint32 id # Event ID
uint16 sequence # Sequence number
uint8[25] arguments # (optional) arguments, depend on event id
uint8 log_levels # Log levels: 4 bits MSB: internal, 4 bits LSB: external
uint8 ORB_QUEUE_LENGTH = 8
+2
View File
@@ -341,6 +341,8 @@ rtps:
id: 158
- msg: estimator_event_flags
id: 159
- msg: event
id: 160
########## multi topics: begin ##########
- msg: actuator_controls_0
id: 180