
Short answer: Microduck does not natively run ROS 2. Its public software stack uses Rust daemons and a JSON-RPC contract over Unix sockets. A ROS 2 integration can be added as an external bridge, but the public Microduck repository reviewed on 14 November 2026 does not ship an official ROS 2 package, a ros2_control hardware interface or a DDS graph inside robotd.
That distinction is important. “Microduck can work with ROS 2 through a bridge you build” is true. “Microduck supports ROS 2 out of the box” is not. If an existing ROS 2 stack is the non-negotiable part of the project, a vendor-maintained ROS robot may be the lower-risk purchase. If the walking robot and its open policy-training stack matter more, Microduck exposes a documented API from which a focused bridge can be built.
Microduck is made by Pollen Robotics, which publishes this site. This guide separates published product facts from a reference integration design so the bridge requirements are not mistaken for an official feature.
No. Microduck is not a ROS 2 robot, and its onboard control path does not require ROS 2.
The official Microduck repository describes a Rust workspace whose robot services communicate over one JSON-RPC contract on Unix sockets. The architecture documentation assigns motor control to robotd, which runs the 50 Hz loop and is the only process that writes the motor bus. ONNX locomotion policies run inside that local control boundary.
Four support levels are often confused:
| Requirement | Microduck status |
|---|---|
| Native ROS 2 node graph and DDS inside the stock runtime | No |
| Official vendor ROS 2 driver, launch files and URDF package | No package found in the public repository reviewed |
| External bridge from ROS 2 to the documented robot API | Technically possible; the integrator owns it |
| Python or simulator access without ROS 2 | Yes, through the published SDK and simulator |
A bridge can expose useful topics and actions without changing the fact that Microduck’s certified control loop is native to the robot. The bridge translates protocols; it does not turn the underlying runtime into ROS 2.
If you need the architecture rather than an integration recipe, the Microduck software architecture guide explains the daemons, safety ownership and ONNX policy path in more detail.
Microduck runs a Linux software stack on a Rockchip RK3566-class computer. The key design is not the operating-system label; it is the boundary between an intent and a motor command.
The stock path looks broadly like this:
gamepad / browser / Python SDK / robotctl
|
JSON-RPC over local Unix sockets
|
robotd
safety + selected ONNX policy
|
50 Hz control loop
|
15-servo busThe official README says the services “talk over one JSON-RPC contract on Unix sockets, and every client — the app, the console, the gamepad, your script — sends exactly the same calls.” Architecture details describe JSON-RPC 2.0 with one object per line. Status calls such as robot.health and state subscriptions such as robot.state are part of that contract.
There are three practical consequences for a ROS 2 developer:
robotd, where the robot’s safety and selected policy still arbitrate what happens.The robotctl cheat sheet is useful evidence for the state and intent model. robotctl monitor --json --hz 50 can print one state object per control tick for diagnostics, but a production bridge should use the underlying RPC contract rather than parse the terminal UI.
Build an explicit adapter between a ROS 2 node and the published Microduck JSON-RPC API. The adapter subscribes or sends RPC calls on the robot side, validates every command, and exposes ROS 2 messages, services or actions on the other side.
The reference architecture is:
ROS 2 applications
Nav2 / behaviour tree / teleop / diagnostics
|
DDS inside ROS 2
|
microduck_ros2_bridge
message conversion + watchdog
|
JSON-RPC over Unix socket
|
robotd safety - policy - motor busKeep the bridge on the intent side of robotd. It may read robot.state, call robot.health, request a policy or send a supported movement intent. It must not open the Dynamixel bus, write motor positions around the safety layer or replace the updater-managed runtime.
A minimal adapter needs five behaviours:
This is integration work, not a stock compatibility claim. A bridge maintained by one lab should be versioned against the robot API and retested after every Microduck update.
Use a hybrid split for most serious projects: run the smallest latency-sensitive adapter on the robot, and keep Nav2, perception-heavy nodes, visualisation and experiment orchestration on a companion computer.
| Placement | Advantages | Costs and risks |
|---|---|---|
| On the robot | Direct Unix-socket access, lowest protocol latency, local watchdog | Competes for RK3566 CPU and memory; has to survive robot updates; adds another onboard service |
| Companion computer | Isolates ROS 2, Nav2 and heavy perception; easier to debug and restart | Remote transport adds latency and failure modes; raw Unix sockets are not remotely reachable |
| Hybrid | Keeps intent conversion and watchdog local while the larger ROS graph runs elsewhere | Requires a clear transport and version contract between both machines |
For a first prototype, a companion-only bridge can be enough if it uses a documented remote transport. Do not expose the daemon sockets directly to a LAN to save integration work. The Unix-socket permission model is part of the robot’s boundary.
An on-robot bridge should also respect Microduck’s update model. The architecture document says releases are installed under /opt/robot/daemon/releases/ and swapped as a unit. Do not patch the active release directory and expect the change to survive an update. Package the bridge as a separately versioned service with its own configuration and rollback path.
Expose a small, intention-level interface before adding dozens of topics. A small contract is easier to test, safer to version and less likely to imply capabilities the stock robot does not provide.
A practical starting set is:
| Suggested ROS interface | Message or type | Direction | Design rule |
|---|---|---|---|
/microduck/joint_states | sensor_msgs/msg/JointState | Robot to ROS 2 | Publish measured positions at the rate the bridge actually receives; do not relabel command targets as measurements |
/microduck/imu | sensor_msgs/msg/Imu | Robot to ROS 2 | Populate only fields backed by real sensor data and document orientation conventions |
/microduck/health | diagnostic_msgs/msg/DiagnosticArray | Robot to ROS 2 | Preserve unhealthy, degraded and stale-state distinctions from robot.health |
/microduck/cmd_vel | geometry_msgs/msg/Twist | ROS 2 to robot | Validate frames, limits and freshness before translating to an intent |
/microduck/execute_move | An action using a small custom interface | ROS 2 to robot | Model an assignable one-shot move as an action with feedback and cancellation |
/tf and /robot_description | Standard ROS 2 transform and model types | Robot to ROS 2 | Publish only from the current robot model and calibrated joint conventions |
Use QoS deliberately:
BEST_EFFORT, keep-last depth 1 or another small depth. Large reliable queues turn a late consumer into an outdated observer.RELIABLE, keep-last depth 1, with a deadline. Retaining stale motion commands is dangerous.The 0.3 m/s and 1.5 rad/s limits shown in Microduck’s console documentation are useful upper reference points for the shipped drive control, not a certified limit for every bridge, surface or task. Start lower. A custom gait, payload, accessory or floor changes the safe envelope.
Preserve time correctly. If the robot publishes a monotonic clock, establish one offset between that clock and ROS time when the bridge starts. Do not stamp every message with the wall-clock time at which Python happened to receive it; message age and sensor fusion depend on the original sample.
Treat the bridge as a supervisory adapter, not as a replacement for the robot’s safety controller. robotd retains authority over deadman behaviour, limits, fall handling and motor output; the bridge must fail toward a stop.
Minimum safeguards are:
robotd path should command servos.Test in stages:
Before those physical tests, validate message conversion, watchdog logic and stale command handling in simulation or with recorded data. The robot policy evaluation guide provides a useful gate structure even though a bridge is not itself a learned policy.
ROS 2 is useful when Microduck must participate in an existing robotics graph. It is not required for the normal Python, simulator or reinforcement-learning path.
For plain robot programming, the published SDK and simulator are the direct route. Start with the Microduck Python SDK guide. For learning locomotion policies, microduck_rl, mjlab, MuJoCo and ONNX remain the relevant stack; adding ROS 2 does not retrain a policy or replace the 50 Hz runtime.
A bridge becomes valuable when you need:
rosbag2 recording of state and health for a larger experiment;Even then, keep training reproducible outside the ROS graph. A bridge should not become an undocumented stateful layer that changes reward inputs from run to run. Record the exact bridge revision, message schema, QOS profile and conversion rules alongside the dataset.
If the objective is to log performed actions for policy evaluation, publish both the requested intent and the state actually reported by the robot. That distinction reveals safety clamps, rejected commands and policy interventions that a command-only log hides.
Choose a native ROS 2 robot when ROS integration is a product requirement, not a side experiment. The vendor should maintain the driver, robot description, launch stack, controllers and at least one tested workflow for the exact hardware revision.
Mini Pupper 2 is the clearest current comparison for a small ROS 2 quadruped. Its Mini Pupper ROS repository is Apache-2.0 and includes bringup, description, driver, navigation, SLAM and simulation packages. The official Mini Pupper manual documents ROS 1 and ROS 2 learning paths. That is a different risk profile from writing and maintaining a Microduck bridge yourself.
Hiwonder PuppyPi is another ready-built alternative when an integrated Raspberry Pi vision and ROS path matters more than a small biped. Its current configuration matters: the manufacturer lists ROS 2 support for some Pi 5 kits while the Pi 4B configuration is listed around ROS 1. Verify the exact bundle, image and documentation rather than assuming every PuppyPi variant is equivalent.
| Buyer goal | Better starting point |
|---|---|
| A maintained ROS 2 graph without writing a driver | Mini Pupper 2 or another vendor-supported ROS robot |
| A small biped with open locomotion-policy training | Microduck, accepting custom ROS integration work |
| A more complete Pi 5 ROS and vision kit | The exact ROS 2 version of Hiwonder PuppyPi |
| Python and simulator first, ROS 2 later or never | Microduck SDK and simulator |
For detailed kit contents and current price context, use the best Raspberry Pi robot dog kits comparison. It separates ROS claims from the compute, battery and assembly actually included.
The choice is not “native ROS 2 is always better.” A maintained ROS 2 package saves driver work; Microduck offers a different robot form, an assembled path and a public reinforcement-learning workflow. Match the purchase to the work the team wants to own.
Does Microduck run ROS 2 natively? No. The published runtime is a Rust daemon stack using JSON-RPC over Unix sockets, with a 50 Hz policy loop onboard.
Can I connect Microduck to ROS 2? Yes, by writing and maintaining an external bridge that translates between ROS 2 interfaces and the documented Microduck API.
Does Pollen Robotics publish an official ROS 2 package? No ROS 2 package, launch stack or ros2_control hardware interface was present in the public Microduck repository reviewed on 14 November 2026. Check the current repository before relying on this status.
Can I use micro-ROS instead? micro-ROS is intended for microcontroller environments. Microduck’s controller is a Linux computer, so a normal rclpy or rclcpp bridge is the more relevant starting point.
Can Nav2 drive Microduck? A bridge can expose velocity and state interfaces that Nav2 consumes, but that does not make Microduck a validated Nav2 platform. Legged navigation, odometry quality, localisation and obstacle clearance still need task-specific validation.
Can I use ros2_control without changing Microduck? Treat it as custom integration, not an existing hardware plugin. A correct adapter should speak to the documented robot API and preserve robotd as the only motor-bus writer.
Should the bridge run on the robot or a laptop? Use an on-robot minimal bridge for direct API access and a watchdog, then place heavy ROS nodes on a companion computer when possible.
Does adding ROS 2 improve policy training? Not by itself. Training still happens in simulation and produces an ONNX policy. ROS 2 is useful for orchestration, data recording and integrating the robot with a larger system.
Is Mini Pupper 2 a better ROS 2 robot? It is the lower-integration-risk choice when a supported ROS 2 stack is the priority. Microduck remains the relevant option for a small biped and an open policy-training workflow.
ros2_control interface was found in the public repository reviewed.robotd as the only motor-bus writer and the 50 Hz policy loop onboard.Product and architecture facts were checked against the official Microduck repository on 14 November 2026:
The bridge mappings, QOS choices and test sequence on this page are an implementation reference, not an upstream product promise. Recheck the current API contract before building against a new Microduck release.