Confusion regarding frames of reference
Posted: Mon Apr 26, 2021 10:17 am
Hi, I have a question regarding how the euler angles of the CrazyFlie body is defined.
In the post "Problems modeling Crazyflie Controller" (viewtopic.php?f=6&hilit=NED&p=14020&t=2 ... 6fa68128e1) it is said that the roll, pitch and yaw are defined as: and in the documentations, "The Coordinate System of the Crazyflie 2.X" as: However, to me it seems that this is contradictory for Yaw around the Z-axis. In the upper image going from 0 to 45 degrees would result in the plane turning to its right, while in the bottom picture the same change in yaw would make the CrazyFlie turn left. Could you help me understand how the CrazyFlies angles are defined?
The reason for my question is that I want to use the position and angle data gathered from the lighthouse sensors to actuate the propellers for a body that is modelled in the NED (upper) frame of reference.
Best Regards
Gustaf
In the post "Problems modeling Crazyflie Controller" (viewtopic.php?f=6&hilit=NED&p=14020&t=2 ... 6fa68128e1) it is said that the roll, pitch and yaw are defined as: and in the documentations, "The Coordinate System of the Crazyflie 2.X" as: However, to me it seems that this is contradictory for Yaw around the Z-axis. In the upper image going from 0 to 45 degrees would result in the plane turning to its right, while in the bottom picture the same change in yaw would make the CrazyFlie turn left. Could you help me understand how the CrazyFlies angles are defined?
The reason for my question is that I want to use the position and angle data gathered from the lighthouse sensors to actuate the propellers for a body that is modelled in the NED (upper) frame of reference.
Best Regards
Gustaf