Topics, actions and services#
Everything Mino’s modules publish, subscribe to, serve and call, by what it is for, with the modules that use each one. All names are in the root namespace. Web and phone clients reach them through the Bridge module, on port 9090, except that they cannot receive topics published as best effort.
Which modules run, and so which of these exist, depends on the robot’s start profile.
Control#
/cmd_vel#
Topic of type geometry_msgs/msg/Twist
Published by: Companion (
companion)Subscribed by: Motion (
motion_node)QoS: Best effort, keeps the latest command only; reliable publishers are accepted.
Base velocity commands, as ROS bases take them (REP 103): linear.x is the forward speed in m/s, and angular.z the counterclockwise turn rate in rad/s. The base is differential, so other components are ignored. Each command aborts any base trajectory being executed. The base stops if no command arrives for 0.5 s, so send them continuously, e.g. at 10 Hz.
ros2 topic pub -r 10 /cmd_vel geometry_msgs/msg/Twist "{angular: {z: 0.3}}"
/head_controller/joint_trajectory#
Topic of type trajectory_msgs/msg/JointTrajectory
Published by: Companion (
companion)Subscribed by: Motion (
motion_node)QoS: Best effort, keeps the latest pose only.
Head poses, on the topic of ros2_control’s joint_trajectory_controller. Send a single point with the positions of head_yaw_joint, head_pitch_joint and head_roll_joint, in radians, with the signs of /joint_states. The servos reach it as fast as they can: time_from_start, velocities and accelerations are ignored. Several points, other joints, efforts or non-finite positions are rejected with a warning. Poses can be streamed at up to 30 Hz.
ros2 topic pub --once /head_controller/joint_trajectory trajectory_msgs/msg/JointTrajectory "{joint_names: [head_yaw_joint, head_pitch_joint, head_roll_joint], points: [{positions: [0.3, 0.0, 0.0]}]}"
Robot state#
/base_state#
Topic of type geometry_msgs/msg/PoseStamped
Published by: Motion (
motion_node)
The base’s pose in the odom frame, estimated by dead reckoning from the pose at power-up (or at the last reset_base_pose), at about 30 Hz. Only streamed while /tf or this topic has subscribers; starting takes up to 0.5 s. Stamped with when the pose was measured.
/joint_states#
Topic of type sensor_msgs/msg/JointState
Published by: Motion (
motion_node)Subscribed by: Motion (
robot_state_publisher)
The head’s angles, in radians, as the servos measure them, at about 33 Hz: head_yaw_joint (positive turns the head to its left), head_pitch_joint (positive looks down) and head_roll_joint (positive lowers its right eye). 0 looks forward, level. Only streamed while /tf has subscribers, as it is meant for robot_state_publisher.
/tf#
Topic of type tf2_msgs/msg/TFMessage
Published by: Motion (
motion_node), Motion (robot_state_publisher)Subscribed by: Detection (
person_tracker), Companion (companion)
Moving transforms: odom → base_footprint from the base’s pose (motion_node), and the head’s joints from /joint_states (robot_state_publisher). The full tree is odom → base_footprint → base_link → head_yaw_link → head_pitch_link → head_roll_link → stereo_link → left/right_camera_link → left/right_camera_optical_frame, the frames the camera publishes in.
/tf_static#
Topic of type tf2_msgs/msg/TFMessage
Published by: Motion (
robot_state_publisher)Subscribed by: Detection (
person_tracker), Companion (companion)
The fixed transforms of Mino’s URDF, such as from the head to the cameras.
/robot_description#
Topic of type std_msgs/msg/String
Published by: Motion (
robot_state_publisher)
Mino’s URDF, e.g. for rviz2’s RobotModel display.
/mcu_link#
Topic of type std_msgs/msg/Bool
Published by: Motion (
motion_node)QoS: Reliable, transient local, so a new subscriber gets the current state at once.
Whether the link to the microcontroller is up. Published when it changes.
Camera images#
/left/image_raw#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data); subscribe with qos_profile_sensor_data.
The left camera’s images before rectification, bgr8, 960x540 at 30 Hz, in left_camera_optical_frame.
/left/image_raw/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
/left/image_raw as JPEG, in the image_transport compressed format.
/left/image_rect#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
The left camera’s rectified images, bgr8. Not published if the rectify parameter is false or the cameras are not calibrated.
/left/image_rect/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
/left/image_rect as JPEG, in the image_transport compressed format.
/left/camera_info#
Topic of type sensor_msgs/msg/CameraInfo
Published by: Camera (
stereo_publisher)
The left camera’s calibration, with the stamp of each image.
/right/image_raw#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
As /left/image_raw, for the right camera, in right_camera_optical_frame.
/right/image_raw/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
/right/image_raw as JPEG.
/right/image_rect#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
As /left/image_rect, for the right camera.
/right/image_rect/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data).
/right/image_rect as JPEG.
/right/camera_info#
Topic of type sensor_msgs/msg/CameraInfo
Published by: Camera (
stereo_publisher)
The right camera’s calibration.
/left/set_camera_info#
Service of type sensor_msgs/srv/SetCameraInfo
Served by: Camera (
stereo_publisher)
Stores a new calibration for the left camera, as the camera_calibration package sends it.
/right/set_camera_info#
Service of type sensor_msgs/srv/SetCameraInfo
Served by: Camera (
stereo_publisher)
Stores a new calibration for the right camera.
Depth#
/depth/image_rect#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)Subscribed by: Detection (
person_tracker)QoS: Best effort (sensor data), keeps the latest 2.
Depth of the rectified left image, in meters (32FC1, REP 118), in left_camera_optical_frame. Pixels without a reliable depth are NaN (see the depth_min_confidence and depth_max_incidence_deg parameters). Subscribing to any depth topic except /depth/camera_info makes the camera module estimate depth.
/depth/image_rect/compressedDepth#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data), keeps the latest 2.
/depth/image_rect as PNG, in the format of the compressed_depth_image_transport package. Depths of 10 m or more are NaN.
/depth/confidence#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data), keeps the latest 2.
The confidence of each depth, between 0 and 1.
/depth/confidence/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data), keeps the latest 2.
/depth/confidence scaled to 0-255, as PNG.
/depth/color#
Topic of type sensor_msgs/msg/Image
Published by: Camera (
stereo_publisher)Subscribed by: Detection (
person_tracker)QoS: Best effort (sensor data), keeps the latest 2.
The rectified left image at the size and with the stamp of the depth images, e.g. to colour a point cloud.
/depth/color/compressed#
Topic of type sensor_msgs/msg/CompressedImage
Published by: Camera (
stereo_publisher)QoS: Best effort (sensor data), keeps the latest 2.
/depth/color as JPEG.
/depth/camera_info#
Topic of type sensor_msgs/msg/CameraInfo
Published by: Camera (
stereo_publisher)Subscribed by: Detection (
person_tracker), Companion (companion)
The calibration of the depth images and /depth/color. As the images are rectified, project with its matrix P, not K. Only published while another depth topic has subscribers.
People#
/detection/people#
Topic of type vision_msgs/msg/Detection3DArray
Published by: Detection (
person_tracker)Subscribed by: Companion (
companion)
The tracked people with a known depth, for each frame, in odom (the output_frame parameter). id is the track’s ID, and the box is centered on the person, upright. Without the motion module, in left_camera_optical_frame.
/detection/people_2d#
Topic of type vision_msgs/msg/Detection2DArray
Published by: Detection (
person_tracker)Subscribed by: Companion (
companion)
All the tracked boxes, in pixels of /depth/color, with the same stamp as /detection/people.
/detection/appearance#
Topic of type interfaces/msg/PeopleAppearance
Published by: Detection (
person_tracker)Subscribed by: Companion (
companion)
The appearance of each tracked person, by track ID, with the header of /detection/people_2d.
/detection/people/markers#
Topic of type visualization_msgs/msg/MarkerArray
Published by: Detection (
person_tracker)
A sphere and a label per tracked person, for rviz2.
/companion/state#
Topic of type std_msgs/msg/String
Published by: Companion (
companion)QoS: Latched (transient local).
The following behavior’s state, on every change.
/companion/user#
Topic of type nav_msgs/msg/Odometry
Published by: Companion (
companion)
Where the person being followed is, at up to 30 Hz in odom while there is one: their position on the floor, with its covariance, oriented along their velocity, and their speed along it.
/companion/markers#
Topic of type visualization_msgs/msg/MarkerArray
Published by: Companion (
companion)
The user, as a cylinder as tall as their estimated height, and where the head last aimed, for rviz2.
/companion/forget_user#
Action of type interfaces/action/ForgetUser
Served by: Companion (
companion)
Forgets the appearance of the person being followed, and learns it anew from the person followed, if any, or else from the next one taken as the user. Aborts if the following behavior has not started yet.
Speech and language#
/speech_transcription_preview#
Topic of type interfaces/msg/SpeechTranscript
Published by: Speech (
speech_node)QoS: Best effort (sensor data).
Every transcript of what is being said, as it is recognised, usually ending with the final one of each utterance (is_final true). /speech_transcription_final carries every final transcript.
/speech_transcription_final#
Topic of type interfaces/msg/SpeechTranscript
Published by: Speech (
speech_node)QoS: Reliable.
The final transcript of each utterance.
/emotion_classification#
Topic of type interfaces/msg/TextClassification
Published by: Speech (
speech_node)Subscribed by: Behavior (
behavior_node)QoS: Best effort (sensor data).
The emotions recognised in each sentence of partial and final transcripts, except those with a command.
/command_classification#
Topic of type interfaces/msg/TextClassification
Published by: Speech (
speech_node)Subscribed by: Behavior (
behavior_node)QoS: Best effort (sensor data).
The command recognised in a partial or final transcript, with its whole text. Only published if there is one.
/query_llm#
Action of type interfaces/action/QueryLLM
Served by: Language model (
llm_node)
Asks the language model, streaming the reply as feedback. One query is processed at a time; a query sent while another is in progress finishes with ERROR_IN_USE. Canceling the goal stops generation.
ros2 action send_goal --feedback /query_llm interfaces/action/QueryLLM "{query: 'What is a robot?'}"
Trajectories#
/create_base_trajectory#
Action of type interfaces/action/CreateBaseTrajectory
Served by: Motion (
motion_node)
Stores a base trajectory of up to 10 waypoints on the microcontroller.
/create_base_trajectory_view#
Action of type interfaces/action/CreateBaseTrajectoryView
Served by: Motion (
motion_node)
Creates a view of a base trajectory, which can then be executed.
/create_base_modulated_trajectory_view#
Action of type interfaces/action/CreateBaseModulatedTrajectoryView
Served by: Motion (
motion_node)
Creates a view of a base trajectory modulated by an envelope.
/create_base_mixed_trajectory_view#
Action of type interfaces/action/CreateBaseMixedTrajectoryView
Served by: Motion (
motion_node)
Creates a view that mixes two base trajectory views.
/execute_base_trajectory_view#
Action of type interfaces/action/ExecuteBaseTrajectoryView
Served by: Motion (
motion_node)
Moves the base along a trajectory view, reporting the laps completed.
/create_head_trajectory#
Action of type interfaces/action/CreateHeadTrajectory
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Stores a head trajectory of up to 10 waypoints on the microcontroller.
/create_head_trajectory_view#
Action of type interfaces/action/CreateHeadTrajectoryView
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Creates a view of a head trajectory, which can then be executed.
/create_head_modulated_trajectory_view#
Action of type interfaces/action/CreateHeadModulatedTrajectoryView
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Creates a view of a head trajectory modulated by an envelope.
/create_head_mixed_trajectory_view#
Action of type interfaces/action/CreateHeadMixedTrajectoryView
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Creates a view that mixes two head trajectory views.
/execute_head_trajectory_view#
Action of type interfaces/action/ExecuteHeadTrajectoryView
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Moves the head along a trajectory view.
/create_led_hsv_trajectory#
Action of type interfaces/action/CreateLedHSVTrajectory
Served by: Motion (
motion_node)
Stores an LED colour trajectory of up to 10 waypoints on the microcontroller. Refused while the LEDs show that modules are loading or that one died. That status overwrites ID 3.
/create_led_hsv_trajectory_view#
Action of type interfaces/action/CreateLedHSVTrajectoryView
Served by: Motion (
motion_node)
Creates a view of an LED colour trajectory. Refused while the LEDs show that modules are loading or that one died. That status overwrites ID 3.
/create_led_hsv_modulated_trajectory_view#
Action of type interfaces/action/CreateLedHSVModulatedTrajectoryView
Served by: Motion (
motion_node)
Creates a view of an LED colour trajectory modulated by an envelope.
/create_led_hsv_mixed_trajectory_view#
Action of type interfaces/action/CreateLedHSVMixedTrajectoryView
Served by: Motion (
motion_node)
Creates a view that mixes two LED colour trajectory views.
/execute_led_hsv_trajectory_view#
Action of type interfaces/action/ExecuteLedHSVTrajectoryView
Served by: Motion (
motion_node)
Plays an LED colour trajectory view. Refused while the LEDs show that modules are loading or that one died.
/create_envelope_trajectory#
Action of type interfaces/action/CreateEnvelopeTrajectory
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Stores an envelope of up to 10 waypoints, which modulates other trajectories.
/create_envelope_trajectory_view#
Action of type interfaces/action/CreateEnvelopeTrajectoryView
Served by: Motion (
motion_node)Called by: Behavior (
behavior_node)
Creates a view of an envelope.
/reset_base_pose#
Action of type interfaces/action/ResetBasePose
Served by: Motion (
motion_node)
Makes the base’s current pose the origin of odom: position (0, 0), yaw 0. Refused with ERROR_IN_USE while a base trajectory is being executed.
ros2 action send_goal /reset_base_pose interfaces/action/ResetBasePose "{}"
Parameters#
/{node}/set_parameters#
Service of type rcl_interfaces/srv/SetParameters
Served by: Camera (
stereo_publisher), Detection (person_tracker), Companion (companion), Motion (robot_state_publisher), Bridge (rosbridge_websocket)
Every ROS node serves its parameters on these standard services, under its own name, e.g. /stereo_publisher/set_parameters; listed are the nodes with parameters of their own. ros2 param set calls this one. See each module’s page for its nodes’ parameters and which can be changed while running.
ros2 param set /stereo_publisher depth_max_rate_hz 5.0
/{node}/get_parameters#
Service of type rcl_interfaces/srv/GetParameters
Served by: Camera (
stereo_publisher), Detection (person_tracker), Companion (companion), Motion (robot_state_publisher), Bridge (rosbridge_websocket)
Reads a node’s parameters. ros2 param get calls it.
ros2 param get /stereo_publisher depth_max_rate_hz
System#
/get_robot_config#
Action of type interfaces/action/GetRobotConfig
Served by: Motion (
motion_node)
Lists the robot’s start profiles, and the one running.
/run_profile#
Action of type interfaces/action/RunProfile
Served by: Motion (
motion_node)
Stops all modules and starts those of a start profile, as at boot. The result arrives before the modules stop; /get_robot_config tells the running profile once they are up again.
/get_motion_link_time_info#
Action of type interfaces/action/GetMotionLinkTimeInfo
Served by: Motion (
motion_node)
Measures how well the clocks of the robot’s computer and microcontroller agree.
/diagnostics#
Topic of type diagnostic_msgs/msg/DiagnosticArray
Published by: Camera (
stereo_publisher)
The camera module’s status.
/rosout#
Topic of type rcl_interfaces/msg/Log
Published by: Motion (
motion_node)
The standard log topic, which every node publishes its log to. motion_node also relays the microcontroller’s log lines to it.
/console_output#
Topic of type std_msgs/msg/String
Published by: Motion (
motion_node)QoS: Reliable, transient local.
The microcontroller’s console output.
/client_count#
Topic of type std_msgs/msg/Int32
Published by: Bridge (
rosbridge_websocket)QoS: Reliable, transient local.
How many clients are connected to the Bridge.
/connected_clients#
Topic of type rosbridge_msgs/msg/ConnectedClients
Published by: Bridge (
rosbridge_websocket)QoS: Reliable, transient local.
The address and connection time of each client connected to the Bridge.