Crazyflie 2.0 frame of reference
Posted: Sun Feb 12, 2017 4:55 pm
Hi,
I am trying to understand the control system of the Crazyflie 2.0 and finding some difficulties while coping with the frame of reference used in the firmware.
I understand that following positive angles apply: pitch up,roll right, yaw CCW.
The IMU uses the following frames of reference The PCB has these ones marked on it But in the firmware some signs are changed, probably to achive the angle sign criteria above.
It would be very good if somebody could confirm the final frame of reference used for the calculations in the controller part of the firmware, e.g. XYZ axis positive direction, as well as the changes in the signs that are necesary to be introduced in the IMU signal to achive this.
Thanks!
I am trying to understand the control system of the Crazyflie 2.0 and finding some difficulties while coping with the frame of reference used in the firmware.
I understand that following positive angles apply: pitch up,roll right, yaw CCW.
The IMU uses the following frames of reference The PCB has these ones marked on it But in the firmware some signs are changed, probably to achive the angle sign criteria above.
It would be very good if somebody could confirm the final frame of reference used for the calculations in the controller part of the firmware, e.g. XYZ axis positive direction, as well as the changes in the signs that are necesary to be introduced in the IMU signal to achive this.
Thanks!