CartesianVelocityControllerWithRamp Class Reference

#include <RobotAPI/libraries/core/CartesianVelocityControllerWithRamp.h>

Public Member Functions

Eigen::VectorXf calculate (const Eigen::VectorXf &cartesianVel, const Eigen::VectorXf &nullspaceVel, float dt)
 
Eigen::VectorXf calculate (const Eigen::VectorXf &cartesianVel, float jointLimitAvoidanceScale, float dt)
 
 CartesianVelocityControllerWithRamp (CartesianVelocityControllerWithRamp &&)=default
 
 CartesianVelocityControllerWithRamp (const VirtualRobot::RobotNodeSetPtr &rns, const Eigen::VectorXf &currentJointVelocity, VirtualRobot::IKSolver::CartesianSelection mode, float maxPositionAcceleration, float maxOrientationAcceleration, float maxNullspaceAcceleration, const VirtualRobot::RobotNodePtr &tcp=nullptr)
 
float getMaxNullspaceAcceleration ()
 
float getMaxOrientationAcceleration ()
 
float getMaxPositionAcceleration ()
 
VirtualRobot::IKSolver::CartesianSelection getMode ()
 
CartesianVelocityControllerWithRampoperator= (CartesianVelocityControllerWithRamp &&)=default
 
void setCurrentJointVelocity (const Eigen::Ref< const Eigen::VectorXf > &currentJointVelocity)
 
void setMaxAccelerations (float maxPositionAcceleration, float maxOrientationAcceleration, float maxNullspaceAcceleration)
 
void switchMode (const Eigen::VectorXf &currentJointVelocity, VirtualRobot::IKSolver::CartesianSelection mode)
 

Public Attributes

CartesianVelocityController controller
 

Detailed Description

Definition at line 42 of file CartesianVelocityControllerWithRamp.h.

Constructor & Destructor Documentation

◆ CartesianVelocityControllerWithRamp() [1/2]

CartesianVelocityControllerWithRamp ( const VirtualRobot::RobotNodeSetPtr &  rns,
const Eigen::VectorXf &  currentJointVelocity,
VirtualRobot::IKSolver::CartesianSelection  mode,
float  maxPositionAcceleration,
float  maxOrientationAcceleration,
float  maxNullspaceAcceleration,
const VirtualRobot::RobotNodePtr &  tcp = nullptr 
)

Definition at line 30 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the call graph for this function:

◆ CartesianVelocityControllerWithRamp() [2/2]

Member Function Documentation

◆ calculate() [1/2]

Eigen::VectorXf calculate ( const Eigen::VectorXf &  cartesianVel,
const Eigen::VectorXf &  nullspaceVel,
float  dt 
)

Definition at line 78 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the call graph for this function:

◆ calculate() [2/2]

Eigen::VectorXf calculate ( const Eigen::VectorXf &  cartesianVel,
float  jointLimitAvoidanceScale,
float  dt 
)

Definition at line 72 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the caller graph for this function:

◆ getMaxNullspaceAcceleration()

float getMaxNullspaceAcceleration ( )

Definition at line 101 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the call graph for this function:

◆ getMaxOrientationAcceleration()

float getMaxOrientationAcceleration ( )

Definition at line 91 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the call graph for this function:

◆ getMaxPositionAcceleration()

float getMaxPositionAcceleration ( )

Definition at line 96 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the call graph for this function:

◆ getMode()

VirtualRobot::IKSolver::CartesianSelection getMode ( )

Definition at line 67 of file CartesianVelocityControllerWithRamp.cpp.

+ Here is the caller graph for this function:

◆ operator=()

◆ setCurrentJointVelocity()

void setCurrentJointVelocity ( const Eigen::Ref< const Eigen::VectorXf > &  currentJointVelocity)

Definition at line 41 of file CartesianVelocityControllerWithRamp.cpp.

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

◆ setMaxAccelerations()

void setMaxAccelerations ( float  maxPositionAcceleration,
float  maxOrientationAcceleration,
float  maxNullspaceAcceleration 
)

Definition at line 84 of file CartesianVelocityControllerWithRamp.cpp.

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

◆ switchMode()

void switchMode ( const Eigen::VectorXf &  currentJointVelocity,
VirtualRobot::IKSolver::CartesianSelection  mode 
)

Definition at line 60 of file CartesianVelocityControllerWithRamp.cpp.

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

Member Data Documentation

◆ controller


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