Skip to content

Commit 4715e75

Browse files
committed
IWYU fixes
Signed-off-by: Alex Moriarty <[email protected]>
1 parent f139b2c commit 4715e75

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

robotiq_driver/include/robotiq_driver/hardware_interface.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#pragma once
3030

3131
#include <atomic>
32+
#include <limits>
3233
#include <memory>
3334
#include <string>
3435
#include <vector>

robotiq_driver/include/robotiq_driver/robotiq_gripper_interface.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
class RobotiqGripperInterface
4242
{
4343
public:
44-
RobotiqGripperInterface(const std::string & com_port = "/dev/ttyUSB0", uint8_t slave_id = 0x09);
44+
explicit RobotiqGripperInterface(
45+
const std::string & com_port = "/dev/ttyUSB0", uint8_t slave_id = 0x09);
4546

4647
/**
4748
* @brief Activates the gripper.

robotiq_driver/src/hardware_interface.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ hardware_interface::CallbackReturn RobotiqGripperHardwareInterface::on_activate(
182182
const auto now = std::chrono::high_resolution_clock::now();
183183
if (now - last_io > io_interval) {
184184
try {
185-
// Re-activate the gripper (this can be used, for example, to re-run the auto-calibration).
185+
// Re-activate the gripper
186+
// (this can be used, for example, to re-run the auto-calibration).
186187
if (reactivate_gripper_async_cmd_.load()) {
187188
this->gripper_interface_->deactivateGripper();
188189
this->gripper_interface_->activateGripper();

0 commit comments

Comments
 (0)