# Autonomous Trail Racing with a Bicycle Robot

Robotics.world

> A two-wheeled bicycle robot races off-road trails at speed with released code, pushing learned agile locomotion onto unstable platforms rather than legged ones.

**arXiv**: 2611.15280 · Preprint · not peer-reviewed

**Published**: 2026-11-11

**Authors**: Fabian Jenelten, Deepana Ishtaweera, Pablo Garcia, Liana Margolese, Igor Bogoslavskyi, Luca Buonocore, Jan Migliazza, Aleksandrs Ecins, Annika Wollschlaeger, Dario Bellicoso, Gabriel Nelson, Abel Gawel, Marco Hutter

## In plain words

Autonomous navigation of rough mountain bike trails is hard for wheeled robots because the terrain is uneven and unpredictable, and because a bicycle is statically unstable. Conventional systems split the job into a high-level planner that issues steering or pose commands and a low-level controller that tracks them — a split that becomes fragile at racing speeds.

## AI summary

## Overview

- **Research area:** Field robotics — legged/wheeled locomotion learning, off-road autonomy, semantic perception, and reinforcement learning for high-speed navigation.
- **Technical level:** Advanced. It assumes familiarity with Markov decision processes, on-policy reinforcement learning, terrain curricula, vision foundation models, and elevation mapping.
- **Scope:** The paper presents an end-to-end system in which a two-wheeled bicycle robot autonomously races a kilometer-long mountain bike trail using only onboard sensing and compute, by encoding the trail as a semantic layer of the terrain mesh during training and reconstructing that layer onboard at deployment.

## What This Paper Is About

Autonomous navigation of rough mountain bike trails is hard for wheeled robots because the terrain is uneven and unpredictable, and because a bicycle is statically unstable. Conventional systems split the job into a high-level planner that issues steering or pose commands and a low-level controller that tracks them — a split that becomes fragile at racing speeds.

The authors' goal is to remove that command interface entirely. They train a single policy that handles both staying on the trail and physically riding the bike, then build a perception pipeline that reconstructs the trail's location from cameras and LiDAR so the same policy works on a real trail without a global map, GPS-style route, or human operator.

## Key Contributions

1. **Trail-as-semantics learning formulation (TENa):** A platform-agnostic MDP in which the traversable path is painted directly into the terrain mesh as vertex colors and treated as a soft boundary. Local navigation and locomotion collapse into one joint optimization problem, with no twist/pose commands and no goal-position observation — only a boolean signal for reaching the final zone.
2. **Procedural trail generator (TL):** A modular framework that produces parameterizable, unidirectional synthetic mountain bike trails, plus high-fidelity digital twins (DT) of real parkour obstacles and of the target outdoor trail, enabling zero-shot deployment of racing policies.
3. **SemMap perception pipeline:** A frozen DINOv3-s backbone with a lightweight dual-head decoder that outputs per-pixel segmentation, traversability, and a per-pixel confidence score from feature reconstruction, fused with LiDAR and odometry into a two-layer, robot-centric semantic elevation map running at 30 Hz on an NVIDIA AGX Orin.
4. **Real-world demonstration and open sourcing:** Autonomous racing across all sections of a kilometer-long unstructured trail, exceeding the prior teleoperated policy by a factor of 2.3 in speed, with the TL and SemMap modules released as open source.

## Main Findings

