hpp-constraints
4.9.1
Definition of basic geometric constraints for motion planning
|
Constraint of relative pose between two frames on a kinematic chain. More...
#include <hpp/constraints/implicit/relative-pose.hh>
Static Public Member Functions | |
static RelativePosePtr_t | create (const std::string &name, const DevicePtr_t &robot, const JointConstPtr_t &joint1, const JointConstPtr_t &joint2, const Transform3f &frame1, const Transform3f &frame2, std::vector< bool > mask=std::vector< bool >(6, true), ComparisonTypes_t comp=std::vector< ComparisonType >(), vectorIn_t rhs=vector_t()) |
static RelativePosePtr_t | createCopy (const RelativePosePtr_t &other) |
Static Public Member Functions inherited from hpp::constraints::Implicit | |
static ImplicitPtr_t | create (const DifferentiableFunctionPtr_t &function) |
static ImplicitPtr_t | create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp) |
static ImplicitPtr_t | create (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs) |
static ImplicitPtr_t | createCopy (const ImplicitPtr_t &other) |
Create a copy and return shared pointer. More... | |
Protected Member Functions | |
RelativePose (const std::string &name, const DevicePtr_t &robot, const JointConstPtr_t &joint1, const JointConstPtr_t &joint2, const Transform3f &frame1, const Transform3f &frame2, std::vector< bool > mask=std::vector< bool >(6, true), ComparisonTypes_t comp=std::vector< ComparisonType >(), vectorIn_t rhs=vector_t()) | |
RelativePose (const RelativePose &other) | |
Copy constructor. More... | |
void | init (RelativePoseWkPtr_t weak) |
Store shared pointer to itself. More... | |
Protected Member Functions inherited from hpp::constraints::Implicit | |
Implicit (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp) | |
Implicit (const DifferentiableFunctionPtr_t &function, ComparisonTypes_t comp, vectorIn_t rhs) | |
Implicit (const Implicit &other) | |
Copy constructor. More... | |
virtual bool | isEqual (const Implicit &other, bool swapAndTest) const |
void | init (const ImplicitWkPtr_t &weak) |
Constraint of relative pose between two frames on a kinematic chain.
|
protected |
Constructor
name | the name of the constraints, |
robot | the robot the constraints is applied to, |
joint1 | the first joint the transformation of which is constrained, |
joint2 | the second joint the transformation of which is constrained, |
frame1 | position of a fixed frame in joint 1, |
frame2 | position of a fixed frame in joint 2, |
mask | vector of 6 boolean defining which coordinates of the error vector to take into account. |
|
protected |
Copy constructor.
|
virtual |
Copy object and return shared pointer to copy.
Reimplemented from hpp::constraints::Implicit.
Reimplemented in hpp::constraints::explicit_::RelativePose.
|
static |
Create instance and return shared pointer
name | the name of the constraints, |
robot | the robot the constraints is applied to, |
joint1 | the first joint the transformation of which is constrained, |
joint2 | the second joint the transformation of which is constrained, |
frame1 | position of a fixed frame in joint 1, |
frame2 | position of a fixed frame in joint 2, |
mask | vector of 6 boolean defining which coordinates of the error vector to take into account. |
|
static |
|
protected |
Store shared pointer to itself.
|
inline |
Get joint1.
|
inline |
Get joint2.