File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -1223,3 +1223,26 @@ message CPUInfo {
12231223 float guestport_queue_load = 4 ; // Guestport queue load (0..1).
12241224 float comm_queue_load = 5 ; // Communication queue load (0..1).
12251225}
1226+
1227+ // Surface Unit battery information.
1228+ //
1229+ // This message is published by the Surface Unit, and re-published by
1230+ // the drone over the communication protocol.
1231+ message SurfaceUnitBatteryInfo {
1232+ enum ChargeStatus {
1233+ CHARGE_STATUS_UNSPECIFIED = 0 ;
1234+ CHARGE_STATUS_DISCHARGE = 1 ;
1235+ CHARGE_STATUS_CHARGE = 2 ;
1236+ CHARGE_STATUS_CHARGE_ERROR = 3 ;
1237+ }
1238+ ChargeStatus status = 1 ; // Battery charge status.
1239+ float level = 2 ; // Battery level (0..1).
1240+ }
1241+
1242+ // Surface Unit version information.
1243+ //
1244+ // This message is published by the Surface Unit, and re-published by
1245+ // the drone over the communication protocol.
1246+ message SurfaceUnitVersionInfo {
1247+ string version = 1 ; // Surface Unit firmware version (x.y.z).
1248+ }
Original file line number Diff line number Diff line change @@ -287,3 +287,9 @@ message MultibeamDiscoveryTel {
287287message CPUInfoTel {
288288 CPUInfo cpu_info = 1 ; // CPU information.
289289}
290+
291+ // Surface Unit telemetry message.
292+ message SurfaceUnitTel {
293+ SurfaceUnitBatteryInfo battery_info = 1 ; // Battery information.
294+ SurfaceUnitVersionInfo version_info = 2 ; // Version information.
295+ }
You can’t perform that action at this time.
0 commit comments