The package nao_lola_command_msgs defines msgs used to send commands to the underlying NAO hardware.
By being able to specify the indexes, we can have different nodes sending partial joint position commands.
# Message to specify positions for the NAO's motor joints.
#
# Each joint is uniquely identified by its index (See JointIndexes.msg)
#
# The two arrays in this message should have the same size, where the first item
# in indexes, corresponds to the first item in positions, etc.
uint8[] indexes # See JointIndexes.msg (eg. JointIndexes::HEADYAW)
float32[] positions # radians
By being able to specify the indexes, we can have different nodes sending partial joint stiffness commands.
# Message to specify stiffnesses for the NAO's motor joints.
#
# Each joint is uniquely identified by its index (See JointIndexes.msg)
#
# The two arrays in this message should have the same size, where the first item
# in indexes, corresponds to the first item in stiffnesses, etc.
uint8[] indexes # See JointIndexes.msg (eg. JointIndexes::HEADYAW)
float32[] stiffnesses # 0.0 - 1.0
Msgs that use std_msgs/ColorRGBA to specify colors for the RGB LEDs.
Note
Expect ranges for R, G and B are 0.0 - 1.0. The alpha value (A) is ignored.
A single RGB led in the chest.
std_msgs/ColorRGBA color # r, g, b should be 0.0 - 1.0. a is ignored
See :ref:`left_eye_leds` to see which indexes correspond to which led.
std_msgs/ColorRGBA[8] colors
A single RGB led in the left foot.
std_msgs/ColorRGBA color
See :ref:`right_eye_leds` to see which indexes correspond to which led.
std_msgs/ColorRGBA[8] colors
A single RGB led in the right foot.
std_msgs/ColorRGBA color
Msgs that specify intensity of the blue leds.
See :ref:`head_leds` to see which indexes correspond to which led.
float32[12] intensities # 0.0 - 1.0
See :ref:`left_ear_leds` to see which indexes correspond to which led.
float32[10] intensities # 0.0 - 1.0
See :ref:`right_ear_leds` to see which indexes correspond to which led.
float32[10] intensities # 0.0 - 1.0
Command to tell Lola whether to enable/disable the sonar.
bool left # Set to true, to use left sonar
bool right # Set to true, to use right sonar