63 bool add(
size_t uniqueId );
91 virtual
void cleanup() override;
104 template<typename T,
IMUOutput::Field... field>
108 output->build<field...>();
109 return add( uniqueId, output );
116 output->build<field...>();
118 auto uniqueId = add( output );
120 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 IMU readings are assembled and provided to the user.
ISensorOutput * getBase(size_t uniqueId) override
Access IMU output instance given the unique id from when it was added.
OptionalUniqueId add(IMUOutput *output)
Add the given IMU output to the output handler.
IMUOutputHandler()
Default constructor.
IMUOutput * get(size_t uniqueId)
Access IMU output instance given the unique id from when it was added.
bool add(size_t uniqueId, IMUOutput *output)
Add the given IMU output to the output handler mapped to the given unique id.
IMU sensor output data where IMUOutput::Field is used to define the data available.
Common interface for sensor output handlers.
Common interface for sensor output data.
System node is a separate step/operation in an execution tree representing a sensor (or such) in a se...
Inheritance with partial specialization due to bug with ref_ptr containers.
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< std::pair< size_t, IMUOutput * > > OptionalIMUOutputMappnig
std::optional< size_t > OptionalUniqueId
The agx namespace contains the dynamics/math part of the AGX Dynamics API.