wtg / shuttletracker

🚐 Shuttle tracking for RPI.
https://shuttles.rpi.edu
GNU Affero General Public License v3.0
46 stars 53 forks source link

Update off-route shuttle headings when shuttle sliding is enabled #313

Closed MattCzyr closed 3 years ago

MattCzyr commented 3 years ago
Do not merge until tested

What is changed/New?

Fixed a bug that caused headings, and also pop-ups as a result, to not update for off-route shuttles when shuttle sliding is enabled.

How was this accomplished?

Added a check for the existence of a closest point or destination point, indicating whether shuttle sliding will occur, when determining whether to immediately update a shuttle's heading.

Is This Related to An Issue? (link if applicable):

N/A

Additional Notes:

N/A