wtg / shuttletracker

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

Update headings for off-route shuttles when shuttle sliding is enabled #312

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