base
Public Member Functions | List of all members
base::JointTransformVector Struct Reference

#include <JointTransform.hpp>

Inheritance diagram for base::JointTransformVector:
base::NamedVector< JointTransform >

Public Member Functions

void setRigidBodyStates (const base::samples::Joints &joints, std::vector< base::samples::RigidBodyState > &rbs) const
 
- Public Member Functions inherited from base::NamedVector< JointTransform >
bool hasNames () const
 
const JointTransformgetElementByName (std::string name) const
 
const JointTransformoperator[] (std::string name) const
 
JointTransformoperator[] (std::string name)
 
const JointTransformoperator[] (size_t index) const
 
JointTransformoperator[] (size_t index)
 
void resize (size_t size)
 
size_t size () const
 
bool empty () const
 
void clear ()
 
size_t mapNameToIndex (std::string const &name) const
 

Additional Inherited Members

- Public Attributes inherited from base::NamedVector< JointTransform >
std::vector< std::string > names
 
std::vector< JointTransformelements
 

Detailed Description

Vector of JointTranformations with added functionality to fill a vector of RigidBodyStates given a jointsState sample

Member Function Documentation

◆ setRigidBodyStates()

void base::JointTransformVector::setRigidBodyStates ( const base::samples::Joints joints,
std::vector< base::samples::RigidBodyState > &  rbs 
) const

will fill the rbs structure with the information from the joints and the JointTransform configuration.


The documentation for this struct was generated from the following files: