Skip to content

Tags: victorhook/asac-fc

Tags

v0.0.1

Toggle v0.0.1's commit message
First controlled take-off and flight, wehooo!!

- Found CRUICAL reason why drone spun onctrollably
around yaw axis, the Z from IMU was expected to
be pointing DOWN according the the PID controller,
but is mounted UP. Fixed by adding IMU_ORIENTATION_AXIS
constants that are multiplied.
- Moved motor-mixing to controller module
- Altered pid_update to ensure minimum thrust when we're armed
- Added throttle protection for pid integral. When we're not
throttling, there's no point to build the integral (imagine
holding the drone and pitching fully)
- Tuned PID params a bit