![](/media/cache/profiles/7d5430cf85f78c4b7aa09813b14bce0d.50x50_q85.jpg)
First trial
Dependencies: MPU6050 Motor ledControl2 mbed
Fork of BalancingRobotPS3 by
Diff: BalancingRobot.h
- Revision:
- 1:01295228342f
- Parent:
- 0:f5c02b620688
- Child:
- 2:caec5534774d
--- a/BalancingRobot.h Tue Feb 14 10:48:01 2012 +0000 +++ b/BalancingRobot.h Tue Feb 14 18:31:05 2012 +0000 @@ -53,6 +53,7 @@ double Ki = 2; double Kd = 12; double targetAngle = 90; +double lastTargetAngle; double lastError; double iTerm;