29/10/2019
Dependencies: Encoder_Nucleo_16_bits
Diff: PID.cpp
- Revision:
- 6:1e8c73d85648
- Parent:
- 5:d01614d14cd1
- Child:
- 7:78cdcb637927
diff -r d01614d14cd1 -r 1e8c73d85648 PID.cpp --- a/PID.cpp Tue Jun 05 07:24:40 2018 +0000 +++ b/PID.cpp Tue Jun 05 08:06:30 2018 +0000 @@ -71,6 +71,7 @@ double meanDist, diffDist, deltaX, deltaY, deltaTheta; static long oldPositionG=0, oldPositionD=0; + pc.printf ("\n"); PositionG = _Lencoder.GetCounter(); PositionD = -_Rencoder.GetCounter();