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#

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#

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#

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#

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#

The fixed transforms of Mino’s URDF, such as from the head to the cameras.

/robot_description#

Mino’s URDF, e.g. for rviz2’s RobotModel display.

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#

/left/image_raw as JPEG, in the image_transport compressed format.

/left/image_rect#

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#

/left/image_rect as JPEG, in the image_transport compressed format.

/left/camera_info#

The left camera’s calibration, with the stamp of each image.

/right/image_raw#

As /left/image_raw, for the right camera, in right_camera_optical_frame.

/right/image_raw/compressed#

/right/image_raw as JPEG.

/right/image_rect#

As /left/image_rect, for the right camera.

/right/image_rect/compressed#

/right/image_rect as JPEG.

/right/camera_info#

The right camera’s calibration.

/left/set_camera_info#

Stores a new calibration for the left camera, as the camera_calibration package sends it.

/right/set_camera_info#

Stores a new calibration for the right camera.

Depth#

/depth/image_rect#

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#

/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#

The confidence of each depth, between 0 and 1.

/depth/confidence/compressed#

/depth/confidence scaled to 0-255, as PNG.

/depth/color#

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#

/depth/color as JPEG.

/depth/camera_info#

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#

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#

All the tracked boxes, in pixels of /depth/color, with the same stamp as /detection/people.

/detection/appearance#

The appearance of each tracked person, by track ID, with the header of /detection/people_2d.

/detection/people/markers#

A sphere and a label per tracked person, for rviz2.

/companion/state#

The following behavior’s state, on every change.

/companion/user#

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#

The user, as a cylinder as tall as their estimated height, and where the head last aimed, for rviz2.

/companion/forget_user#

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#

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#

The final transcript of each utterance.

/emotion_classification#

The emotions recognised in each sentence of partial and final transcripts, except those with a command.

/command_classification#

The command recognised in a partial or final transcript, with its whole text. Only published if there is one.

/query_llm#

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#

Stores a base trajectory of up to 10 waypoints on the microcontroller.

/create_base_trajectory_view#

Creates a view of a base trajectory, which can then be executed.

/create_base_modulated_trajectory_view#

Creates a view of a base trajectory modulated by an envelope.

/create_base_mixed_trajectory_view#

Creates a view that mixes two base trajectory views.

/execute_base_trajectory_view#

Moves the base along a trajectory view, reporting the laps completed.

/create_head_trajectory#

Stores a head trajectory of up to 10 waypoints on the microcontroller.

/create_head_trajectory_view#

Creates a view of a head trajectory, which can then be executed.

/create_head_modulated_trajectory_view#

Creates a view of a head trajectory modulated by an envelope.

/create_head_mixed_trajectory_view#

Creates a view that mixes two head trajectory views.

/execute_head_trajectory_view#

Moves the head along a trajectory view.

/create_led_hsv_trajectory#

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#

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#

Creates a view of an LED colour trajectory modulated by an envelope.

/create_led_hsv_mixed_trajectory_view#

Creates a view that mixes two LED colour trajectory views.

/execute_led_hsv_trajectory_view#

Plays an LED colour trajectory view. Refused while the LEDs show that modules are loading or that one died.

/create_envelope_trajectory#

Stores an envelope of up to 10 waypoints, which modulates other trajectories.

/create_envelope_trajectory_view#

Creates a view of an envelope.

/reset_base_pose#

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#

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#

Reads a node’s parameters. ros2 param get calls it.

ros2 param get /stereo_publisher depth_max_rate_hz

System#

/get_robot_config#

Lists the robot’s start profiles, and the one running.

/run_profile#

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.

/diagnostics#

The camera module’s status.

/rosout#

The standard log topic, which every node publishes its log to. motion_node also relays the microcontroller’s log lines to it.

/console_output#

The microcontroller’s console output.

/client_count#

How many clients are connected to the Bridge.

/connected_clients#

The address and connection time of each client connected to the Bridge.