class
#include <iDynTree/Sensors.h>
Sensor Interface for Sensor classes in iDynTree .
All sensor classes inherit from this base class.
Derived classes
- class JointSensor
- Interface for Sensor that are associated to a Joint.
- class LinkSensor
- Interface for Sensor that are associated to a Link.
Constructors, destructors, conversion operators
- ~Sensor() pure virtual
- Virtual destructor.
Public functions
- auto getName() const -> std::string pure virtual
- Get the id (name) of sensor.
- auto getSensorType() const -> SensorType pure virtual
- Get the type of the sensor.
- auto isValid() const -> bool pure virtual
- Return true if the sensor has been appropriately configured (all setters where setted, false otherwise.
- auto setName(const std::string&) -> bool pure virtual
- Set the id (name) of sensor.
- auto clone() const -> Sensor* pure virtual
- Return a pointer to a copy of this sensor.
- auto isConsistent(const Model& model) const -> bool pure virtual
- Check if the sensor is consistent with the specified model.
- auto updateIndices(const Model& model) -> bool pure virtual
- Update all the indices (link/frames) contained in this sensor.
Function documentation
SensorType iDynTree:: Sensor:: getSensorType() const pure virtual
Get the type of the sensor.
Returns | the type of the sensor. |
---|