io.github.srs.model
Members list
Packages
Type members
Classlikes
Module that defines the model logic for the Scala Robotics Simulator.
Module that defines the model logic for the Scala Robotics Simulator.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ModelModule.type
Simulation configuration. It contains the information needed to start a simulation.
Simulation configuration. It contains the information needed to start a simulation.
Value parameters
- duration
-
The duration of the simulation in ticks. If None, the simulation will run indefinitely.
- seed
-
The seed for the random number generator. If None, a random seed will be used.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Simulation companion object. It provides a dsl for creating and configuring a simulation.
Simulation companion object. It provides a dsl for creating and configuring a simulation.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Simulation.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
SimulationConfig.type
Simulation state case class that holds the current state of the simulation.
Simulation state case class that holds the current state of the simulation.
Value parameters
- dt
-
the time step for each simulation update.
- elapsedTime
-
the elapsed time since the start of the simulation.
- environment
-
the current environment of the simulation.
- simulationRNG
-
the random number generator used in the simulation.
- simulationSpeed
-
the speed at which the simulation is running.
- simulationStatus
-
the current status of the simulation.
- simulationTime
-
the current simulation time, if applicable.
Attributes
Companion methods for the ModelModule.State to provide pretty-printing functionality.
Companion methods for the ModelModule.State to provide pretty-printing functionality.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SimulationState.type