67 bool add(
size_t uniqueId );
165 virtual
void synchronize( const
CallbackData& data ) override;
166 virtual
void cleanup() override;
181 OutputTable m_outputs;
191 output->build<field...>();
192 return add( uniqueId, output );
199 output->build<field...>();
201 auto uniqueId = add( output );
203 return std::make_pair( *uniqueId, output );
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Handler responsible for how the encoder readings are assembled and provided to the user.
IMonoaxialSignalSystemNodeRefVector getOutputModifiers() const
bool remove(MonoaxialSignalResolution *resolution)
Remove the resolution binning instance from the system tree.
bool add(MonoaxialGaussianNoise *noise)
Add a Gaussian noise instance to the system tree.
bool add(MonoaxialSignalScaling *scaling)
Add a signal scaling instance to the system tree.
bool contains(const MonoaxialGaussianNoise *noise) const
bool remove(MonoaxialSignalScaling *scaling)
Remove the signal scaling instance from the system tree.
ISensorOutput * getBase(size_t uniqueId) override
Access encoder output instance given the unique id from when it was added.
bool add(MonoaxialSignalResolution *resolution)
Add a resolution binning instance to the system tree.
bool add(size_t uniqueId, EncoderOutput *output)
Add the given encoder output to the output handler mapped to the given unique id.
EncoderOutputHandler()
Default constructor.
EncoderOutput * get(size_t uniqueId)
Access encoder output instance given the unique id from when it was added.
bool remove(MonoaxialGaussianNoise *noise)
Remove the Gaussian noise instance from the system tree.
OptionalUniqueId add(EncoderOutput *output)
Add the given encoder output to the output handler.
bool contains(const MonoaxialSignalScaling *scaling) const
bool contains(const MonoaxialSignalResolution *resolution) const
Encoder sensor output data where EncoderOutput::Field is used to define the data available.
Interface for implementation details for system nodes carrying a monoaxial signal.
Common interface for sensor output handlers.
Common interface for sensor output data.
Applies a total Gaussian noise to the monoaxial signal based on a specified noise RMS.
Applies resolution binning to a monoaxial signal.
Applies a constant scaling to the monoaxial signal.
System node is a separate step/operation in an execution tree representing a sensor (or such) in a se...
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
std::optional< size_t > OptionalUniqueId
std::optional< std::pair< size_t, EncoderOutput * > > OptionalEncoderOutputMapping
The agx namespace contains the dynamics/math part of the AGX Dynamics API.