-
Notifications
You must be signed in to change notification settings - Fork 46
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: compute ETCS LoA EBD foot and curve more accurately #10565
base: alch/core/compute-min-envelope-part
Are you sure you want to change the base?
core: compute ETCS LoA EBD foot and curve more accurately #10565
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 @@
## alch/core/compute-min-envelope-part #10565 +/- ##
=======================================================================
+ Coverage 80.84% 81.18% +0.34%
=======================================================================
Files 1115 797 -318
Lines 112518 79825 -32693
Branches 759 759
=======================================================================
- Hits 90961 64809 -26152
+ Misses 21502 14961 -6541
Partials 55 55
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ad04ea6
to
786fca9
Compare
786fca9
to
0d7cb7b
Compare
9237395
to
29b34df
Compare
d3c5bb0
to
afef4ad
Compare
afef4ad
to
8ad93aa
Compare
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.
Thanks, quite elegant changes (discovering the idea of initEnvelopePart
changes)
Only nits, so feel free to reply-reject/resolve them, it's fine by me as-is 🙏
core/envelope-sim/src/main/kotlin/fr/sncf/osrd/envelope_sim/etcs/ETCSBrakingCurves.kt
Show resolved
Hide resolved
core/envelope-sim/src/main/kotlin/fr/sncf/osrd/envelope_sim/etcs/ETCSBrakingCurves.kt
Outdated
Show resolved
Hide resolved
core/envelope-sim/src/main/kotlin/fr/sncf/osrd/envelope_sim/etcs/ETCSBrakingCurves.kt
Outdated
Show resolved
Hide resolved
core/envelope-sim/src/main/java/fr/sncf/osrd/envelope/part/EnvelopePartBuilder.java
Outdated
Show resolved
Hide resolved
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.
@bougue-pe : everything solved in 870da53.
core/envelope-sim/src/main/java/fr/sncf/osrd/envelope/part/EnvelopePartBuilder.java
Outdated
Show resolved
Hide resolved
b33e1a6
to
2b9699b
Compare
931b4d0
to
3749995
Compare
core/envelope-sim/src/main/kotlin/fr/sncf/osrd/envelope_sim/etcs/ETCSBrakingCurves.kt
Outdated
Show resolved
Hide resolved
fcf5bbd
to
46a7572
Compare
46a7572
to
c0abe96
Compare
val guiPosition = | ||
if (speed > guiCurve.maxSpeed || speed < guiCurve.minSpeed) Double.POSITIVE_INFINITY | ||
else guiCurve.interpolatePosition(speed) | ||
if (speed > guiPart.maxSpeed || speed < guiPart.minSpeed) Double.POSITIVE_INFINITY |
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.
PR is not rebased on DEV yet, this change will disappear to become if(...) guipart.beginPos.
eb8ebd8
to
9ef34ab
Compare
Signed-off-by: Erashin <[email protected]>
c0abe96
to
320a174
Compare
283b74b
to
320a174
Compare
Requires #10564.
Fixes #10430 (see description for further information).