Skip to content

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

cdn.copper-robotics.com
7 pointsgbin3 comments
On HN

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).

Comments

gbinOP

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

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

Loads for me, had to refresh the page once though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.