Skip to content

Commit 5b8c9a8

Browse files
committed
pbio/config: Reduce speed differentiator window.
This makes the measured speed slightly more responsive. It also allows us to use the same window size on all platforms.
1 parent 17bb576 commit 5b8c9a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pbio/include/pbio/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// Angle differentiation time window, must be integer multiple of loop time
2020
// and integer divisor of 1000.
2121
#ifndef PBIO_CONFIG_DIFFERENTIATOR_WINDOW_MS
22-
#define PBIO_CONFIG_DIFFERENTIATOR_WINDOW_MS (125)
22+
#define PBIO_CONFIG_DIFFERENTIATOR_WINDOW_MS (100)
2323
#endif
2424

2525
#define PBIO_CONFIG_NUM_DRIVEBASES (PBIO_CONFIG_SERVO_NUM_DEV / 2)

0 commit comments

Comments
 (0)