Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Correct bearing: Elevated bearing:
- 0/360 180
- 90 90
- 180 0/360
- 270 270
- if(numCurrentZAcc > 0){
- if(numCurrentZAcc >= Math.abs(numCurrentXAcc)){
- numCompass = 180 - numCompass;
- if (numCompass < 0){
- numCompass = numCompass + 360;
- }
- }
- }
Add Comment
Please, Sign In to add comment