Mila and Polytechnique Montréal team open-source ~$2,000 robot guide dog Milo, built on Unitree Go2 for autonomous indoor and outdoor navigation
Mila-Quebec AI Institute and a Polytechnique Montréal team have released Milo, an open-source robot guide dog that they say can cut the roughly $50,000 cost of a guide dog to about $2,000. The hardware base is a Unitree Go2 Air/Pro plus an NVIDIA Jetson Orin Nano; a magnetic-encoder telescoping handle is used to inversely solve the user's 3D position, a bird's-eye-view map is built first and then a navigation policy is run, and the policy is trained in about 10 minutes in GPU-accelerated simulation and deployed zero-shot on the real robot.
Source: LeadeRobot · leaderobot.com
The original article fully breaks down Milo's perception, policy training, and real-world testing details, so readers can reuse its engineering trade-offs in their own navigation projects.
How much does a guide dog cost?
Breeding, raising, and training a single dog costs more than $50,000. Many applicants must wait in line for years, often 2–4 years, to be matched with a suitable service dog; and the dog's actual working years are quite limited.
![]()
Now, a team from the Mila-Quebec AI Institute and Polytechnique Montréal says it has driven the cost of this down to about $2,000.
They built a robotic guide dog called Milo: no need to pre-scan the environment, no external laptop computing, no internet connection, it can walk both indoors and outdoors, leads the way while dodging obstacles and pedestrians, and knows where the person next to it is and whether a collision will occur.
The entire hardware design and software stack are fully open source.
![]()
01.
First, let's be clear: how exactly is it better than the competition
Robotic guide dogs are not a new idea, but previous solutions have all had a bit of a "lab flavor" to them.
Some can only walk outdoors and rely on GPS positioning, becoming helpless indoors; some require a pre-built 3D map of the environment, or a human to remotely walk the route first for the robot to reproduce; and others offload the perception and planning computation to an external laptop, which strictly speaking isn't "autonomous".
A more crucial point: past systems mostly treated the robot as an independent individual when planning paths.
But guiding a person is fundamentally a collaborative task. In real scenarios, the human gives high-level intent (where to go, how fast, turn at the next intersection), while the dog handles local path following and obstacle avoidance. If the robot only cares about whether it can squeeze through itself, the route it plans could be a disaster for the person next to it—because the person is wider and taller than the robot, and is being led along.
Milo satisfies all of these at once: works indoors and outdoors, doesn't require a known environment, fully onboard computation, accepts user commands, explicitly models the user's dynamic position, and is open source.
![]()
02.
A single handle lets the robot dog know "where the person is"
Milo's hardware base is the Unitree Go2 Air/Pro—the reason for choosing it is simple: cheap, comes with a front-facing camera and LiDAR, and is available for purchase.
But the stock Go2 has no computing power capable of running machine learning inference, so the team added an NVIDIA Jetson Orin Nano, striking a balance between price, size, and performance. In testing, this board can run the full pipeline at 5Hz: voxel mapping, segmentation network, object detection network, plus a CNN-based navigation policy.
The really interesting part is the leash mechanism.
Guide dogs are usually held in the left hand, leaving the right hand for the white cane, though left-handed people tend to do the reverse. And on narrow paths, the robot dog sometimes needs to temporarily walk in front of the person to make way—which means the relative position between the human and the robot must be variable.
So the team didn't use a rigid harness, but instead made an extendable handle connected to the dog's body via a 3D-printed two-degree-of-freedom joint. The joint has magnetic encoders that measure the handle's azimuth and pitch angles in real time; combined with the handle length, the user's three-dimensional position relative to the robot dog can be solved for.
At the end of the handle there is also a five-way directional pad: the center button pauses/resumes, forward and backward adjust the desired walking speed, and left and right indicate "I want to turn at the next intersection."
![]()
03.
No map needed, all done by looking on the spot
Milo doesn't use an end-to-end black-box navigation policy; instead, it first compresses the world into a human-readable bird's-eye view (BEV), then feeds it to the policy network.
The benefit of this approach: it uses less memory than a dense 3D map, and this image naturally lends itself to adding accessibility features—such as voice announcements like "obstacle 2 meters ahead, at the 10 o'clock direction."
How exactly is this map built?
After the camera captures a 1280×720 RGB image, it first undergoes undistortion correction, then splits into two paths: one goes to NanoSAM (a version distilled from MobileSAM and optimized for Jetson) to segment the traversable area, with the prompt point placed at the bottom center of the frame—by default the robot starts on the path, facing the direction of the path; the other goes to YOLO for object and pedestrian detection.
Pedestrians are singled out for separate handling rather than lumped in with ordinary obstacles, which is necessary to produce smoother interaction behavior. To also localize distant pedestrians in time, the team added Metric Depth Anything V2 for monocular depth estimation, calibrated with LiDAR measurements.
There's an engineering detail worth mentioning here: the raw depth model could only run at 2.64 FPS on the Jetson, and after the team switched to a TensorRT-optimized pipeline, inference speed rose to 24.02 FPS with essentially no loss in accuracy.
On the LiDAR side, the system reads the robot's built-in mapping results in real time, applies motion compensation, and stores them as a voxel map with 10-centimeter resolution. Voxels below a certain height are filtered out (removing the ground while staying robust to uneven terrain), and those above a certain height are also discarded (ceilings, tree canopies, etc.—you can walk under those anyway).
Finally, the segmented traversable road surface, the detected objects and pedestrians, the robot's own state, and the user's position computed from the magnetic encoders are all fused into this BEV image. The user is drawn as a circle on the image—this is how the policy "sees" the person.
![]()
04.
A policy trained in 10 minutes, and a "fallback" safety valve
The policy is trained in simulation.
The team wrote a GPU-accelerated BEV simulator in Taichi: roads are randomly generated straight lines and Bézier curves that can be rotated and joined to form T-junctions and crossroads, with widths sampled from the range of sidewalk widths specified by local civil codes; walls are randomly sampled road outlines (so there can be no wall, a wall on only one side, or walls on both sides); obstacles are randomly rotated blocks; pedestrians are circles moving along the path at fixed offsets and random speeds.
A very clever detail: the simulator overlays 2D Perlin noise on the road surface image to artificially create "missing chunks" of road—used to simulate imperfect segmentation results in the real world.
On a 2018 Titan RTX, this environment can run 64 instances in parallel, each at about 40 frames/second, for a total throughput of about 2560 frames/second. For comparison, the paper notes that policy training in similar prior work took about 30 hours, while Milo's policy can be trained in about 10 minutes.
The observation is a 200×200 BEV image, with the previous two frames stacked for 9 channels; the actions are forward velocity, lateral velocity, and yaw rate; the reward function has 14 terms in total, including eight collision penalties for "dog/person" × "out-of-bounds/hit wall/hit obstacle/hit pedestrian", forward velocity tracking, lateral and yaw suppression, action jitter penalty, and inner and outer safety zone rewards around the midpoint of the robot and the user (inner radius 0.6 meters, outer radius 1.2 meters). These two radii were tuned: too small and the policy becomes aggressive and dangerous, too large and it becomes "neurotic".
The algorithm is GPU-optimized PPO, trained in simulation and deployed zero-shot on the real robot.
On the real robot, 5 threads run at different frequencies: LiDAR voxel mapping at 5Hz, odometry and magnetic encoder readings at 18Hz, camera segmentation and detection at 4Hz, policy inference at 4Hz (bottlenecked by the camera thread), and control thread at 10Hz (repeating the last command while waiting for a new one).
There is also a local obstacle avoidance safety filter that reads the raw point cloud and pose directly, performing a final interception before commands are sent to the robot: it progressively reduces forward speed when approaching an obstacle directly ahead, dropping to zero at a critical distance; lateral movement toward the obstacle is first blocked, and if already too close, it applies a bit of reverse lateral velocity to push the robot away.
![]()
05.
Field test: the robot might scrape the wall, but the person won't
The team conducted comparisons in real indoor and outdoor scenarios, with the baseline being a costmap controller similar to classic approaches: projecting the segmented traversable area onto the ground to generate five Bézier curve candidate trajectories—far left, left, straight, right, far right—scoring them by traversable length and selecting the lowest-cost one.
![]()
The first test was path following, on an S-shaped wooden bridge in a park, with no walls, relying entirely on road segmentation; the starting orientation was deliberately set so that "at least two turns are required."
Results: costmap averaged 21.3 seconds (±1 second); the policy took 13.7 seconds at maximum speed and 22.3 seconds at minimum speed. But what matters more is safety—in every costmap run, the user collided with the bridge boundary, and for several meters walked along a route unsafe for the person. The policy had zero user collisions, with only 2 robot self-collisions occurring at the high-speed setting.
![]()
The second test was static obstacle avoidance, on a rather tight turn for a "human-dog pair," going around a trash can and a flower bed. Two comfort zone lines were drawn on the ground: 0.25 meters (danger) and 0.5 meters.
Results: policy 11.7 seconds (±2 seconds), costmap 10.5 seconds (±1 second), roughly the same time. But all three costmap runs caused hard collisions between the user and the trash can, and in 2/3 of the runs the robot itself also crossed inside the 0.25-meter line. The policy had no dangerous user trajectories at all, though in every episode the robot itself hugged the second obstacle, with contact occurring in 2/3 of the runs.
This result quite consistently reflects the policy's orientation: it prioritizes protecting the person, at the cost of being more likely to scrape things itself.
The third test was pedestrian avoidance. The original plan was to have two collaborators walk toward the robot at a fixed pace in a corridor, but the team found this setup had poor reproducibility across multiple experiments, so they only gave a qualitative conclusion: Milo can avoid oncoming pedestrians reasonably well, but struggles with pedestrians overtaking from behind—when the overtaking person first enters the field of view, the robot dog sometimes makes a lateral dodging motion, only recovering after the person has moved more than a meter away. The team believes this could be addressed by modulating the lateral and yaw response when a pedestrian suddenly appears within a 1-meter radius.
06.
There are still a few things it can't do
Of course, there are still some things it can't do.
The most interesting one is: NanoSAM's prompt point is fixed at the bottom center of the frame, so when starting up, the robot dog must be standing on the road and facing the direction of the road — if it starts up facing a wall, it will segment the wall into "ground". The team tried replacing it with SegFormer, which doesn't rely on orientation assumptions and can find that small patch of floor in the frame even when facing a wall, but the trade-off is that indoor and outdoor require two separate models, and performance drops noticeably in out-of-distribution scenes such as snow-covered sidewalks, tiled plazas, and park paths. After weighing the options, they still chose NanoSAM — after all, the constraint "don't start up facing a wall" is just too easy to satisfy.
![]()
The other pitfalls are also laid out in the open: the ground projection assumes the terrain is flat, and ramps and slopes haven't been handled yet; at higher speeds LiDAR mapping becomes the bottleneck; with too many people the robot dog becomes overly conservative (while in reality passersby often approach out of curiosity); and it can currently only travel on sidewalks and indoor floors, not cross the road — to get there, crosswalks, traffic lights, and vehicle detection still need to be added.
In other words, what Milo can do now is the part of the guide dog's "core skill set": following the path, avoiding obstacles, dodging pedestrians, and protecting the person beside it. The rest, the team has passed the baton to the community.
Everything is open-sourced, from how the robot hardware is built, to the simulation environment, policy training code, onboard perception stack, and the trained navigation policy. Interested friends can go learn more:
Project homepage:
https://fgolemo.github.io/milo
Demo video:
https://youtu.be/hCJE4ORoizo