Navigation Lab

Source

A small robot. Your next destination.

Tap any open space to navigate. Tap again to change course.

ROS 2 · WebAssembly
Interactive navigation requires JavaScript and WebAssembly.
Loading ROS 2 runtime…
Loading…
RobotPathGoal
12 × 8 m · A* planner

Goals snap to the grid. The robot keeps a safe distance from walls.

How it works Rust, A*, and ROS 2

Real ROS 2 nodes run in this tab. ROS2WASM compiles ROS 2's rcl node API and its browser middleware to WebAssembly. The browser_ui node publishes your destination; the navigator node receives it and calls the Rust A* planner and controller. State returns through a ROS subscription before it reaches the canvas.

browser_ui→ /goal_pose →navigator + Rust→ /state →Canvas

Live nodes: Starting…
Middleware: Starting…

Topic ROS type Published / received

These counts come from real ROS publish/take calls. This experimental runtime communicates locally inside your browser; it does not connect to a robot or provide production DDS, ROS actions, parameters, or QoS guarantees.

Keyboard: focus the map, use arrow keys to choose a cell, then press Enter. Pause holds the robot. Reset returns it to the start.

Explore the nodes and build it with Docker ↗