get_orientation()
#
DescriptionUses the acceleration values to find Zumi's orientation with respect to the strongest force being applied to Zumi (gravity).
#
Syntaxget_orientation()
#
ParametersNone
#
ReturnsInteger denoting orientation state.
Orientation state
-1 = unknown
0 = probably falling or moving between states
1 = camera straight up
2 = camera facing down
3 = on right side
4 = on left side
5 = wheels on floor
6 = wheels facing up (upside down)
7 = accelerating faster than 1g