Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and florent-lamiraux committed Jan 22, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4131bba commit b8c98bd
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/hpp/manipulation/device.hh
Original file line number Diff line number Diff line change
@@ -83,9 +83,7 @@ class HPP_MANIPULATION_DLLAPI Device
/// \param objects Set of objects manipulated by the robot.
Device(const std::string& name);

void init(const DeviceWkPtr_t& self) {
Parent_t::init(self);
}
void init(const DeviceWkPtr_t& self) { Parent_t::init(self); }

void initCopy(const DeviceWkPtr_t& self, const Device& other) {
Parent_t::initCopy(self, other);
3 changes: 2 additions & 1 deletion src/device.cc
Original file line number Diff line number Diff line change
@@ -139,7 +139,8 @@ void Device::removeJoints(const std::vector<std::string>& jointNames,
Parent_t::removeJoints(jointNames, referenceConfig);

for (auto& pair : grippers.map)
pair.second = pinocchio::Gripper::create(pair.second->name(), shared_from_this());
pair.second =
pinocchio::Gripper::create(pair.second->name(), shared_from_this());
// TODO update handles and jointAndShapes
}

0 comments on commit b8c98bd

Please sign in to comment.