Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Aron Svastits committed May 21, 2024
1 parent d9cef06 commit 8b16e5c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kuka_iiqka_eac_driver/src/hardware_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,13 @@ return_type KukaEACHardwareInterface::write(const rclcpp::Time &, const rclcpp::
return return_type::OK;
}

robot_ptr_->GetControlSignal().AddJointPositionValues(hw_position_commands_.begin(), hw_position_commands_.end());
robot_ptr_->GetControlSignal().AddTorqueValues(hw_torque_commands_.begin(), hw_torque_commands_.end());
robot_ptr_->GetControlSignal().AddJointPositionValues(
hw_position_commands_.begin(), hw_position_commands_.end());
robot_ptr_->GetControlSignal().AddTorqueValues(
hw_torque_commands_.begin(), hw_torque_commands_.end());
robot_ptr_->GetControlSignal().AddStiffnessAndDampingValues(
hw_stiffness_commands_.begin(), hw_stiffness_commands_.end(), hw_damping_commands_.begin(), hw_damping_commands_.end());
hw_stiffness_commands_.begin(), hw_stiffness_commands_.end(), hw_damping_commands_.begin(),
hw_damping_commands_.end());

kuka::external::control::Status send_reply;
if (stop_requested_)
Expand Down

0 comments on commit 8b16e5c

Please sign in to comment.