From d63aa3aa60ec59f732e22a3ca66e5670e8c57b31 Mon Sep 17 00:00:00 2001 From: ShotaAk Date: Thu, 25 Aug 2022 10:36:52 +0900 Subject: [PATCH] Add an initialization of the gripper action command for safe startup. --- .../gripper_controllers/gripper_action_controller_impl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gripper_controllers/include/gripper_controllers/gripper_action_controller_impl.hpp b/gripper_controllers/include/gripper_controllers/gripper_action_controller_impl.hpp index ee07a9c0a0..6fb9d61359 100644 --- a/gripper_controllers/include/gripper_controllers/gripper_action_controller_impl.hpp +++ b/gripper_controllers/include/gripper_controllers/gripper_action_controller_impl.hpp @@ -298,6 +298,7 @@ controller_interface::CallbackReturn GripperActionController: // Command - non RT version command_struct_.position_ = joint_position_state_interface_->get().get_value(); command_struct_.max_effort_ = default_max_effort_; + command_.initRT(command_struct_); // Result pre_alloc_result_ = std::make_shared();