Skip to content

ExternalSimulator

Full path: schola.core.simulators.external_simulator.ExternalSimulator

A simulator stub for Unreal Engine instances managed by an external orchestrator (Kubernetes, systemd, manual launch, etc.).

ExternalSimulator(readiness_timeout = None)

Bases: BaseSimulator

Parameters

  • readiness_timeout (int) - Reserved for future use. Seconds to wait for the external process to become reachable before giving up. Currently unused — readiness is assumed to be handled by the orchestrator (e.g. K8s readiness probes).

Methods

init

__init__(readiness_timeout = None)

Parameters

  • readiness_timeout (int)

get_simulator_args

get_simulator_args()

Return kwargs that reproduce this instance (e.g. for Ray env_config).

Returns

Mapping suitable for ExternalSimulator(**args); includes readiness_timeout only when it is not None.


start

start(protocol_properties)

No-op — the external orchestrator manages the process.

Parameters

  • protocol_properties (Dict)

stop

stop()

No-op — we don’t own the process, so we don’t kill it.

Returns

Return type: None

Attributes

supported_async_protocols

supported_async_protocols

Asynchronous protocol implementations compatible with this simulator.


supported_protocols

supported_protocols

Synchronous protocol implementations compatible with this simulator.