hbp_nrp_cleserver.server.SimulationAssembly module

This module contains the abstract base class of a simulation assembly

class SimulationAssembly(sim_config)[source]

Bases: object

This class is the abstract base class of a simulation assembly

initialize(except_hook)[source]

Initializes the simulation

Parameters
  • environment – The environment that should be simulated

  • except_hook – A method that should be called when there is a critical error

run()[source]

Runs the simulation

shutdown()[source]

Shuts down the simulation

property sim_config

Gets the sim_config

property sim_dir

Gets the simulation directory

property simdir

Gets the simulation directory