Show HN: Fly a nano-drone from your terminal (Rust TUI) (github.com)
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/
0 comments
[ 2.8 ms ] story [ 9.1 ms ] threadNo comments yet.