iDynTree::LinkInertias class

Class for storing a vector of SpatialInertia objects , one for each link in a model.

Constructors, destructors, conversion operators

LinkInertias(std::size_t nrOfLinks = 0)
LinkInertias(const iDynTree::Model& model)
~LinkInertias()

Public functions

void resize(std::size_t nrOfLinks)
void resize(const iDynTree::Model& model)
auto isConsistent(const Model& model) const -> bool
auto operator()(const LinkIndex link) -> iDynTree::SpatialInertia&
auto operator()(const LinkIndex link) const -> const iDynTree::SpatialInertia&