Constraint to dampen movement by driving joint velocity to zero in each iteration. More...
#include <goal_zero_jvel.h>
Public Member Functions | |
virtual Eigen::VectorXd | calcError (const ConstraintData &cdata) const |
Error for this constraint is 0. | |
virtual Eigen::MatrixXd | calcJacobian (const ConstraintData &cdata) const |
Jacobian is identity because all joints are affected. | |
virtual bool | checkStatus (const ConstraintData &cdata) const |
Termination criteria for mid-joint constraint. | |
constrained_ik::ConstraintResults | evalConstraint (const SolverState &state) const override |
see base class for documentation | |
virtual double | getWeight () const |
Getter for weight_. | |
void | loadParameters (const XmlRpc::XmlRpcValue &constraint_xml) override |
see base class for documentation | |
virtual void | setWeight (double weight) |
setter for weight_ | |
Protected Attributes | |
double | weight_ |
weights used to scale the jocabian and error |
Constraint to dampen movement by driving joint velocity to zero in each iteration.
Definition at line 43 of file goal_zero_jvel.h.
Eigen::VectorXd constrained_ik::constraints::GoalZeroJVel::calcError | ( | const ConstraintData & | cdata | ) | const [virtual] |
Error for this constraint is 0.
cdata | The constraint specific data. |
Definition at line 55 of file goal_zero_jvel.cpp.
Eigen::MatrixXd constrained_ik::constraints::GoalZeroJVel::calcJacobian | ( | const ConstraintData & | cdata | ) | const [virtual] |
Jacobian is identity because all joints are affected.
cdata | The constraint specific data. |
Definition at line 60 of file goal_zero_jvel.cpp.
virtual bool constrained_ik::constraints::GoalZeroJVel::checkStatus | ( | const ConstraintData & | cdata | ) | const [inline, virtual] |
Termination criteria for mid-joint constraint.
cdata | The constraint specific data. |
Definition at line 74 of file goal_zero_jvel.h.
virtual double constrained_ik::constraints::GoalZeroJVel::getWeight | ( | ) | const [inline, virtual] |
virtual void constrained_ik::constraints::GoalZeroJVel::setWeight | ( | double | weight | ) | [inline, virtual] |
setter for weight_
weight | Value to set weight_ to |
Definition at line 86 of file goal_zero_jvel.h.