Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: config_loop.h
- Revision:
- 75:591556ce033d
- Parent:
- 74:f10cb573d7ca
- Child:
- 76:c66014e50384
--- a/config_loop.h Fri Feb 24 13:03:34 2017 +0000 +++ b/config_loop.h Fri Feb 24 21:37:14 2017 +0000 @@ -17,11 +17,8 @@ higher = stronger filtering*/ #define W_FILTER_STRENGTH 0.99f #define DQ_FILTER_STRENGTH 0.95f -#define THROTTLE_FILTER_STRENGTH_LOW 0.99f -#define THROTTLE_FILTER_STRENGTH_HI 0.0f +#define THROTTLE_FILTER_STRENGTH 0.0f -/*reduce filtering past this point for performance reasons*/ -#define THROTTLE_FILTER_THRESHOLD 0.25f /*internally computed*/ #define KP_D (K_LOOP_D / BUS_VOLTAGE)