File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
robotiq_hande_driver/hardware/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ HWI::CallbackReturn RobotiqHandeHardwareInterface::on_init(const HWI::HardwareIn
1717 if (HWI::SystemInterface::on_init (info) != CallbackReturn::SUCCESS) {
1818 return HWI::CallbackReturn::ERROR;
1919 }
20+ clock_ = std::make_shared<rclcpp::Clock>(rclcpp::Clock ());
2021 logger_ = std::make_shared<rclcpp::Logger>(
2122 rclcpp::get_logger (" controller_manager.resource_manager.hardware_component.system."
2223 " RobotiqHandeHardwareInterface" ));
@@ -129,7 +130,6 @@ std::vector<HWI::CommandInterface> RobotiqHandeHardwareInterface::export_command
129130HWI::CallbackReturn RobotiqHandeHardwareInterface::on_activate (
130131 const rlccp_lc::State& /* previous_state*/ ) {
131132 int iter = 0 ;
132- clock_ = std::make_shared<rclcpp::Clock>(rclcpp::Clock ());
133133 gripper_driver_.read ();
134134
135135 if (gripper_driver_.get_status ().is_ready )
You can’t perform that action at this time.
0 commit comments