2015-10-06 03:52:11 -03:00
|
|
|
# UAVCAN-MAVLink parameter bridge request type
|
2018-08-06 21:30:05 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2019-12-31 16:02:48 -04:00
|
|
|
|
|
|
|
uint8 MESSAGE_TYPE_PARAM_REQUEST_READ = 20 # MAVLINK_MSG_ID_PARAM_REQUEST_READ
|
|
|
|
uint8 MESSAGE_TYPE_PARAM_REQUEST_LIST = 21 # MAVLINK_MSG_ID_PARAM_REQUEST_LIST
|
|
|
|
uint8 MESSAGE_TYPE_PARAM_SET = 23 # MAVLINK_MSG_ID_PARAM_SET
|
|
|
|
uint8 message_type # MAVLink message type: PARAM_REQUEST_READ, PARAM_REQUEST_LIST, PARAM_SET
|
|
|
|
|
|
|
|
uint8 NODE_ID_ALL = 0 # MAV_COMP_ID_ALL
|
2015-10-06 03:52:11 -03:00
|
|
|
uint8 node_id # UAVCAN node ID mapped from MAVLink component ID
|
2019-12-31 16:02:48 -04:00
|
|
|
|
2015-10-06 03:52:11 -03:00
|
|
|
char[17] param_id # MAVLink/UAVCAN parameter name
|
|
|
|
int16 param_index # -1 if the param_id field should be used as identifier
|
2019-12-31 16:02:48 -04:00
|
|
|
|
|
|
|
uint8 PARAM_TYPE_UINT8 = 1 # MAV_PARAM_TYPE_UINT8
|
|
|
|
uint8 PARAM_TYPE_INT64 = 8 # MAV_PARAM_TYPE_INT64
|
|
|
|
uint8 PARAM_TYPE_REAL32 = 9 # MAV_PARAM_TYPE_REAL32
|
2015-10-06 03:52:11 -03:00
|
|
|
uint8 param_type # MAVLink parameter type
|
2019-12-31 16:02:48 -04:00
|
|
|
|
2015-10-06 03:52:11 -03:00
|
|
|
int64 int_value # current value if param_type is int-like
|
|
|
|
float32 real_value # current value if param_type is float-like
|
2019-07-03 17:30:21 -03:00
|
|
|
|
2020-09-25 12:11:55 -03:00
|
|
|
uint8 ORB_QUEUE_LENGTH = 4
|