Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
martinaxgloria committed Feb 9, 2024
1 parent a8adb1e commit 6efb515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imu/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ bool Imu::moveJoint(int ax, double pos)
return accumulator + element * element;
});

double rms = std::sqrt(sumOfSquares);
errorTot.push_back(rms);
double mag = std::sqrt(sumOfSquares);
errorTot.push_back(mag);

sendData(expectedImuSignal.asRPY(), imuSignal.asRPY());
ipos->checkMotionDone(&done);
Expand Down

0 comments on commit 6efb515

Please sign in to comment.