iDynTree::BerdyDynamicVariable struct

Public functions

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

Public variables

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

Function documentation

bool iDynTree::BerdyDynamicVariable::operator==(const struct BerdyDynamicVariable& variable) const

Overload of equality operator.

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

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

Variable documentation

iDynTree::BerdyDynamicVariablesTypes iDynTree::BerdyDynamicVariable::type

type of the dynamic variable

std::string iDynTree::BerdyDynamicVariable::id

ID of the dynamic variable

iDynTree::IndexRange iDynTree::BerdyDynamicVariable::range

Range of the dynamic variable (starting location in the dynamic equations and number of equations associated with the variable)