Skip to content

UBoxObserver

class UBoxObserver : public UAbstractObserver

An observer that collects box(continuous) observations about the environment state.

Note: This class is abstract and should be derived from to implement the CollectObservations and GetObservationSpace functions.

Dependencies: FBoxPoint, FBoxSpace, UAbstractObserver

Inherits from: public UAbstractObserver

Subclassed by: UBlueprintBoxObserver, UCameraObserver, UDebugBoxObserver, UPositionObserver, URayCastObserver, URotationObserver, UVelocityObserver

Public Interface

Constructor:

UBoxObserver

inline UBoxObserver()

Create a new instance of UBoxObserver.

Attributes: inline

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 104, column 1)

Public Functions:

GetObservationSpace

inline virtual FBoxSpace GetObservationSpace() const const

Get the BoxSpace bounding the outputs of this sensor.

Returns: The ObservationSpace bounding the outputs of this sensor.

Note: This function should be implemented by any derived classes

Returns: FBoxSpace

Attributes: const, inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 116, column 19)

CollectObservations

inline virtual void CollectObservations(FBoxPoint &OutObservations)

Use this sensor to collect observations about the environment state.

Note: This function should be implemented by any derived classes

Parameters:

  • OutObservations (FBoxPoint &) – [out] DataPoint that will be updated with the outputs of this sensor.

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 123, column 14)

Reset

inline virtual void Reset() override

Internal function called when an episode ends, Does any preparation required for the next episode.

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 125, column 6)

CollectObservations

inline virtual void CollectObservations(TPoint &OutObservations) override

Use this sensor to collect observations about the environment state.

Note: This function should be implemented by any derived classes.

Parameters:

  • OutObservations (TPoint &) – - DataPoint that will be updated with the outputs of this sensor.

Attributes: inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 134, column 6)

FillObservationSpace

inline virtual void FillObservationSpace(TSpace &OutSpaceGroup) const override const

Get the ObservationSpace bounding the outputs of this sensor.

Note: This function should be implemented by any derived classes.

Parameters:

  • OutSpace (TSpace &) – [out] The ObservationSpace bounding the outputs of this sensor.

Attributes: const, inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 149, column 6)

GetId

virtual FString GetId() const const

Get the label of this Interactor.

Returns: the collected ID

Returns: FString

Attributes: const, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 161, column 9)

Implementation: Schola/Source/Schola/Private/Observers/AbstractObservers.cpp (lines 35-55)

Public Members:

TArray<UObject *> Wrappers

TArray<UObject *> Wrappers

Wrappers for customizing the observations recorded by this observer.

Applied in order.

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 109, column 8)

Used By

This type is used by:

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 95, column 1)