iDynTree::BerdySensor struct

Structure which describes the essential information about a sensor used in berdy A sensor is identified by the pair (type, id)

Public functions

auto operator==(const struct BerdySensor& sensor) const -> bool
Overload of equality operator.
auto operator<(const struct BerdySensor& sensor) const -> bool

Public variables

iDynTree::BerdySensorTypes type
std::string id
iDynTree::IndexRange range

Function documentation

bool iDynTree::BerdySensor::operator==(const struct BerdySensor& sensor) const

Overload of equality operator.

Parameters
sensor the sensor to which the current sensor is compared to
Returns true if the two sensors are equal. False otherwise

Two sensors are considered equals if they have the same type and id

Variable documentation

iDynTree::BerdySensorTypes iDynTree::BerdySensor::type

type of the sensor

std::string iDynTree::BerdySensor::id

ID of the sensor

iDynTree::IndexRange iDynTree::BerdySensor::range

Range of the sensor (starting location in the measurements equations and number of measurements equations associated with the sensor)