Skip to content

Commit aaee4ae

Browse files
committed
feat: new messages for profiling
1 parent 7f4fec8 commit aaee4ae

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

brain_box_msgs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ add_message_files(
116116
PIDParam.msg
117117
Point2.msg
118118
Profiling.msg
119+
ProfilingArray.msg
119120
Range.msg
120121
RangeBall.msg
121122
RGB.msg

brain_box_msgs/msg/Profiling.msg

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# Profiling message carries a list of execution times with their associated names
1+
string name
22

3-
std_msgs/Header header
4-
5-
# Name of each code block executed
6-
string[] names
7-
8-
# Time spent in each code block
9-
# Must match the size with 'names' attribute
10-
float32[] times
11-
12-
# (Optional) Any valuable indication from the execution of each code block
13-
# Must match the size with 'names' attribute if it is not empty
14-
float32[] data
3+
float64 time_ms
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Profiling message carries a list of execution times with their associated names
2+
std_msgs/Header header
3+
4+
string node_name
5+
6+
brain_box_msgs/Profiling main
7+
8+
brain_box_msgs/Profiling[] steps

0 commit comments

Comments
 (0)