You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can easily be implemented through if-conditions and relative bearing comparisons. under 5 degrees should represent a "go straight ahead!" message.
Likewise remove the other necessary bearing readouts. No longer needed.
The text was updated successfully, but these errors were encountered:
Latest commit will implement this. A little bit too much of workaround-type-work, but it should be okay. Still requires testing because not sure if it'll break.
Issue #19 - more accurate representation of "TURN LEFT" and "TURN RIGHT"
implemented. Before heading > spotbearing means to turn left.
A problem comes up if the spot bearing is 350 and heading is 010. Which is
not heading > spotbearing.
The workaround is to shift the science bearing to 0, and apply that shift
to the rover heading. That way if the rover heading is less than 180, turn left; vice-versa.
New values for science:
1% 400-500
8% 200-400
45% 70-200
70% 30-70
else 0-30
Tested and should be doing fine. Very accurate representation of bearing directions now.
Relative bearing isn't working quite as perfectly as I'd want but that can come later. Not such a big deal.
READY FOR PRE-RELEASE 3
This can easily be implemented through if-conditions and relative bearing comparisons. under 5 degrees should represent a "go straight ahead!" message.
Likewise remove the other necessary bearing readouts. No longer needed.
The text was updated successfully, but these errors were encountered: