bebop_autonomy
bebop_autonomy copied to clipboard
How can i get yaw angle with respect to north?
Can anybody help me to receive the global yaw angle with respect to north ? i can get lat, lon, alt data using ros. But to control the drone outdoor, i need heading anlge. i can get the yaw angle from odometry, but it is not enough to guide it to the specific geodetic position. There are compass and magnetometer sensor in bebop2 drone, but i don't know how to access them.
See the documentation for attitude:
Ardrone3PilotingStateAttitudeChanged
Yaw should be heading in global frame. Please check and comment with result.
@thomas-bamford Thank you!. i can get global yaw data from Ardrone3PilotingStateAttitudeChanged.