JointAndNJointControllers Struct Reference

Structure used by the RobotUnit to swap lists of Joint and NJoint controllers. More...

#include <RobotAPI/components/units/RobotUnit/util/JointAndNJointControllers.h>

Public Member Functions

 JointAndNJointControllers (std::size_t n=0)
 
void resetAssignement ()
 

Static Public Member Functions

static constexpr std::size_t Sentinel ()
 

Public Attributes

std::vector< JointController * > jointControllers
 
std::vector< std::size_t > jointToNJointControllerAssignement
 this is set by RobotUnit::writeRequestedControllers
 
std::vector< NJointControllerBase * > nJointControllers
 

Detailed Description

Structure used by the RobotUnit to swap lists of Joint and NJoint controllers.

Constructor & Destructor Documentation

◆ JointAndNJointControllers()

JointAndNJointControllers ( std::size_t n = 0)
inline

Member Function Documentation

◆ resetAssignement()

void resetAssignement ( )
inline

◆ Sentinel()

static constexpr std::size_t Sentinel ( )
inlinestaticconstexpr

Member Data Documentation

◆ jointControllers

std::vector<JointController*> jointControllers

◆ jointToNJointControllerAssignement

std::vector<std::size_t> jointToNJointControllerAssignement

this is set by RobotUnit::writeRequestedControllers

◆ nJointControllers

std::vector<NJointControllerBase*> nJointControllers

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