CompositeDiffIK::NullspaceJointLimitAvoidance Class Reference

#include <RobotAPI/libraries/diffik/CompositeDiffIK.h>

+ Inheritance diagram for CompositeDiffIK::NullspaceJointLimitAvoidance:

Public Member Functions

Eigen::VectorXf getGradient (Parameters &params) override
 
void init (Parameters &) override
 
 NullspaceJointLimitAvoidance (const VirtualRobot::RobotNodeSetPtr &rns)
 
 NullspaceJointLimitAvoidance (const VirtualRobot::RobotNodeSetPtr &rns, const Eigen::VectorXf &weight)
 
void setWeight (const std::string &jointName, float weight)
 
void setWeight (const VirtualRobot::RobotNodePtr &rn, float weight)
 
void setWeight (int index, float weight)
 
void setWeights (const VirtualRobot::RobotNodeSetPtr &rns, float weight)
 
- Public Member Functions inherited from CompositeDiffIK::NullspaceGradient
virtual ~NullspaceGradient ()=default
 

Public Attributes

VirtualRobot::RobotNodeSetPtr rns
 
Eigen::VectorXf weight
 
- Public Attributes inherited from CompositeDiffIK::NullspaceGradient
float kP = 1
 

Detailed Description

Definition at line 112 of file CompositeDiffIK.h.

Constructor & Destructor Documentation

◆ NullspaceJointLimitAvoidance() [1/2]

NullspaceJointLimitAvoidance ( const VirtualRobot::RobotNodeSetPtr &  rns)

Definition at line 392 of file CompositeDiffIK.cpp.

◆ NullspaceJointLimitAvoidance() [2/2]

NullspaceJointLimitAvoidance ( const VirtualRobot::RobotNodeSetPtr &  rns,
const Eigen::VectorXf &  weight 
)

Definition at line 398 of file CompositeDiffIK.cpp.

Member Function Documentation

◆ getGradient()

Eigen::VectorXf getGradient ( Parameters params)
overridevirtual

Implements CompositeDiffIK::NullspaceGradient.

Definition at line 442 of file CompositeDiffIK.cpp.

◆ init()

void init ( CompositeDiffIK::Parameters )
overridevirtual

Implements CompositeDiffIK::NullspaceGradient.

Definition at line 437 of file CompositeDiffIK.cpp.

◆ setWeight() [1/3]

void setWeight ( const std::string &  jointName,
float  weight 
)

Definition at line 409 of file CompositeDiffIK.cpp.

◆ setWeight() [2/3]

void setWeight ( const VirtualRobot::RobotNodePtr &  rn,
float  weight 
)

Definition at line 419 of file CompositeDiffIK.cpp.

◆ setWeight() [3/3]

void setWeight ( int  index,
float  weight 
)

Definition at line 404 of file CompositeDiffIK.cpp.

◆ setWeights()

void setWeights ( const VirtualRobot::RobotNodeSetPtr &  rns,
float  weight 
)

Definition at line 429 of file CompositeDiffIK.cpp.

Member Data Documentation

◆ rns

VirtualRobot::RobotNodeSetPtr rns

Definition at line 123 of file CompositeDiffIK.h.

◆ weight

Eigen::VectorXf weight

Definition at line 124 of file CompositeDiffIK.h.


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