Revision bb64f5e5 scout/libscout/src/test_behaviors/Odometry_new.h

View differences:

scout/libscout/src/test_behaviors/Odometry_new.h
6 6
#include "../Behavior.h"
7 7
#include "../Sensors.h"
8 8
#include "messages/ScoutPosition.h"
9
#include "../helper_classes/ScoutPosition.h"
9 10

  
10 11
#define WHEEL_R 0.025 //this is a virtual unit now... use real values
11 12
#define WHEEL_B 0.115  // this is a virtual unit now... use real values
......
14 15
#define LOOP_RATE 10 // Hz, integrate 10 times per second
15 16
#define LOOP_TIME (1.0/LOOP_RATE) // secs
16 17

  
17
typedef struct{
18
  float x;
19
  float y;
20
  float theta;
21
} posi;
22

  
23 18
class Odometry_new : Behavior{
24 19

  
25 20
  public:
......
55 50
    int motor_br_ticks_last;
56 51
    int scout_theta;
57 52

  
58
    posi* scout_pos;
53
    pos* scout_pos;
59 54

  
60 55
};
61 56

  

Also available in: Unified diff