- **Real-world trail racing succeeded:** The UMV autonomously traversed all sections of a kilometer-long, unstructured mountain bike trail, averaging 3.26 m/s and exceeding 5 m/s at peak, using only onboard perception and computation.
- **Faster than teleoperation:** On the real-world trail where baseline data exists, the autonomous policy outperforms the teleoperated policy from the prior UMV work by a factor of 2.3 in speed.
- **Fewer failures than hierarchical baselines:** In simulation, the unified policy fails up to an order of magnitude less often than hierarchical baselines built on the prior UMV policy — including one with a learned navigation policy — while driving faster.
- **One framework, two behaviors:** With fixed reward weights (w₁ = 1, w₂ = 0.2, w₃ = 5), the same pipeline produces both trail racing and agile parkour; only terrain semantics and episode length are varied. In the parkour demonstration a single policy navigates a slalom, accelerates up a ramp at 5 m/s, clears a 1.2 m gap, lands on a five-step staircase, and executes a track-stand within an 8 s window.
- **Time-optimality without a time objective:** Because the maximum per-step standing reward (w₃ + w₂) exceeds the maximum driving reward (w₁ + w₂), arriving earlier strictly increases return within the fixed episode length, inducing high-speed behavior without an explicit time term or path parameterization.
- **Fast, accurate perception:** The semantic pipeline runs at up to 90 Hz in isolation (up from a 50 Hz baseline), and the full semantic elevation map is produced at 30 Hz onboard on an NVIDIA AGX Orin; the map spans 15 × 15 m² at 0.1 m cell size.
- **Label-efficient adaptation:** A new environment can be adapted to from 20 labeled images within minutes on the robot's own computer, using DINOv3-s class-token clustering to pick images and SAM3-generated masks for offline labeling.
- **Confidence scoring works as an OOD signal:** The cosine-similarity reconstruction score flags unseen obstacles at a usable threshold, unlike softmax confidence, and is used to weight map fusion.
- **Simulation environment scale:** 1000 randomized terrain patches, each with two 10 m platforms joined by a 36 m trail, yield over 46 km of traversable tracks totaling roughly 4.5 million vertices, instantiated in about 4 GB of VRAM; training used a single NVIDIA L4 GPU with 24 GB and 4096 parallel environments.

## Methodology in Plain English

The team starts from the observation that a trail is, in a sense, a label: it tells you where you are allowed to go. So they "paint" the trail onto the 3D terrain models used in simulation — red for the primary trail, yellow for the start zone, magenta for the finish, blue for illegal zones — and give the learning agent a two-layer height scan: one layer for the shape of the ground, one boolean layer saying whether each scanned point is on the trail.

Because the trail itself constrains the agent, there is no need to feed it steering commands or a goal coordinate. The only command it receives is a boolean "stand" signal, triggered when a ray from the robot hits a zone labeled for standing. Rewards are three simple terms: move forward (up to a threshold speed v_min = 2, raised to 10 in the high-speed Allmend simulation), stay on the trail (a soft dense reward rather than a hard termination), and come to rest at the finish. Episodes end early on joint limit violations, entering illegal zones, or upper-body contact with the terrain.

Trails for training are generated procedurally: a cross-section is swept along a 4D path (x, y, z, yaw), start and end platforms are welded on, lateral vertices are extended, and skill elements such as stairs, pump-track waves, jumps, drops, rocks, curves, skinnies, roots, and ramps are inserted. Random geometric disturbances (noise, slopes, sinusoids) and decorative objects prevent the policy from overfitting to specific layouts. A terrain curriculum promotes the agent when it reaches the final zone and demotes it otherwise; for the real-world digital twins, where the geometry cannot be parameterized, the curriculum instead flattens the mesh and progressively restores vertical scale.

For deployment, the robot needs to see the trail. An RGB image is resized to 320 × 512 and passed through a frozen DINOv3-s backbone, giving a 20 × 32 patch grid. A learned upsampler (partial, by a factor of 4 rather than 16) sharpens the features, and a small trained decoder splits into a segmentation head and a reconstruction head, the latter producing a per-pixel confidence via cosine similarity to the original features. Class logits are turned into traversability with per-class weights and a temperature-weighted softmax, so the same network can be repurposed for a different robot or task just by changing weights. Traversability and confidence are then fused with LiDAR point clouds and odometry into the 2.5D elevation map, with confidence- and range-weighted updates, a capped evidence weight per cell, and an OpenCV inpainting filter to fill occluded cells.

## Why This Matters

**Impact on research.** The paper argues that the command interface used throughout autonomous hiking and parkour work is itself a bottleneck at high speed, and backs this with simulation evidence of up to an order of magnitude fewer failures for the unified formulation. It also offers a reusable recipe — semantics painted into terrain meshes plus a high-rate semantic elevation map — that spans racing and parkour with one set of reward weights. Releasing the trail generator and SemMap as open source gives the field a concrete baseline for autonomous trail racing, a problem the authors describe as sitting at the intersection of navigation, hiking, parkour, ground-vehicle racing, and drone racing.

