Settings

Theme

Show HN: Robotics runtime in the browser (flight controller, WebAssembly)

cdn.copper-robotics.com

7 points by gbin 8 days ago · 3 comments · 1 min read

Reader

I built a small demo showing a robotics runtime executing entirely inside the browser via WebAssembly. The example workload is a simple flight controller hooked up to a small world simulator.

The runtime comes from copper-rs, an open-source robotics runtime written in Rust for deterministic workloads. While robotics stacks are often tightly coupled to specific OS distributions and environments, here, the same code runs on microcontrollers (for example this flight controller also compiles for STM32H7 and flies real drones) as well as on desktop OS targets like Linux, macOS, and Windows.

The simulator is built with Bevy.

The monitoring interface is built with ratatui, mapped to a Bevy surface in the browser (normally it runs in a real terminal).

gbinOP 8 days ago

Author here, we also have a simple cart-pole demo available https://cdn.copper-robotics.com/demo/balancebot/index.html

petermcneeley 4 days ago

Flagged for not loading. Looks to be vibed without love.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection