Revision 019224ff devices/DiWheelDrive/userthread.hpp

View differences:

devices/DiWheelDrive/userthread.hpp
9 9
// Speed when driving towards the docking station
10 10
#define CHARGING_SPEED 5
11 11
// Thresh to determain how much update steps should pass while alining
12
#define MAX_CORRECTION_STEPS 250
12
#define MAX_CORRECTION_STEPS 260
13 13
// Thresh for wheel proxy sensors, when summed values fall below the state changes
14 14
#define PROXY_WHEEL_THRESH 18000
15 15
// Thresh for detecting obsticles
......
22 22
#define ROTATION_20 -349065
23 23
#define ROTATION_DURATION 10000
24 24

  
25
#define RING_PROX_FRONT_THRESH 20000
26
#define PROX_MAX_VAL 65530
25 27

  
26 28
namespace amiro {
27 29

  
......
46 48
    enum states{
47 49
      FOLLOW_LINE,
48 50
      RELEASE,
51
      RELEASE_TO_CORRECT,
49 52
      CHARGING,
50 53
      DETECT_STATION,
51 54
      CORRECT_POSITIONING,

Also available in: Unified diff