29 #ifndef HPP_CONSTRAINTS_LOCKED_JOINT_HH
30 #define HPP_CONSTRAINTS_LOCKED_JOINT_HH
33 #include <hpp/pinocchio/joint.hh>
36 namespace constraints {
122 const std::string&
jointName()
const {
return jointName_; }
124 std::ostream&
print(std::ostream& os)
const;
134 virtual std::pair<JointConstPtr_t, JointConstPtr_t>
166 std::string jointName_;
170 LockedJointWkPtr_t weak_;
Definition: explicit.hh:143
Definition: implicit.hh:119
Definition: locked-joint.hh:66
virtual std::pair< JointConstPtr_t, JointConstPtr_t > doesConstrainRelPoseBetween(DeviceConstPtr_t robot) const
LockedJoint(const JointPtr_t &joint, const size_type index, vectorIn_t value)
const JointPtr_t & joint()
Return shared pointer to joint.
Definition: locked-joint.hh:120
size_type rankInConfiguration() const
Get index of locked degree of freedom in robot configuration vector.
static LockedJointPtr_t createCopy(LockedJointConstPtr_t other)
void value(vectorIn_t value)
Set the value of the locked joint.
LockedJoint(const DevicePtr_t &robot, const size_type index, vectorIn_t value)
static LockedJointPtr_t create(const JointPtr_t &joint, const LiegroupElement &value)
virtual ImplicitPtr_t copy() const
Copy object and return shared pointer to copy.
void init(const LockedJointPtr_t &self)
std::ostream & print(std::ostream &os) const
Print object in a stream.
LockedJoint(const JointPtr_t &joint, const LiegroupElement &value)
size_type numberDof() const
Get number of degrees of freedom of the joint.
virtual bool isEqual(const Implicit &other, bool swapAndTest) const
size_type rankInVelocity() const
Get index of locked degree of freedom in robot velocity vector.
static LockedJointPtr_t create(const JointPtr_t &joint, const size_type index, vectorIn_t value)
LockedJoint(const LockedJoint &other)
Copy constructor.
vectorIn_t value() const
Get the value of the locked joint.
const std::string & jointName() const
Return the joint name.
Definition: locked-joint.hh:122
size_type configSize() const
Get the configuration size of the joint.
static LockedJointPtr_t create(const DevicePtr_t &dev, const size_type index, vectorIn_t value)
const LiegroupSpacePtr_t & configSpace() const
Get configuration space of locked joint.
#define HPP_CONSTRAINTS_DLLAPI
Definition: config.hh:88
pinocchio::LiegroupElement LiegroupElement
Definition: fwd.hh:65
shared_ptr< const LockedJoint > LockedJointConstPtr_t
Definition: fwd.hh:206
pinocchio::DevicePtr_t DevicePtr_t
Definition: fwd.hh:109
pinocchio::DeviceConstPtr_t DeviceConstPtr_t
Definition: fwd.hh:110
pinocchio::LiegroupSpacePtr_t LiegroupSpacePtr_t
Definition: fwd.hh:69
ComparisonTypes_t operator<<(const ComparisonType &a, const ComparisonType &b)
Definition: comparison-types.hh:61
shared_ptr< Implicit > ImplicitPtr_t
Definition: fwd.hh:173
pinocchio::size_type size_type
Definition: fwd.hh:47
pinocchio::vectorIn_t vectorIn_t
Definition: fwd.hh:60
shared_ptr< LockedJoint > LockedJointPtr_t
Definition: fwd.hh:205
pinocchio::JointPtr_t JointPtr_t
Definition: fwd.hh:49
Definition: active-set-differentiable-function.hh:36