Skip to content

EnvironmentArgs

Full path: schola.scripts.common.EnvironmentArgs

schola.scripts.common.EnvironmentArgs

EnvironmentArgs

EnvironmentArgs(simulator=<factory>, protocol=<factory>)

Bases: object

Settings for the environment in Schola.

Methods

ItemDescription
init

Attributes

ItemDescription
simulatorSettings for the simulator to use during training
protocolSettings for the protocol to use for communicating with the external simulator

Parameters

simulator (Annotated[UnrealEditorSimulatorArgs | UnrealExecutableSimulatorArgs, Parameter(parse=False, show=False)])

protocol (Annotated[gRPCProtocolArgs, Parameter(group=('Protocol Arguments',))])

init

__init__(simulator=<factory>, protocol=<factory>)

Parameters

simulator (Annotated[UnrealEditorSimulatorArgs | UnrealExecutableSimulatorArgs, Parameter(parse=False, show=False)])

protocol (Annotated[gRPCProtocolArgs, Parameter(group=('Protocol Arguments',))])

Returns

None


protocol

protocol: Annotated[gRPCProtocolArgs, Parameter(group="Protocol Arguments")]

Settings for the protocol to use for communicating with the external simulator


simulator

simulator: Annotated[
UnrealEditorSimulatorArgs | UnrealExecutableSimulatorArgs,
Parameter(parse=False, show=False),
]

Settings for the simulator to use during training