Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: Calibration/Calibration.cpp
- Revision:
- 239:09cd19ce7048
- Parent:
- 232:47f6cf4f9126
- Child:
- 244:1c6c0af8508e
--- a/Calibration/Calibration.cpp Sat Nov 10 11:20:38 2018 +0000 +++ b/Calibration/Calibration.cpp Sat Nov 10 11:59:50 2018 +0000 @@ -114,7 +114,7 @@ } offset = fmodf(offset, 2 * PI); io->pc->printf("Done!\n"); - io->pc->printf("Offset = %f\n", -offset); + io->pc->printf("Offset = %f\n", offset); io->pc->printf("Use 'flush' to save this value to flash\n"); - _POS_OFFSET = -offset; + _POS_OFFSET = offset; } \ No newline at end of file