Skip to content

Commit c5d9e18

Browse files
committed
add more documentation to the InterfacesValues msg
1 parent 24d5467 commit c5d9e18

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
std_msgs/Header header
22

33
# List of values corresponding to the interfaces or joints defined in InterfacesNames.msg
4+
# The size and order must match that of InterfacesNames.msg
5+
# Each value corresponds to the name at the same index in InterfacesNames.msg
6+
#
7+
# For example. if InterfacesNames.msg has names = ["joint1/position", "joint2/velocity"], then
8+
# InterfacesValues.msg could have values = [1.57, 0.0]. The first value (1.57) corresponds to "joint1/position"
9+
# and the second value (0.0) corresponds to "joint2/velocity"
10+
#
11+
# This message is used by the interfaces_state_broadcaster to publish the values of the interfaces via
12+
# ROS2 topics ~/names (InterfacesNames.msg) and ~/values (InterfacesValues.msg)
413
float64[] values

0 commit comments

Comments
 (0)