Show HN: Fly a nano-drone from your terminal (Rust TUI) A developer created a Rust terminal user interface (TUI) to control a Crazyflie nano-drone, enabling free flight, mission recording and playback, and pre-planned mission execution. The project, built as a Rust learning exercise, uses the Elm architecture with the Ratatui library and plans to add visual mission planning and AI-based obstacle avoidance. in action video: https://github.com/user-attachments/assets/f349595d-bece-4ac... https://github.com/user-attachments/assets/f349595d-bece-4ac4-bee1-aff24978ac10 I wanted a Rust learning project and for this I created a TUI to control a crazyflie from the terminal. Besides free flight with wasd + arrow keys it can record while flying and play that back. Missions can also be planned in advance and just executed with different flying modes . The crazyflie only has a flow deck, a downwards pointing camera and distance sensor, for its position - so there can be quite some drift. It was also very fun to explore how well the TEA 1 Elm architecture fits with ratatui 2 Next I'll add: - visual mission planner - trajectory upload to the crazyflie for execution without connection - maybe obstacle avoidance with the AI deck 1 : https://guide.elm-lang.org/architecture/ https://guide.elm-lang.org/architecture/ 2 : https://ratatui.rs/ https://ratatui.rs/ Comments URL: https://news.ycombinator.com/item?id=48934838 https://news.ycombinator.com/item?id=48934838 Points: 1 Comments: 0