Guest User

Untitled

a guest
Jul 20th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. Correct bearing: Elevated bearing:
  2. 0/360 180
  3. 90 90
  4. 180 0/360
  5. 270 270
  6.  
  7. if(numCurrentZAcc > 0){
  8. if(numCurrentZAcc >= Math.abs(numCurrentXAcc)){
  9. numCompass = 180 - numCompass;
  10. if (numCompass < 0){
  11. numCompass = numCompass + 360;
  12. }
  13. }
  14. }
Add Comment
Please, Sign In to add comment