EasyManua.ls Logo

MakeKit Air:bit 2 - Visualizing Roll;Pitch

MakeKit Air:bit 2
65 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
49
0
90
45
-45
-90
Visualise values: Roll/Pitch
Roll / Pitch
We can indicate our Roll and Pitch angles using center pixel´s X and Y
position
We need to translate our numbers according to the table below so that -45
gives 0, 0 gives 2, and 45 gives 4
Can you solve the equations?
Hint:
We need to do an addition in the first calculation
Then we need to do a division in the second.
0,0
Y
X
4,0
2,2
0,4
Angle
-45
0
45
First calculation
0
45
90
Second calculation
0
2
4
Minimum angle Maximum angle