Reference frames
Contents
Reference frames#
Different reference frames are used by ROS and BetaFlight (i.e. by the software running on the Raspberry Pi and the one on the flight controller respectively).
Betaflight#
The reference frame used by the BetaFlight firmware is as following1:
ROS#
ROS uses the reference frames conventions defined in REP 105. Specifically for mobile robots (and thus the Duckiedrone) the preferred axis orientation is defined in REP 103 as having the body axis as:
x
forwardy
leftz
up.
In the image below 1 you can see a comparison between the two reference frame conventions.