Go to the documentation of this file.
26 #include <Eigen/Dense>
30 #include <VirtualRobot/Robot.h>
44 class PositionControllerHelper;
54 void readConfig(
const CartesianPositionControllerConfigBase& config);
55 void readConfig(
const CartesianPositionControllerConfigBasePtr& config);
70 void setFeedForwardVelocity(
const Eigen::Vector3f& feedForwardVelocityPos,
const Eigen::Vector3f& feedForwardVelocityOri);
103 VirtualRobot::JacobiProvider::InverseJacobiMethod
invJacMethod = VirtualRobot::JacobiProvider::eSVD;
float maxOriErrorIncrease
void clearFeedForwardVelocity()
bool isCurrentTargetNear() const
std::string getStatusText()
float thresholdPositionNear
void addWaypoint(const Eigen::Matrix4f &waypoint)
const Eigen::Vector3f getCurrentTargetPosition() const
CartesianPositionController posController
Vertex target(const detail::edge_base< Directed, Vertex > &e, const PCG &)
void setNullSpaceControl(bool enabled)
bool isFinalTargetNear() const
float maxPoseErrorIncrease
float thresholdOrientationNear
void immediateHardStop(bool clearTargets=true)
Eigen::Vector6f feedForwardVelocity
bool isFinalTargetReached() const
float thresholdPositionReached
std::vector< Eigen::Matrix4f > waypoints
void setFeedForwardVelocity(const Eigen::Vector6f &feedForwardVelocity)
VelocityControllerHelperPtr velocityControllerHelper
bool autoClearFeedForward
VirtualRobot::JacobiProvider::InverseJacobiMethod invJacMethod
size_t currentWaypointIndex
const Eigen::Matrix4f & getCurrentTarget() const
size_t skipToClosestWaypoint(float rad2mmFactor)
PositionControllerHelper(const VirtualRobot::RobotNodePtr &tcp, const VelocityControllerHelperPtr &velocityControllerHelper, const Eigen::Matrix4f &target)
Matrix< float, 6, 1 > Vector6f
std::shared_ptr< PositionControllerHelper > PositionControllerHelperPtr
float thresholdOrientationReached
MatrixXX< 4, 4, float > Matrix4f
static bool OptimizeNullspace(const VirtualRobot::RobotNodePtr &tcp, const VirtualRobot::RobotNodeSetPtr &rns, const Eigen::Matrix4f &target, const NullspaceOptimizationArgs &args=NullspaceOptimizationArgs())
OptimizeNullspace.
NullspaceOptimizationArgs()
float getOrientationError() const
VirtualRobot::IKSolver::CartesianSelection cartesianSelection
void readConfig(const CartesianPositionControllerConfigBase &config)
bool isCurrentTargetReached() const
void setTarget(const Eigen::Matrix4f &target)
bool isLastWaypoint() const
float getPositionError() const
std::shared_ptr< VelocityControllerHelper > VelocityControllerHelperPtr
This file offers overloads of toIce() and fromIce() functions for STL container types.
void setNewWaypoints(const std::vector< Eigen::Matrix4f > &waypoints)