File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1313 </PropertyGroup >
1414
1515 <ItemGroup >
16- <PackageReference Include =" Google.Protobuf" Version =" 3.31.1 " />
17- <PackageReference Include =" Google.Protobuf.Tools" Version =" 3.31 .0" >
16+ <PackageReference Include =" Google.Protobuf" Version =" 3.32.0 " />
17+ <PackageReference Include =" Google.Protobuf.Tools" Version =" 3.32 .0" >
1818 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1919 <PrivateAssets >all</PrivateAssets >
2020 </PackageReference >
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 @@ -292,3 +292,9 @@ message MultibeamDiscoveryTel {
292292message CPUInfoTel {
293293 CPUInfo cpu_info = 1 ; // CPU information.
294294}
295+
296+ // Surface Unit telemetry message.
297+ message SurfaceUnitTel {
298+ SurfaceUnitBatteryInfo battery_info = 1 ; // Battery information.
299+ SurfaceUnitVersionInfo version_info = 2 ; // Version information.
300+ }
You can’t perform that action at this time.
0 commit comments