Add SystemDiagnostics message and integrate into network adapter
- Added SystemDiagnosticsRaw.msg to define system diagnostics data structure. - Enhanced mainOrchestrator.py and mavlinkObject.py to handle SYS_STATUS messages and publish system diagnostics. - Introduced a new method in VehicleStatusPublisher to publish system diagnostics data. - Updated mavlinkVehicleView.py to include SystemDiagnostics data class.
This commit is contained in:
@@ -14,6 +14,7 @@ find_package(builtin_interfaces REQUIRED)
|
||||
rosidl_generate_interfaces(${PROJECT_NAME}
|
||||
"msg/AttitudeRaw.msg"
|
||||
"msg/GnssRaw.msg"
|
||||
"msg/SystemDiagnosticsRaw.msg"
|
||||
"msg/ServiceAckResult.msg"
|
||||
"srv/MavPing.srv"
|
||||
"srv/MavCommandLong.srv"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
builtin_interfaces/Time stamp
|
||||
uint32 sensors_install_mask
|
||||
uint32 sensors_enabled_mask
|
||||
uint32 sensors_health_mask
|
||||
uint16 mcu_load
|
||||
uint16 bus_error_rate
|
||||
uint16 bus_error_count
|
||||
uint16 errors_count1
|
||||
uint16 errors_count2
|
||||
uint16 errors_count3
|
||||
uint16 errors_count4
|
||||
Reference in New Issue
Block a user