Skip to content

Commit 9c8058b

Browse files
Merge pull request #96 from L-SY/fix_return
Fix joint_calibration_controller
2 parents 351e4b7 + ca6d165 commit 9c8058b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rm_calibration_controllers/src/joint_calibration_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void JointCalibrationController::update(const ros::Time& time, const ros::Durati
162162
ROS_INFO("Joint %s calibrated", velocity_ctrl_.getJointName().c_str());
163163
state_ = CALIBRATED;
164164
if (is_return_)
165-
position_ctrl_.joint_.setCommand(target_position_);
165+
position_ctrl_.setCommand(target_position_);
166166
else
167167
{
168168
velocity_ctrl_.joint_.setCommand(0.);

0 commit comments

Comments
 (0)