Skip to content

UBinaryObserver

class UBinaryObserver : public UAbstractObserver

An observer that collects binary observations about the environment state.

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

Dependencies: FBinaryPoint, FBinarySpace, UAbstractObserver

Inherits from: public UAbstractObserver

Subclassed by: UBlueprintBinaryObserver, UDebugBinaryObserver, UEventObserver

Public Interface

Constructor:

UBinaryObserver

inline UBinaryObserver()

Attributes: inline

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

Public Functions:

GetObservationSpace

inline virtual FBinarySpace GetObservationSpace() const const

Get the BinarySpace 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: FBinarySpace

Attributes: const, inline, virtual

Source: Schola/Source/Schola/Public/Observers/AbstractObservers.h (line 220, column 22)

CollectObservations

inline virtual void CollectObservations(FBinaryPoint &OutObservations)

Use this sensor to collect observations about the environment state.

Note: This function should be implemented by any derived classes

Parameters:

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

Attributes: inline, virtual

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

CollectObservations

inline virtual void CollectObservations(TPoint &OutObservations)

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 229, column 6)

FillObservationSpace

inline virtual void FillObservationSpace(TSpace &OutSpaceGroup) const 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 244, 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 256, column 9)

Implementation: Schola/Source/Schola/Private/Observers/AbstractObservers.cpp (lines 79-99)

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 211, column 8)

Used By: UBlueprintBinaryObserver, UDebugBinaryObserver, UEventObserver

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