Skip to content

Commit e67817f

Browse files
Merge pull request #170 from BluEye-Robotics/js/cpuinfo
Add CPUInfoTel
2 parents c3ce375 + 3d544eb commit e67817f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

protobuf_definitions/message_formats.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,3 +1056,11 @@ message PersistentStorageSettings {
10561056
bool compass_calibration = 8; // Indicates if compass calibration data should be written to the data partition.
10571057
bool acc_calibration = 9; // Indicates if accelerometer calibration data should be written to the data partition.
10581058
}
1059+
1060+
// CPU information
1061+
//
1062+
// Contains information about the CPU load and memory usage of the drone.
1063+
message CPUInfo {
1064+
float cpu_load = 1; // CPU load in percent (0..100)
1065+
float memory_bus_load = 2; // Memory bus load in percent (0..100)
1066+
}

protobuf_definitions/telemetry.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,4 +275,8 @@ message MultibeamConfigTel {
275275
// Multibeam sonar status message
276276
message MultibeamDiscoveryTel {
277277
MultibeamDiscovery discovery = 1; // Discovery data from a multibeam sonar
278+
}
279+
280+
message CPUInfoTel {
281+
CPUInfo cpu_info = 1;
278282
}

0 commit comments

Comments
 (0)