Skip to content

hopter-project/hopter-crazyflie

Repository files navigation

Hopter's Logo

Crazyflie 2.1 Flight Control

This flight control firmware is built on the Hopter embedded operating system, developed for the Crazyflie 2.1 miniature drone. Its structure closely follows that of the official firmware, which was developed using FreeRTOS.

To operate correctly, the firmware requires the drone to be equipped with the Flow Deck V2. This deck features theVL53L1x ToF sensor that measures the distance to the ground and the PMW3901 optical flow sensor that measures movements in relation to the ground. In addition, the firmware relies on the BMI088 inertial measurement unit to provide data on acceleration and angular velocity.

Build & Flash

First, follow the instructions provided by Hopter to install the custom Rust compiler toolchain.

Next, run make to build the program. The firmware expects the drone to have the bootloader installed. To flash over radio, run make cload. To flash over wire, run make load.

Fly

For safety reasons, the propellers will not turn unless the FLY constant in flight_tasks/crtp_rx.rs is set to true. Currently, the flight control commands are hard-coded in the firmware. The program commands the drone to hover for 10 seconds at an altitude of 0.5 meters.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages