laborchestrator.sila_server.generated.simulationcontroller.simulationcontroller_base module

class laborchestrator.sila_server.generated.simulationcontroller.simulationcontroller_base.SimulationControllerBase(parent_server: Server)[source]

Bases: FeatureImplementationBase, ABC

abstractmethod StartRealMode(*, metadata: MetadataDict) StartRealMode_Responses[source]

Sets the SiLA Server to run in real mode, i.e. all following commands are executed with real-world

interactions, like serial port/CAN communication, motor actions etc.

If the server is in Simulation Mode it can be interrupted at any time. A re-initialization of the hardware might be required. The Real Mode can be stopped by issuing the ‘Start Simulation Mode’ command.

param metadata:

The SiLA Client Metadata attached to the call

abstractmethod StartSimulationMode(*, metadata: MetadataDict) StartSimulationMode_Responses[source]

Sets the SiLA Server to run in Simulation Mode, i.e. all following commands are executed in simulation mode.

The Simulation Mode can only be entered, if all hardware operations have been safely terminated or are in a controlled, safe state.

The simulation mode can be stopped by issuing the ‘Start Real Mode’ command.

param metadata:

The SiLA Client Metadata attached to the call

__is_running: bool
__periodic_funcs: List[Callable[[], None]]
__started: bool
_abc_impl = <_abc._abc_data object>
abstractmethod get_SimulationMode(*, metadata: MetadataDict) bool[source]

Indication whether SiLA Server is in Simulation Mode or not.

Parameters:

metadata – The SiLA Client Metadata attached to the call

Returns:

Indication whether SiLA Server is in Simulation Mode or not.

parent_server: Server

SiLA Server serving this feature implementation