Skip to content

Commit

Permalink
core: etcs: move files to envelope_sim module
Browse files Browse the repository at this point in the history
Signed-off-by: Eloi Charpentier <[email protected]>
  • Loading branch information
eckter committed Dec 3, 2024
1 parent 9dedb37 commit ba1bc5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions core/envelope-sim/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dependencies {
// PLEASE ADD AND UPDATE DEPENDENCIES USING libs.versions.toml

implementation project(':osrd-reporting')
implementation project(":kt-osrd-sim-infra")
api project(":kt-osrd-utils")
implementation libs.guava
implementation libs.slf4j
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package fr.sncf.osrd.ertms.etcs
package fr.sncf.osrd.envelope_sim.etcs

import fr.sncf.osrd.envelope.Envelope
import fr.sncf.osrd.envelope_sim.PhysicsRollingStock
import fr.sncf.osrd.sim_infra.api.Path
import fr.sncf.osrd.sim_infra.api.PathProperties
import fr.sncf.osrd.train.RollingStock
import fr.sncf.osrd.utils.units.Offset

interface ETCSBrakingSimulator {
val trainPath: PathProperties
val rollingStock: RollingStock
val rollingStock: PhysicsRollingStock
val timeStep: Double

/** Compute the ETCS braking envelope from the MRSP, for each LOA and EOA. */
Expand Down Expand Up @@ -39,7 +39,7 @@ data class EndOfAuthority(

class ETCSBrakingSimulatorImpl(
override val trainPath: PathProperties,
override val rollingStock: RollingStock,
override val rollingStock: PhysicsRollingStock,
override val timeStep: Double
) : ETCSBrakingSimulator {

Expand Down

0 comments on commit ba1bc5f

Please sign in to comment.