Drake
|
#include <drake/systems/plants/constraint/RigidBodyConstraint.h>
Public Member Functions | |
SingleTimeKinematicConstraint (RigidBodyTree *model, const Eigen::Vector2d &tspan=DrakeRigidBodyConstraint::default_tspan) | |
virtual | ~SingleTimeKinematicConstraint () |
bool | isTimeValid (const double *t) const |
int | getNumConstraint (const double *t) const |
virtual void | eval (const double *t, KinematicsCache< double > &cache, Eigen::VectorXd &c, Eigen::MatrixXd &dc) const =0 |
virtual void | bounds (const double *t, Eigen::VectorXd &lb, Eigen::VectorXd &ub) const =0 |
virtual void | name (const double *t, std::vector< std::string > &name_str) const =0 |
virtual void | updateRobot (RigidBodyTree *robot) |
Public Member Functions inherited from RigidBodyConstraint | |
RigidBodyConstraint (int category, RigidBodyTree *robot, const Eigen::Vector2d &tspan=DrakeRigidBodyConstraint::default_tspan) | |
int | getType () const |
int | getCategory () const |
RigidBodyTree * | getRobotPointer () const |
virtual | ~RigidBodyConstraint (void)=0 |
Protected Member Functions | |
void | set_num_constraint (int num_constraint) |
Protected Member Functions inherited from RigidBodyConstraint | |
std::string | getTimeString (const double *t) const |
void | set_type (int type) |
void | set_robot (RigidBodyTree *robot) |
const double * | tspan () const |
SingleTimeKinematicConstraint | ( | RigidBodyTree * | model, |
const Eigen::Vector2d & | tspan = DrakeRigidBodyConstraint::default_tspan |
||
) |
|
inlinevirtual |
|
pure virtual |
Implemented in GravityCompensationTorqueConstraint, MinDistanceConstraint, AllBodiesClosestDistanceConstraint, Point2LineSegDistConstraint, Point2PointDistanceConstraint, GazeTargetConstraint, GazeDirConstraint, GazeOrientConstraint, EulerConstraint, QuatConstraint, and PositionConstraint.
|
pure virtual |
Implemented in GravityCompensationTorqueConstraint, MinDistanceConstraint, AllBodiesClosestDistanceConstraint, Point2LineSegDistConstraint, Point2PointDistanceConstraint, RelativeGazeDirConstraint, RelativeGazeTargetConstraint, WorldGazeTargetConstraint, WorldGazeDirConstraint, GazeOrientConstraint, EulerConstraint, QuatConstraint, and PositionConstraint.
int getNumConstraint | ( | const double * | t | ) | const |
bool isTimeValid | ( | const double * | t | ) | const |
|
pure virtual |
Implemented in GravityCompensationTorqueConstraint, MinDistanceConstraint, AllBodiesClosestDistanceConstraint, Point2LineSegDistConstraint, Point2PointDistanceConstraint, RelativeGazeDirConstraint, RelativeGazeTargetConstraint, WorldGazeTargetConstraint, WorldGazeDirConstraint, WorldGazeOrientConstraint, WorldEulerConstraint, RelativeQuatConstraint, WorldQuatConstraint, and PositionConstraint.
|
inlineprotected |
|
virtual |
Reimplemented in AllBodiesClosestDistanceConstraint.