Example of receiving and utilizing control values related to
CoDrone Mini's posture
35
8. Example of receiving CoDrone sensor values
– Attitude control values
1) Receiving the position control value of the CoDrone Mini
The magnetic field on the bottom
of the CoDrone. If there is an
object that stands out,
The YAW angle is continuous.
There can be a growing and
decreasing phenomenon.
2) Receive the attitude control value of the CoDrone and
rotate the sprites.
Before coding, I'd like to
put the sprite on it.
Upload CoDrone Image
It should.
3) Receiving the attitude control value of the CoDrone
Depending on the sensor state
of the CoDrone,
The angle you need to subtract
from the YAW,
It can be different.