diff --git a/src/control_interface.cpp b/src/control_interface.cpp index e698fe2d..0ee4dd82 100644 --- a/src/control_interface.cpp +++ b/src/control_interface.cpp @@ -169,7 +169,7 @@ void setJointMotorPower(robot::types::jointid_t joint, double power) { setJointPowerValue(joint, power); kinematics::jointpos_t jointPwr(getJointPowerValue(jointid_t::wristPitch), getJointPowerValue(jointid_t::wristRoll)); - kinematics::gearpos_t gearPwr = diffWristKinematics.jointPowerToGearPower(jointPwr); + kinematics::gearpos_t gearPwr = diffWristKinematics.jointPowerToGearPower(jointPwr); } else { LOG_F(WARNING, "setJointPower called for currently unsupported joint %s", util::to_string(joint).c_str());