A small ground robot can carry one camera and a few watts of compute, but the depth foundation models that could turn that camera into a range sensor are vision transformers sized for GPUs. We bring one to a Raspberry Pi 5 with the Hailo-8L, an accelerator that runs every layer in integer arithmetic, attention included. Quantised for it, Depth Anything V2 loses large parts of the scene, and we measure why: at 449 tokens, 91% of softmax weights fall below one int8 step while carrying 17-33% of the attention mass. Our answer is to distil, not quantise. An attention-free ResNet-34 U-Net student of Depth Anything V2-Large (24.5M parameters) runs at 27.1 FPS on the chip, its int8 output matches its float twin (Pearson 0.99993), and on held-out scenes of its simulated yard it is the most accurate depth network on the chip (AbsRel 0.269 against 0.354-0.530). On 1,000 stereo-verified points of a real outdoor drive it is not resolvably different from the vendor's Depth Anything V2-Small build, while running faster (27.1 vs 21.6 FPS). Ranging obstacles by where they meet the floor needs only the camera height, so mapping, hybrid-A* planning and SLAM run on the Pi's own CPU. In real-time hardware-in-the-loop tests in a Gaussian-splat reconstruction of a real yard, the stack reaches the goal without contact in 7.9±1.1 of 10 scenes, against 9.2±0.4 with exact obstacles, and in 7.7±0.7 on its own pose with simulated wheel odometry (ten seeds each; 8.2±0.4 with the real Pi and Hailo-8L in the loop, five seeds). The source code, pre-trained models and data are available at https://github.com/itaim18/DANIEL.
Figures & tables
Fig. 1: What the car sees: one moment of an exterior drive on the real robot (hand-driven, November 2026). Top left, the robot’s RGB camera (people blurred); top right, relative depth from our attention-free student, computed onboard on the Hailo-8L; bottom left, RealSense D435 stereo depth, recorded only as a reference; bottom right, the D435 left infrared image. Warm colours are near. The header gives the session clock, the steering and throttle sent to the car, and the driving mode. The pole and the pine trunks ahead of the car show up in all four views.
Fig. 2: The robot: a Traxxas rock crawler with a 0.56 × 0.29 m footprint. The onboard system uses only the colour image of the front camera; the camera’s stereo depth serves as a reference in Section IX . The Raspberry Pi 5 with the Hailo-8L AI HAT runs the whole system of Figure 3 and commands the steering servo and the electronic speed controller (ESC) through the PCA9685 PWM driver.
Fig. 3: The onboard system. Red: runs on the Hailo-8L NPU; blue: runs on the Raspberry Pi 5’s CPU; grey: sensors and actuators; dashed: simulated in the evaluation. The NPU computes depth for the next frame while the CPU processes the current one ( Figure 11 ), and the planner runs in its own process, so a slow search never stalls the frame loop. Metric range comes from the camera height, not from the depth network ( Section VI ).
Fig. 4: Why attention breaks in int8, measured in float Depth Anything V2-Small at the Hailo-8L’s 449-token input on 26 held-out frames. Left: for each of the 12 transformer blocks, the percentage of softmax weights smaller than one int8 step ( 1/255 ); on average 91 % are. Right: the share of each query’s attention mass that these small weights carry (median 23 %), which int8 rounds away. The last block, which feeds the depth head, loses the most.
Fig. 5: The attention-free student: a U-Net from 288 × 512 RGB to disparity at full resolution (grey: skip connections).
Model
AbsRel ↓
δ1↑
r↑
Speed
all
obst.
all
real
On the Hailo-8L (int8), FPS on the Pi
Ours, student v5
0.269
0.197
0.669
0.996
27.1
Ours, student v3
0.269
0.204
0.674
0.995
27.1
DAv2-S, Hailo zoo
0.354
0.334
0.593
0.979
21.6
DAv2-S, our int8
0.477
0.330
0.423
0.982
16.6
TABLE I: Depth on held-out frames (400 sim frames with metric GT; r : median Pearson to Depth Anything V2-Large on 100 real frames). Bold: best on the chip.
Fig. 6: Accuracy against measured on-chip throughput on the Raspberry Pi 5 + Hailo-8L (batch 1, logarithmic axis). Left: AbsRel on obstacle pixels of the 400 held-out simulated frames (lower is better). Right: Pearson agreement with Depth Anything V2-Large on 100 real robot frames (higher is better). Markers: models running on the chip (red star: ours). Horizontal lines: float GPU models, which cannot run on the Pi at these rates. The student is both the most accurate and faster than both Depth Anything V2-Small builds.
Fig. 7: Depth computed on the Hailo-8L for four real robot frames (rows). Columns, left to right: the robot’s camera image; the float Depth Anything V2-Large teacher on a GPU (the reference); our attention-free student (int8, on the chip, 27 FPS); Hailo’s Model Zoo build of Depth Anything V2-Small; and the two self-supervised models Hailo ships, SC-DepthV3 and FastDepth. Colour encodes relative depth (red near, blue far); dark bands lie outside a model’s input crop. The student keeps the teacher’s structure; the int8 transformer is blocky and loses fine structure (the chairs in the first row); the small zoo models are coarse.
Fig. 8: One real camera frame lifted to metric 3D on the Pi. Top left: the robot camera image. Bottom left: relative depth computed on the Hailo-8L (int8, 35 ms). Right: the resulting point cloud of about 80,000 points, seen from behind the robot (grid: 0.5 m). Metric scale comes from the floor profile and the camera height, with no metric training; pixels at depth discontinuities are removed.
Fig. 9: The obstacle scan on a held-out simulated frame, computed from Hailo-8L depth. Left: the robot’s view with the ground-contact point found in each image column (red), where a person’s foot and a cone meet the floor. Right: the same hits in bird’s-eye view (metres, robot at the origin, dashed lines: field of view) against the true footprints of the props (grey discs). The hits land on the footprints although the depth network has no metric scale.
Odometry source
median
p90
Ground-plane VO (camera only)
0.42
1.32
VO translation + gyro heading
0.36
1.04
Encoder + VO heading
0.22
1.18
Encoder + Ackermann heading from steering
0.25
0.61
Encoder + gyro
0.08
0.19
TABLE II: Self-localisation alternatives, offline on 50 recorded 35-s episodes (absolute trajectory error, m).
Fig. 10: Onboard SLAM and global planning on the robot’s own pose, in one cone-slalom episode. Left: top view of the yard (metres), with cones (dark discs), ground the prior map marks as non-drivable (grey), the true path (black), the onboard SLAM estimate (dashed), the goal (star) and every hybrid-A ∗ plan the Pi made (thin lines, early to late). Right: the distance between the SLAM estimate and the true position over time. The car reached the goal despite 0.47 m peak drift.
Fig. 11: The real-time budget on the Raspberry Pi 5 + Hailo-8L, measured on the robot computer. Left: median duration of each per-frame stage over three consecutive frames; the NPU computes depth for frame k+1 (top lane) while the CPU runs the decoding, scan and map, SLAM and navigation for frame k (bottom lane). Right: histogram of hybrid-A ∗ search times on the Pi (logarithmic axis; red line: median, 110 ms). Planning runs in a separate process and does not block the frame loop.
Configuration
n
Clean
Reached
Oracle: exact props, lockstep
5
9.8 ± 0.4
10.0
Real time, exact obstacles
5
9.2 ± 0.4
9.8
Student v3, GT pose
10
7.9 ± 1.0
9.0
Student v5, GT pose
10
7.9 ± 1.1
9.0
Student v3, own pose
10
7.1 ± 0.9
7.4
Student v5, own pose
10
7.7 ± 0.7
8.1
TABLE III: Clean goals of 10 (mean ± sd over n seeds) and goals reached.
Fig. 12: The deployed stack driving with the real Pi + Hailo-8L in the loop, on its own SLAM pose. Left: cone slalom. Right: backing away from a cone seen at close range. In each image: top left, a chase camera; top right, the robot’s camera; bottom left, depth computed on the chip with the commanded steering arc (red); bottom right, a bird’s-eye map with the obstacles (orange), the goal (green circle), its SLAM path (white), its current plan (magenta) and the car (yellow).
Fig. 13: The error budget: goals reached with no contact, out of 10 scenes, from an oracle down to camera-only odometry. Bars: mean over seeds; dots: individual seeds; error bars: one standard deviation; vertical ticks: mean goals reached with or without contact. The drops between the first four bars give the cost of each component: execution (0.6), perception (1.3) and self-localisation (0.2 clean, within seed noise; 0.9 reached).
Fig. 14: Clean success per scene: for each configuration (rows) and each of the ten scenes (columns), the percentage of seeds that reached the goal with no contact (green high, red low). Failures concentrate on the cone slalom, the gate, the chair cluster, the crate wall and the person-and-cones scene; camera-only odometry fails in most scenes.
Intervention
Outcome
Clean
+6 cm skirt on small obstacles
slalom closes
7.2 vs 7.6
Orange-mask cone contacts
slalom timeouts
7.8 vs 7.6
Look-first arc, off-axis goal
neutral, own pose
6.8 vs 7.1
Third planning pass
contacts move
7.8 vs 8.0
Faster follower
drift p90 ×1.6
7.4 vs 7.6
Uniform blocked-path margin
re-plans stall
6.6 vs 7.4
TABLE IV: Interventions that did not improve clean success ( ≥ 5 seeds; against the baseline of the time on the same seeds).
Method
AbsRel
per drive
δ1
Δ [95 % CI]
D435 / SGBM / FFS stereo †
0.009–0.040
–
0.97–1.00
–
DA3 S–L (GPU)
0.101–0.115
0.390–0.418
0.86–0.90
+0.129 to +0.143
DAv2 S/B/L (GPU)
0.160–0.181
0.422–0.427
0.82–0.84
+0.076 to +0.092
Hailo zoo DAv2-S (chip)
0.234
0.432
0.74
+0.017 [ −0.060 , +0.118 ]
Ours, chip replay
0.258
0.413
0.74
+0.004 [ +0.001 , +0.006 ]
Ours, live on the chip
0.262
0.410
0.73
–
TABLE V: Real drive, 1,000 stereo-verified points (park, sun; one run; D435 factory calibration). AbsRel with the scale fitted per frame and once per drive; Δ = ours (live) − method in per-frame AbsRel, frame-cluster bootstrap 95 % CI. † Each matcher against the other two on its own points: agreement, not comparable with the monocular rows. ‡ Median scale only (the others: scale and shift).
Department of Computer Engineering Devang Patel Institute of Advanced Technology and Research Anand, India · Space Applications Centre Indian Space Research Organization Ahmedabad, India