Skip to content

Commit

Permalink
Merge pull request #170 from BluEye-Robotics/js/cpuinfo
Browse files Browse the repository at this point in the history
Add CPUInfoTel
  • Loading branch information
johannesschrimpf authored Oct 30, 2024
2 parents c3ce375 + 3d544eb commit e67817f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions protobuf_definitions/message_formats.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1056,3 +1056,11 @@ message PersistentStorageSettings {
bool compass_calibration = 8; // Indicates if compass calibration data should be written to the data partition.
bool acc_calibration = 9; // Indicates if accelerometer calibration data should be written to the data partition.
}

// CPU information
//
// Contains information about the CPU load and memory usage of the drone.
message CPUInfo {
float cpu_load = 1; // CPU load in percent (0..100)
float memory_bus_load = 2; // Memory bus load in percent (0..100)
}
4 changes: 4 additions & 0 deletions protobuf_definitions/telemetry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,8 @@ message MultibeamConfigTel {
// Multibeam sonar status message
message MultibeamDiscoveryTel {
MultibeamDiscovery discovery = 1; // Discovery data from a multibeam sonar
}

message CPUInfoTel {
CPUInfo cpu_info = 1;
}

0 comments on commit e67817f

Please sign in to comment.