New calculation in CheckExplorerPath leads to too long or too short routes

Bug #1903196 reported by César Benito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Fix Released
Undecided
César Benito

Bug Description

New algorithm submitted in https://github.com/openrails/openrails/pull/270, which calculates train path using SNCA, leads to situations where path is too short (a few meters) or too long (more than 150 km):
Example of too long path: in Northeast corridor, the algorithm will try to clear all signals ahead with no limit. Tests show that this path is 200 km long, while taking into account SNCA should be of around 12 km.
Example of too short path: when starting driving, an EoA sometimes appears in front of the train due to a cause I haven't found. Path has to be extended in this situation.
Sometimes, OR crashes when resetting signals with Ctrl+Tab.

César Benito (cesarbl)
Changed in or:
assignee: nobody → César Benito (cesarbl)
status: New → In Progress
César Benito (cesarbl)
Changed in or:
status: In Progress → Fix Committed
James Ross (twpol)
Changed in or:
milestone: none → 1.4
Changed in or:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.