Ariel, library update isn't planned?
Not bad to add a Orientation3D class for access obtaining to Position structure.
P.S.
Has tried to make by self to create lib with Orientation3D class.
New1 - create object
GetHeading () as Integer -
Quote:
|
The yaw or azimuth angle, or rotation of the phone on its vertical axis. The value starts at 0 when the phone is facing magnetic north, and increases as the phone is turned clockwise. For example, a phone facing east has a heading of 90, the south 180, the west 270. The maximum heading value is 359.
|
GetPitch () as Integer -
Quote:
|
The angle the phone is rotated on its lateral axis. The value is an integer from -180 to 179. Pitch is zero when the phone is face up; it increases as the top edge of the phone is moved downward, and decreases when the top edge is moved upward.
|
GetRoll () as Integer -
Quote:
|
The angle the phone is rotated on its longitudinal axis. The value is an integer from -90 to 90. Roll is zero when the phone is face up; it increases when the right edge of the phone is moved downward, and decreases when the right edge of the phone is moved upward.
|
GetAccuracy () as Integer -
Quote:
|
Calibration level percentage. Values are from 0-100, with 0 = not calibrated, and 100 = fully calibrated.
|