io.github.srs

package io.github.srs

Members list

Type members

Classlikes

final case class AppArgs(headless: Boolean = ..., path: Option[String] = ..., simulationTime: Option[Long] = ..., seed: Option[Long] = ..., reinforcementLearning: Boolean = ..., port: Int = ...)

Arguments for the application.

Arguments for the application.

Value parameters

headless

true if the application should run in headless mode (CLI), false for GUI mode.

path

the path to the configuration file.

port

the port number for the RL gRPC server (default: 50051).

reinforcementLearning

true if the application should run in RL server mode.

seed

the seed for the random number generator.

simulationTime

the time to run the simulation for (in milliseconds).

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ArgParser

Command-line argument parser for the Scala Robotics Simulator application.

Command-line argument parser for the Scala Robotics Simulator application.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ArgParser.type

Base trait for launching the Scala Robotics Simulator application.

Base trait for launching the Scala Robotics Simulator application.

It sets up the Model-View-Controller (MVC) architecture and provides a method to run the simulation.

The specific view implementation (GUI or CLI) is provided by the extending objects.

Attributes

Supertypes
Known subtypes
object CLILauncher
object GUILauncher

Launcher object for the CLI version of the Scala Robotics Simulator.

Launcher object for the CLI version of the Scala Robotics Simulator.

Attributes

Supertypes
Self type

Launcher object for the GUI version of the Scala Robotics Simulator.

Launcher object for the GUI version of the Scala Robotics Simulator.

Attributes

Supertypes
Self type
object Launcher

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Launcher.type
object RLLauncher

Factory object for creating RLLauncher instances

Factory object for creating RLLauncher instances

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
RLLauncher.type

RL Launcher that starts a gRPC server for reinforcement learning

RL Launcher that starts a gRPC server for reinforcement learning

Value parameters

port

the port number for the gRPC server

Attributes

Companion
object
Supertypes
object Runners

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Runners.type
final class main

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def main(args: String*): Unit

Extensions

Extensions

extension (simulationConfig: SimulationConfig[ValidEnvironment])
infix def >>>: IO[Option[SimulationState]]

Infix operator to run the simulation with the given configuration.

Infix operator to run the simulation with the given configuration.

Attributes

Returns

an IO effect that runs the simulation and returns an optional final state.