Hello
For the past 2 hours i am trying mod , abs and many other things and when you think of something too much it goes harder and harder so i need a simple help of math and and android.
Lets say a line is traveling on 150 degress heading . I will turn this line to heading 340. If i turn by right turn , it need 190 degree of turn but if i turn by left turn it need 170 degree of turn so i need to select left turn. BUT
I can't write a simple 2 lines codes for this and at the end My head is totally mixed up. if initial heading is h1 and heading to be turned is h2 , how can i determine easily if it is a right turn or left turn .
Thanks
For the past 2 hours i am trying mod , abs and many other things and when you think of something too much it goes harder and harder so i need a simple help of math and and android.
Lets say a line is traveling on 150 degress heading . I will turn this line to heading 340. If i turn by right turn , it need 190 degree of turn but if i turn by left turn it need 170 degree of turn so i need to select left turn. BUT
I can't write a simple 2 lines codes for this and at the end My head is totally mixed up. if initial heading is h1 and heading to be turned is h2 , how can i determine easily if it is a right turn or left turn .
Thanks