Go to the documentation of this file.
24 #include <VirtualRobot/Robot.h>
25 #include <VirtualRobot/IK/DifferentialIK.h>
123 unsigned int numOfJoints;
124 std::atomic_bool enablePreactivateInit{
false};
128 VirtualRobot::DifferentialIKPtr ik;
130 const float lambda = 2.0f;
137 VirtualRobot::RobotNodePtr
tcp;
139 void initialize(
const VirtualRobot::RobotNodeSetPtr& rns);
Eigen::VectorXf fixedTranslation
you can set the following values from outside of the rt controller via Ice interfaces
void initialize(const VirtualRobot::RobotNodeSetPtr &rns)
std::atomic< bool > isInitialized
Eigen::Vector6f currentTwist
Eigen::VectorXf kpNullspace
Eigen::VectorXf kdNullspace
Eigen::Vector6f kmAdmittance
int numPoints
keypoints related
float densityForceScaling
VirtualRobot::RobotNodePtr tcp
Eigen::VectorXf previousKeypointPosition
float keypointPositionFilter
internal status of the controller, containing intermediate variables, mutable targets
Eigen::VectorXf desiredKeypointVelocity
TripleBuffer< NonRtStatus > bufferNonRtToRt
Eigen::Vector6f kdAdmittance
TripleBuffer< RtStatus > bufferRtToOnPublish
void preactivateInit(const VirtualRobot::RobotNodeSetPtr &rns, const Config &c)
Eigen::Vector6f forceImpedance
task space variables
Eigen::MatrixXf jacobi
others
Eigen::VectorXf desiredDensityForce
Eigen::VectorXf desiredKeypointPosition
Eigen::Matrix4f currentPose
task space variables
TripleBuffer< NonRtStatus > bufferNonRtToOnPublish
This file is part of ArmarX.
void run(const Config &cfg, ControlTarget &targets)
Eigen::VectorXf keypointKp
Eigen::Vector6f desiredVel
Eigen::Vector6f kpImpedance
Eigen::Vector6f kdImpedance
Eigen::VectorXf qpos
joint space variable
MatrixXX< 4, 4, float > Matrix4f
float keypointVelocityFilter
Eigen::Vector6f desiredAcc
Eigen::VectorXf currentKeypointPosition
Eigen::VectorXf keypointKd
Eigen::VectorXf nullspaceTorque
Eigen::VectorXf desiredJointTorques
targets
bool updateControlStatus(const Config &cfg, const RobotStatus &robotStatus)
Eigen::Vector6f desiredTwist
Eigen::Vector6f pointTrackingForce
keypoint status
std::optional< Eigen::VectorXf > desiredNullspaceJointAngles
Eigen::Matrix4f desiredPose
Eigen::VectorXf filteredKeypointPosition
Eigen::VectorXf currentKeypointVelocity
Eigen::Matrix4f desiredPose