mavlink: handle cellular_status messages for logging

This commit is contained in:
JaeyoungLim
2019-11-13 15:19:02 +01:00
committed by Daniel Agar
parent 675af4f5f9
commit 6bd4273b9c
6 changed files with 40 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ set(msg_files
battery_status.msg
camera_capture.msg
camera_trigger.msg
cellular_status.msg
collision_report.msg
collision_constraints.msg
commander_state.msg

9
msg/cellular_status.msg Normal file
View File

@@ -0,0 +1,9 @@
uint64 timestamp # time since system start (microseconds)
uint16 status # Status bitmap 1: Roaming is active
uint8 type # Cellular network radio type 0: none 1: gsm 2: cdma 3: wcdma 4: lte
uint8 quality # Cellular network RSSI/RSRP in dBm, absolute value
uint16 mcc # Mobile country code. If unknown, set to: UINT16_MAX
uint16 mnc # Mobile network code. If unknown, set to: UINT16_MAX
uint16 lac # Location area code. If unknown, set to: 0
uint32 cid # Cell ID. If unknown, set to: UINT32_MAX

View File

@@ -262,6 +262,8 @@ rtps:
id: 115
- msg: onboard_computer_status
id: 116
- msg: cellular_status
id: 117
########## multi topics: begin ##########
- msg: actuator_controls_0
id: 150