Motion#

Drives the base, the head and the LEDs through the microcontroller, and publishes the robot’s state: the base’s pose, the head’s joint angles and the transforms between the robot’s parts.

Runs in the start profiles remote (the default), minimal, companion, emotions.

Node motion_node#

The link to the microcontroller.

Name

Kind

Type

Subscribes

/cmd_vel

topic

geometry_msgs/msg/Twist

Subscribes

/head_controller/joint_trajectory

topic

trajectory_msgs/msg/JointTrajectory

Publishes

/base_state

topic

geometry_msgs/msg/PoseStamped

Publishes

/joint_states

topic

sensor_msgs/msg/JointState

Publishes

/tf

topic

tf2_msgs/msg/TFMessage

Publishes

/mcu_link

topic

std_msgs/msg/Bool

Serves

/create_base_trajectory

action

interfaces/action/CreateBaseTrajectory

Serves

/create_base_trajectory_view

action

interfaces/action/CreateBaseTrajectoryView

Serves

/create_base_modulated_trajectory_view

action

interfaces/action/CreateBaseModulatedTrajectoryView

Serves

/create_base_mixed_trajectory_view

action

interfaces/action/CreateBaseMixedTrajectoryView

Serves

/execute_base_trajectory_view

action

interfaces/action/ExecuteBaseTrajectoryView

Serves

/create_head_trajectory

action

interfaces/action/CreateHeadTrajectory

Serves

/create_head_trajectory_view

action

interfaces/action/CreateHeadTrajectoryView

Serves

/create_head_modulated_trajectory_view

action

interfaces/action/CreateHeadModulatedTrajectoryView

Serves

/create_head_mixed_trajectory_view

action

interfaces/action/CreateHeadMixedTrajectoryView

Serves

/execute_head_trajectory_view

action

interfaces/action/ExecuteHeadTrajectoryView

Serves

/create_led_hsv_trajectory

action

interfaces/action/CreateLedHSVTrajectory

Serves

/create_led_hsv_trajectory_view

action

interfaces/action/CreateLedHSVTrajectoryView

Serves

/create_led_hsv_modulated_trajectory_view

action

interfaces/action/CreateLedHSVModulatedTrajectoryView

Serves

/create_led_hsv_mixed_trajectory_view

action

interfaces/action/CreateLedHSVMixedTrajectoryView

Serves

/execute_led_hsv_trajectory_view

action

interfaces/action/ExecuteLedHSVTrajectoryView

Serves

/create_envelope_trajectory

action

interfaces/action/CreateEnvelopeTrajectory

Serves

/create_envelope_trajectory_view

action

interfaces/action/CreateEnvelopeTrajectoryView

Serves

/reset_base_pose

action

interfaces/action/ResetBasePose

Serves

/get_robot_config

action

interfaces/action/GetRobotConfig

Serves

/run_profile

action

interfaces/action/RunProfile

Serves

/get_motion_link_time_info

action

interfaces/action/GetMotionLinkTimeInfo

Publishes

/rosout

topic

rcl_interfaces/msg/Log

Publishes

/console_output

topic

std_msgs/msg/String

Node robot_state_publisher#

The standard ROS node, with Mino’s URDF: turns the head’s joint angles into transforms, and publishes the robot’s description.

Parameters#

Name

Type

Default

Description

robot_description

string

Mino’s URDF, from the hf1_description package. Set at startup.

publish_frequency

double

100.0

Highest rate of the head’s transforms, in Hz, raised from the default 20 so that every joint_states message gets its transforms.

Read and set them with ros2 param, or with the node’s parameter services (/robot_state_publisher/set_parameters):

ros2 param get /robot_state_publisher robot_description
ros2 param set /robot_state_publisher robot_description <value>