Skip to content

Commit 9a0f5b1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7e88eec commit 9a0f5b1

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

include/hpp/manipulation/device.hh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ class HPP_MANIPULATION_DLLAPI Device
5555
/// \param name of the new instance,
5656
static DevicePtr_t create(const std::string& name);
5757

58-
DevicePtr_t self() { return enable_shared_from_this<Device>::shared_from_this(); }
58+
DevicePtr_t self() {
59+
return enable_shared_from_this<Device>::shared_from_this();
60+
}
5961

6062
/// Print object in a stream
6163
virtual std::ostream& print(std::ostream& os) const;

src/device.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ void Device::removeJoints(const std::vector<std::string>& jointNames,
139139
Parent_t::removeJoints(jointNames, referenceConfig);
140140

141141
for (auto& pair : grippers.map)
142-
pair.second = pinocchio::Gripper::create(pair.second->name(),
143-
std::enable_shared_from_this<Device>::shared_from_this());
142+
pair.second = pinocchio::Gripper::create(
143+
pair.second->name(),
144+
std::enable_shared_from_this<Device>::shared_from_this());
144145
// TODO update handles and jointAndShapes
145146
}
146147

src/graph/edge.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ ConstraintSetPtr_t Edge::buildPathConstraint() {
302302
shared_ptr<core::ObstacleUserInterface> oui =
303303
HPP_DYNAMIC_PTR_CAST(core::ObstacleUserInterface, pathValidation_);
304304
if (oui) {
305-
// Compute forward kinematics and geometry placement to avoid assertions on non
306-
// initialized data
305+
// Compute forward kinematics and geometry placement to avoid assertions on
306+
// non initialized data
307307
g->robot()->computeForwardKinematics(pinocchio::COMPUTE_ALL);
308308
g->robot()->updateGeometryPlacements();
309309
relMotion_ = RelativeMotion::matrix(g->robot());

0 commit comments

Comments
 (0)