Rauno U
/
Miisu
Six crescent shaped legs
Diff: main.cpp
- Revision:
- 12:8de7f5d56fe4
- Parent:
- 11:a0976d3b33c5
- Child:
- 13:dc5f5f19e4e8
diff -r a0976d3b33c5 -r 8de7f5d56fe4 main.cpp --- a/main.cpp Tue Apr 12 13:05:12 2016 +0000 +++ b/main.cpp Tue Apr 12 13:12:49 2016 +0000 @@ -9,13 +9,12 @@ MotorData mData = {PB_0, PC_1, PC_0}; EncoderData encData = {PA_0, PA_1, 600}; -LerpSmoother speedSmoother(0.3f); //PIDController ec(0.2, 0.1, 0.01); PIDController ec(0.3, 2.0, 0.02); //PIDController ec(0.75, 2.0, 0.015); //PIDController ec(0.8, 1.5, 0.017); PIDController ecRot(5.0, 0.1, 0.04); -EncoderMotor m(mData, encData, speedSmoother, ec, ecRot); +EncoderMotor m(mData, encData, ec, ecRot); //Motor m(PB_0, PC_1, PC_0); void rise()