**Real-world applications:**

- Off-road delivery and inspection in forests and trails where no map or GNSS-quality localization is available.
- Search-and-rescue logistics over unpaved, seasonally changing terrain.
- Agricultural and environmental survey robots operating on narrow, unstructured paths.
- Two-wheeled personal-mobility platforms that could follow a rider-selected trail autonomously.

**Industry relevance.** The system runs entirely onboard on an NVIDIA AGX Orin with a frozen foundation-model backbone and a small trained decoder, which is an attractive compute profile for commercial products. The "change the class weights, not the network" design and the ability to adapt from 20 labeled images in minutes on the robot itself lower the cost of deploying to a new site — a key practical constraint for anyone shipping outdoor autonomy.

## Future Directions

- **Higher racing speeds.** Policies were deliberately tuned to 3 m/s to 5 m/s as a trade-off between real-world success and speed, while the underlying hardware has demonstrated 8 m/s on flat ground. Pushing the autonomous system toward that envelope is an open engineering question.
- **Long-horizon reasoning and energy management.** The formulation explicitly assumes long-horizon energy management is negligible, and the policy never observes the remaining distance to the goal. Trails where pacing or stamina matters would break this assumption.
- **Robustness to genuinely novel terrain.** The confidence score flags out-of-distribution content, but the paper does not report how the system behaves on trails structurally unlike the training distribution or on obstacles outside the closed class set.
- **Broader platform transfer.** The MDP is described as platform-agnostic and traversability weights are decoupled from segmentation, but the paper demonstrates only the UMV; validating on other robots, and comparing against human riders (which the paper does not report), would clarify how much headroom remains.

## Target Audience

Robotics researchers and graduate students working on learning-based locomotion, off-road autonomy, or semantic perception; engineers building outdoor autonomous vehicles who need a working example of onboard semantic mapping fused with a learned controller; and practitioners interested in how reinforcement learning can absorb navigation into a single policy rather than relying on a planning-then-tracking hierarchy. Readers without a background in RL or 3D perception will find the system-level framing accessible but the method sections dense.

## Authors’ abstract

Navigating off-road trails on a mountain bike requires diverse locomotion skills, including aerial maneuvers, cornering, and slip recovery, paired with sophisticated perception for scene understanding. Translating these capabilities to autonomous, two-wheeled robots remains a formidable challenge. We show that autonomous, high-speed trail navigation can be achieved through a single idea: encoding the trail as a semantic layer of the terrain. In simulation, this layer embeds…

[The full abstract on arXiv](https://arxiv.org/abs/2611.15280)

[Read the original paper](https://arxiv.org/abs/2611.15280)

## Related papers

- [Bicycle Acrobatics with Reinforcement Learning](https://robotics.world/paper/bicycle-acrobatics-with-reinforcement-learning-2608.00880) 2026-08-01 · cs.RO · Also by Gabriel Nelson
- [Curie's Jarvis: Autonomous Robotic Chemistry Experiments from Printed Protocols](https://robotics.world/paper/curie-s-jarvis-autonomous-robotic-chemistry-experiments-from-printed-2611.13251) 2026-11-09 · cs.RO · Key terms of the title in common
- [Technical Report of Auriga's 1:10 Scale Autonomous Vehicle Robot](https://robotics.world/paper/technical-report-of-auriga-s-1-10-scale-autonomous-vehicle-robot-2611.18855) 2026-11-13 · cs.RO · Key terms of the title in common
- [Autonomous Whole-body Loco-manipulation Using a Snake Robot](https://robotics.world/paper/autonomous-whole-body-loco-manipulation-using-a-snake-robot-2611.09777) 2026-11-06 · cs.RO · Key terms of the title in common
- [Vision-Language Grounded Semantic Navigation for Autonomous Mobile Robots](https://robotics.world/paper/vision-language-grounded-semantic-navigation-for-autonomous-mobile-2611.20558) 2026-11-16 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/autonomous-trail-racing-with-a-bicycle-robot-2611.15280
