Revision d4c6efa9 devices/DiWheelDrive/userthread.hpp
devices/DiWheelDrive/userthread.hpp | ||
---|---|---|
8 | 8 |
// #include "linefollow.hpp" |
9 | 9 |
#include <cmath> |
10 | 10 |
|
11 |
|
|
12 |
|
|
13 |
// TODO: Clean up and sort defines! |
|
11 | 14 |
// Speed when driving towards the docking station |
12 | 15 |
#define CHARGING_SPEED 5 |
13 | 16 |
#define DETECTION_SPEED 10 |
14 | 17 |
#define DIST_THRESH 100 |
15 | 18 |
#define RELEASE_COUNT 200 |
19 |
#define SPEED_CONVERSION_FACTOR 1000000 //Convert value to um/s |
|
16 | 20 |
// Thresh to determain how much update steps should pass while alining |
17 | 21 |
// #define MAX_CORRECTION_STEPS 200 |
18 | 22 |
#define DOCKING_CORRECTION_TIMEOUT 200 |
Also available in: Unified diff