Settings

Theme

Show HN: Fly a nano-drone from your terminal (Rust TUI)

github.com

2 points by wazHFsRy 10 days ago · 0 comments · 1 min read

Reader

in action video: https://github.com/user-attachments/assets/f349595d-bece-4ac...

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/ [2]: https://ratatui.rs/

No comments yet.

Keyboard Shortcuts

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