-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: add requirement margin for stop on closed signal (conflict detection) #9195
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## dev #9195 +/- ##
============================================
+ Coverage 38.45% 38.52% +0.07%
Complexity 2244 2244
============================================
Files 1288 1288
Lines 98449 98454 +5
Branches 3273 3273
============================================
+ Hits 37857 37932 +75
+ Misses 58655 58585 -70
Partials 1937 1937
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
5db36e8
to
7e8ed4e
Compare
@@ -40,6 +40,8 @@ import mu.KotlinLogging | |||
|
|||
private val logger = KotlinLogging.logger {} | |||
|
|||
const val CLOSED_SIGNAL_RESERVATION_MARGIN = 20.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some documentation on that constant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in d4e146b
…ction) 20 s anticipation for the start of resource requirement when stopping on closed signal. Signed-off-by: Pierre-Etienne Bougué <[email protected]>
7e8ed4e
to
d4e146b
Compare
Please review d4e146b: I fixed a little bit the processing of critical distance, as it could lead to use a stop that was before the signalSight in routing requirement (too late |
20 s anticipation for the start of resource requirement when stopping on closed signal.
Fix: #8813