Skip to content

Commit

Permalink
feat(system): create system usage message
Browse files Browse the repository at this point in the history
Signed-off-by: Mehmet Emin BAŞOĞLU <[email protected]>
  • Loading branch information
mebasoglu committed May 22, 2024
1 parent fdd9994 commit b6d49b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ ament_auto_find_build_dependencies()

set(msg_files
"msg/PublishedTime.msg"
"msg/MissionRemainingDistanceTime.msg")
"msg/MissionRemainingDistanceTime.msg"
"msg/SystemUsage.msg"
)

set(msg_dependencies
builtin_interfaces
Expand Down
5 changes: 5 additions & 0 deletions msg/SystemUsage.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
std_msgs/Header header
uint32 pid
float32 cpu_usage_rate
float32 mem_usage_rate
uint32 mem_usage_bytes

0 comments on commit b6d49b6

Please sign in to comment.