This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: globals.h
- Revision:
- 79:0d3140048526
- Parent:
- 72:7996aa8286ae
- Child:
- 80:b9b5d5ecea71
diff -r 283283604485 -r 0d3140048526 globals.h --- a/globals.h Mon Apr 15 15:29:40 2013 +0000 +++ b/globals.h Mon Apr 15 17:06:46 2013 +0000 @@ -16,10 +16,10 @@ const float TURRET_FWD_PLACEMENT = -0.042; //Robot movement constants -const float fwdvarperunit = 0.001; //1 std dev = 7% //TODO: measrue this!! -const float varperang = 0.0005; //around 3 degree stddev per 180 turn //TODO: measrue this!! -const float xyvarpertime = 0.0001; //(very poorly) accounts for hitting things -const float angvarpertime = 0.001; +const float fwdvarperunit = 0.0001; //1 std dev = 7% //TODO: measrue this!! +const float varperang = 0.0003; //around 3 degree stddev per 180 turn //TODO: measrue this!! +const float xyvarpertime = 0.000025; //(very poorly) accounts for hitting things +const float angvarpertime = 0.0001; const float MOTORCONTROLLER_FILTER_K = 0.5;// TODO: tune this const float MOTOR_MAX_POWER = 0.5f;