Skip to content

Commit

Permalink
whitespace v2
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushKulk committed Apr 26, 2024
1 parent d2b6b55 commit ee64910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/world_interface/kinematic_common_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ void setJointMotorPower(robot::types::jointid_t joint, double power) {
} else if (joint == jointid_t::wristPitch || joint == jointid_t::wristRoll) {
kinematics::DiffWristKinematics diffWristKinematics;
setJointPowerValue(joint, power);
kinematics::jointpos_t jointPwr2 (getJointPowerValue(jointid_t::wristPitch),
getJointPowerValue(jointid_t::wristRoll));
kinematics::jointpos_t jointPwr2(getJointPowerValue(jointid_t::wristPitch),
getJointPowerValue(jointid_t::wristRoll));
kinematics::gearpos_t gearPwr2 = diffWristKinematics.jointPowerToGearPower(jointPwr2);

setMotorPower(robot::types::motorid_t::wristDiffRight, gearPwr2.right);
Expand Down

0 comments on commit ee64910

Please sign in to comment.