Go to the documentation of this file.
24 #include <VirtualRobot/Robot.h>
25 #include <VirtualRobot/IK/DifferentialIK.h>
108 unsigned int numOfJoints;
109 std::atomic_bool enablePreactivateInit{
false};
113 VirtualRobot::DifferentialIKPtr ik;
115 const float lambda = 2.0f;
118 VirtualRobot::RobotNodePtr
tcp;
120 void initialize(
const VirtualRobot::RobotNodeSetPtr& rns,
const std::string &configFileName);
126 std::vector<const SensorValue1DoFActuatorTorque*> torqueSensors,
127 std::vector<const SensorValue1DoFActuatorVelocity*> velocitySensors,
128 std::vector<const SensorValue1DoFActuatorPosition*> positionSensors);
130 void run(
bool rtReady, std::vector<ControlTarget1DoFActuatorTorque*> targets);
Eigen::VectorXf currentKeypointVelocity
Eigen::VectorXf qpos
joint space variable
Eigen::Vector6f desiredAcc
Eigen::VectorXf desiredJointTorques
Eigen::Vector6f virtualVel
Eigen::VectorXf fixedTranslation
Eigen::Vector6f kdAdmittance
Eigen::MatrixXf jacobi
others
Eigen::Vector6f kmAdmittance
Config reconfigure(const std::string &configFileName)
Eigen::VectorXf currentKeypointPosition
float keypointPositionFilter
Eigen::Matrix4f previousDesiredPose
task spaace variables
Eigen::VectorXf keypointKp
Eigen::Vector6f desiredVel
Eigen::Vector6f kpImpedance
void preactivateInit(const VirtualRobot::RobotNodeSetPtr &rns)
bool updateControlStatus(const Config &cfg, const IceUtil::Time &timeSinceLastIteration, std::vector< const SensorValue1DoFActuatorTorque * > torqueSensors, std::vector< const SensorValue1DoFActuatorVelocity * > velocitySensors, std::vector< const SensorValue1DoFActuatorPosition * > positionSensors)
Eigen::VectorXf desiredKeypointVelocity
void run(bool rtReady, std::vector< ControlTarget1DoFActuatorTorque * > targets)
Eigen::Vector6f virtualAcc
Eigen::Vector6f currentForceTorque
Eigen::VectorXf previousKeypointPosition
This file is part of ArmarX.
internal status of the controller, containing intermediate variables, mutable targets
Eigen::Vector6f kdImpedance
void initialize(const VirtualRobot::RobotNodeSetPtr &rns, const std::string &configFileName)
Eigen::VectorXf keypointKd
armarx::core::time::DateTime Time
Eigen::Matrix4f virtualPose
float keypointVelocityFilter
Eigen::Matrix4f currentPose
MatrixXX< 4, 4, float > Matrix4f
Eigen::Vector6f pointTrackingForce
VirtualRobot::RobotNodePtr tcp
Eigen::Vector6f currentTwist
you can set the following values from outside of the rt controller via Ice interfaces
Eigen::Vector6f kpAdmittance
Eigen::VectorXf desiredNullspaceJointAngles
Eigen::Matrix4f desiredPose
Eigen::Vector6f forceImpedance
Eigen::VectorXf kpNullspace
Eigen::VectorXf nullspaceTorque
Eigen::VectorXf kdNullspace
Eigen::VectorXf desiredKeypointPosition
int numPoints
keypoints related
Eigen::VectorXf filteredKeypointPosition
bool validateTargetPose(Eigen::Matrix4f &targetPose)