Skip to content

Commit b4b8a0d

Browse files
authored
Add Keys and Float64Values messages (#273)
1 parent c98c2ff commit b4b8a0d

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

control_msgs/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ set(msg_files
2626
msg/HardwareDiagnostics.msg
2727
msg/HardwareStatus.msg
2828
msg/InterfaceValue.msg
29+
msg/Keys.msg
30+
msg/Float64Values.msg
2931
msg/JointComponentTolerance.msg
3032
msg/JointControllerState.msg
3133
msg/JointJog.msg

control_msgs/msg/Float64Values.msg

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
std_msgs/Header header
2+
3+
# List of values corresponding to the interfaces or joints defined in Keys.msg
4+
# The size and order must match that of Keys.msg
5+
# Each value corresponds to the key at the same index in Keys.msg
6+
#
7+
# For example. if Keys.msg has keys = ["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+
# ROS 2 topics ~/names (Keys.msg) and ~/values (InterfacesValues.msg)
13+
float64[] values

control_msgs/msg/Keys.msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
std_msgs/Header header
2+
3+
# List of names defining interfaces or joints or other string-based entities
4+
# being published with Keys.msg
5+
string[] keys

0 commit comments

Comments
 (0)