diff --git a/src/imu/imu.cpp b/src/imu/imu.cpp index 1956796..be513fb 100644 --- a/src/imu/imu.cpp +++ b/src/imu/imu.cpp @@ -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);