File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -171,11 +171,15 @@ class HPP_MANIPULATION_DLLAPI Handle {
171171
172172 // / Get approaching direction for pregrasp
173173 // / Default is x-axis (1, 0, 0)
174- const vector3_t & approachingDirection () const { return approachingDirection_; }
174+ const vector3_t & approachingDirection () const {
175+ return approachingDirection_;
176+ }
175177
176178 // / Set approaching direction for pregrasp
177179 // / \param dir unit vector defining the approach direction in handle frame
178- void approachingDirection (const vector3_t & dir) { approachingDirection_ = dir; }
180+ void approachingDirection (const vector3_t & dir) {
181+ approachingDirection_ = dir;
182+ }
179183
180184 protected:
181185 // / Constructor
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ ImplicitPtr_t Handle::createPreGrasp(const GripperPtr_t& gripper,
205205 const value_type& shift,
206206 std::string n) const {
207207 Transform3s M = gripper->objectPositionInJoint () *
208- Transform3s (I3, shift* approachingDirection_);
208+ Transform3s (I3, shift * approachingDirection_);
209209 if (n.empty ())
210210 n = " Pregrasp_ " + maskToStr (mask_) + " _" + name () + " _" + gripper->name ();
211211 ImplicitPtr_t result (Implicit::create (
You can’t perform that action at this time.
0 commit comments