|
|
#include <RobotAPI/libraries/RobotStatechartHelpers/PositionControllerHelper.h>
Classes | |
| struct | NullspaceOptimizationArgs |
Public Member Functions | |
| void | addWaypoint (const Eigen::Matrix4f &waypoint) |
| void | clearFeedForwardVelocity () |
| const Eigen::Matrix4f & | getCurrentTarget () const |
| const Eigen::Vector3f | getCurrentTargetPosition () const |
| float | getOrientationError () const |
| float | getPositionError () const |
| std::string | getStatusText () |
| void | immediateHardStop (bool clearTargets=true) |
| bool | isCurrentTargetNear () const |
| bool | isCurrentTargetReached () const |
| bool | isFinalTargetNear () const |
| bool | isFinalTargetReached () const |
| bool | isLastWaypoint () const |
| PositionControllerHelper (const VirtualRobot::RobotNodePtr &tcp, const VelocityControllerHelperPtr &velocityControllerHelper, const Eigen::Matrix4f &target) | |
| PositionControllerHelper (const VirtualRobot::RobotNodePtr &tcp, const VelocityControllerHelperPtr &velocityControllerHelper, const std::vector< Eigen::Matrix4f > &waypoints) | |
| PositionControllerHelper (const VirtualRobot::RobotNodePtr &tcp, const VelocityControllerHelperPtr &velocityControllerHelper, const std::vector< PosePtr > &waypoints) | |
| void | readConfig (const CartesianPositionControllerConfigBase &config) |
| void | readConfig (const CartesianPositionControllerConfigBasePtr &config) |
| void | setFeedForwardVelocity (const Eigen::Vector3f &feedForwardVelocityPos, const Eigen::Vector3f &feedForwardVelocityOri) |
| void | setFeedForwardVelocity (const Eigen::Vector6f &feedForwardVelocity) |
| void | setNewWaypoints (const std::vector< Eigen::Matrix4f > &waypoints) |
| void | setNewWaypoints (const std::vector< PosePtr > &waypoints) |
| void | setNullSpaceControl (bool enabled) |
| void | setTarget (const Eigen::Matrix4f &target) |
| size_t | skipToClosestWaypoint (float rad2mmFactor) |
| void | update () |
| void | updateRead () |
| void | updateWrite () |
Static Public Member Functions | |
| static bool | OptimizeNullspace (const VirtualRobot::RobotNodePtr &tcp, const VirtualRobot::RobotNodeSetPtr &rns, const Eigen::Matrix4f &target, const NullspaceOptimizationArgs &args=NullspaceOptimizationArgs()) |
| OptimizeNullspace. More... | |
Public Attributes | |
| bool | autoClearFeedForward = true |
| size_t | currentWaypointIndex = 0 |
| Eigen::Vector6f | feedForwardVelocity = Eigen::Vector6f::Zero() |
| CartesianPositionController | posController |
| float | thresholdOrientationNear = 0 |
| float | thresholdOrientationReached = 0 |
| float | thresholdPositionNear = 0 |
| float | thresholdPositionReached = 0 |
| VelocityControllerHelperPtr | velocityControllerHelper |
| std::vector< Eigen::Matrix4f > | waypoints |
Definition at line 47 of file PositionControllerHelper.h.
| PositionControllerHelper | ( | const VirtualRobot::RobotNodePtr & | tcp, |
| const VelocityControllerHelperPtr & | velocityControllerHelper, | ||
| const Eigen::Matrix4f & | target | ||
| ) |
Definition at line 38 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| PositionControllerHelper | ( | const VirtualRobot::RobotNodePtr & | tcp, |
| const VelocityControllerHelperPtr & | velocityControllerHelper, | ||
| const std::vector< Eigen::Matrix4f > & | waypoints | ||
| ) |
Definition at line 49 of file PositionControllerHelper.cpp.
| PositionControllerHelper | ( | const VirtualRobot::RobotNodePtr & | tcp, |
| const VelocityControllerHelperPtr & | velocityControllerHelper, | ||
| const std::vector< PosePtr > & | waypoints | ||
| ) |
Definition at line 60 of file PositionControllerHelper.cpp.
| void addWaypoint | ( | const Eigen::Matrix4f & | waypoint | ) |
Definition at line 140 of file PositionControllerHelper.cpp.
| void clearFeedForwardVelocity | ( | ) |
Definition at line 168 of file PositionControllerHelper.cpp.
Here is the caller graph for this function:| const Eigen::Matrix4f & getCurrentTarget | ( | ) | const |
Definition at line 228 of file PositionControllerHelper.cpp.
Here is the caller graph for this function:| const Eigen::Vector3f getCurrentTargetPosition | ( | ) | const |
Definition at line 234 of file PositionControllerHelper.cpp.
| float getOrientationError | ( | ) | const |
Definition at line 190 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| float getPositionError | ( | ) | const |
Definition at line 184 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| std::string getStatusText | ( | ) |
Definition at line 266 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| void immediateHardStop | ( | bool | clearTargets = true | ) |
Definition at line 174 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| bool isCurrentTargetNear | ( | ) | const |
Definition at line 203 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool isCurrentTargetReached | ( | ) | const |
Definition at line 196 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool isFinalTargetNear | ( | ) | const |
Definition at line 216 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| bool isFinalTargetReached | ( | ) | const |
Definition at line 210 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| bool isLastWaypoint | ( | ) | const |
Definition at line 222 of file PositionControllerHelper.cpp.
Here is the caller graph for this function:
|
static |
OptimizeNullspace.
| tcp | |
| rns | |
| target | target pose in root frame of the robot |
| args |
Definition at line 277 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| void readConfig | ( | const CartesianPositionControllerConfigBase & | config | ) |
Definition at line 75 of file PositionControllerHelper.cpp.
Here is the caller graph for this function:| void readConfig | ( | const CartesianPositionControllerConfigBasePtr & | config | ) |
Definition at line 88 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| void setFeedForwardVelocity | ( | const Eigen::Vector3f & | feedForwardVelocityPos, |
| const Eigen::Vector3f & | feedForwardVelocityOri | ||
| ) |
Definition at line 160 of file PositionControllerHelper.cpp.
| void setFeedForwardVelocity | ( | const Eigen::Vector6f & | feedForwardVelocity | ) |
Definition at line 154 of file PositionControllerHelper.cpp.
| void setNewWaypoints | ( | const std::vector< Eigen::Matrix4f > & | waypoints | ) |
Definition at line 122 of file PositionControllerHelper.cpp.
| void setNewWaypoints | ( | const std::vector< PosePtr > & | waypoints | ) |
Definition at line 129 of file PositionControllerHelper.cpp.
| void setNullSpaceControl | ( | bool | enabled | ) |
Definition at line 260 of file PositionControllerHelper.cpp.
| void setTarget | ( | const Eigen::Matrix4f & | target | ) |
Definition at line 146 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| size_t skipToClosestWaypoint | ( | float | rad2mmFactor | ) |
Definition at line 240 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| void update | ( | ) |
Definition at line 94 of file PositionControllerHelper.cpp.
Here is the call graph for this function:| void updateRead | ( | ) |
Definition at line 101 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void updateWrite | ( | ) |
Definition at line 110 of file PositionControllerHelper.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool autoClearFeedForward = true |
Definition at line 143 of file PositionControllerHelper.h.
| size_t currentWaypointIndex = 0 |
Definition at line 136 of file PositionControllerHelper.h.
| Eigen::Vector6f feedForwardVelocity = Eigen::Vector6f::Zero() |
Definition at line 142 of file PositionControllerHelper.h.
| CartesianPositionController posController |
Definition at line 132 of file PositionControllerHelper.h.
| float thresholdOrientationNear = 0 |
Definition at line 141 of file PositionControllerHelper.h.
| float thresholdOrientationReached = 0 |
Definition at line 139 of file PositionControllerHelper.h.
| float thresholdPositionNear = 0 |
Definition at line 140 of file PositionControllerHelper.h.
| float thresholdPositionReached = 0 |
Definition at line 138 of file PositionControllerHelper.h.
| VelocityControllerHelperPtr velocityControllerHelper |
Definition at line 133 of file PositionControllerHelper.h.
| std::vector<Eigen::Matrix4f> waypoints |
Definition at line 135 of file PositionControllerHelper.h.