Skip to content
Snippets Groups Projects
Commit 19096700 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix naming of pregrasp constraints for handle. Add TODO

parent 2de483b8
No related branches found
No related tags found
No related merge requests found
...@@ -66,6 +66,8 @@ namespace hpp { ...@@ -66,6 +66,8 @@ namespace hpp {
/// \return the constraint of relative transformation between the handle and /// \return the constraint of relative transformation between the handle and
/// the gripper. /// the gripper.
/// \note The translation along x-axis and the rotation around z-axis are not constrained. /// \note The translation along x-axis and the rotation around z-axis are not constrained.
/// \todo this function is never called. It should follow changes of
/// Handle::createPreGrasp prototype.
virtual NumericalConstraintPtr_t createPreGrasp virtual NumericalConstraintPtr_t createPreGrasp
(const GripperPtr_t& gripper) const; (const GripperPtr_t& gripper) const;
......
...@@ -111,7 +111,7 @@ namespace hpp { ...@@ -111,7 +111,7 @@ namespace hpp {
* Transform3f (fcl::Vec3f (shift,0,0)); * Transform3f (fcl::Vec3f (shift,0,0));
return NumericalConstraintPtr_t return NumericalConstraintPtr_t
(NumericalConstraint::create (RelativeTransformation::create (NumericalConstraint::create (RelativeTransformation::create
("Transformation_(0,1,1,1,1,1)_" + name () ("Transformation_(1,1,1,1,1,1)_" + name ()
+ "_" + gripper->name (), + "_" + gripper->name (),
gripper->joint()->robot(), gripper->joint()->robot(),
gripper->joint (), joint (), gripper->joint (), joint (),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment