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 More...
 
std::vector< NJointControllerBase * > nJointControllers
 

Detailed Description

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

Definition at line 32 of file JointAndNJointControllers.h.

Constructor & Destructor Documentation

◆ JointAndNJointControllers()

JointAndNJointControllers ( std::size_t  n = 0)
inline

Definition at line 34 of file JointAndNJointControllers.h.

Member Function Documentation

◆ resetAssignement()

void resetAssignement ( )
inline

Definition at line 42 of file JointAndNJointControllers.h.

+ Here is the call graph for this function:

◆ Sentinel()

static constexpr std::size_t Sentinel ( )
inlinestaticconstexpr

Definition at line 53 of file JointAndNJointControllers.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ jointControllers

std::vector<JointController*> jointControllers

Definition at line 47 of file JointAndNJointControllers.h.

◆ jointToNJointControllerAssignement

std::vector<std::size_t> jointToNJointControllerAssignement

this is set by RobotUnit::writeRequestedControllers

Definition at line 50 of file JointAndNJointControllers.h.

◆ nJointControllers

std::vector<NJointControllerBase*> nJointControllers

Definition at line 48 of file JointAndNJointControllers.h.


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