Public Member Functions | Protected Attributes
constrained_ik::constraints::GoalZeroJVel Class Reference

Constraint to dampen movement by driving joint velocity to zero in each iteration. More...

#include <goal_zero_jvel.h>

Inheritance diagram for constrained_ik::constraints::GoalZeroJVel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Eigen::VectorXd calcError ()
 Error for this constraint is 0.
virtual Eigen::MatrixXd calcJacobian ()
 Jacobian is identity because all joints are affected.
virtual bool checkStatus () const
 Termination criteria for mid-joint constraint.
double getWeight ()
 Getter for weight_.
 GoalZeroJVel ()
void setWeight (double weight)
 setter for weight_
virtual ~GoalZeroJVel ()

Protected Attributes

double weight_

Detailed Description

Constraint to dampen movement by driving joint velocity to zero in each iteration.

Definition at line 32 of file goal_zero_jvel.h.


Constructor & Destructor Documentation

Definition at line 30 of file goal_zero_jvel.cpp.

Definition at line 36 of file goal_zero_jvel.h.


Member Function Documentation

Error for this constraint is 0.

Returns:
nx1 vector of zeros

Implements constrained_ik::Constraint.

Definition at line 34 of file goal_zero_jvel.cpp.

Jacobian is identity because all joints are affected.

Returns:
Identity scaled by weight_

Implements constrained_ik::Constraint.

Definition at line 39 of file goal_zero_jvel.cpp.

virtual bool constrained_ik::constraints::GoalZeroJVel::checkStatus ( ) const [inline, virtual]

Termination criteria for mid-joint constraint.

Returns:
True always (no termination criteria)

Reimplemented from constrained_ik::Constraint.

Definition at line 51 of file goal_zero_jvel.h.

Getter for weight_.

Returns:
weight_

Definition at line 56 of file goal_zero_jvel.h.

void constrained_ik::constraints::GoalZeroJVel::setWeight ( double  weight) [inline]

setter for weight_

Parameters:
weightValue to set weight_ to

Definition at line 61 of file goal_zero_jvel.h.


Member Data Documentation

Definition at line 61 of file goal_zero_jvel.h.


The documentation for this class was generated from the following files:


constrained_ik
Author(s): Chris Lewis , Jeremy Zoss , Dan Solomon
autogenerated on Mon Oct 6 2014 00:52:27