Revision 9c46b728 devices/DiWheelDrive/global.hpp

View differences:

devices/DiWheelDrive/global.hpp
28 28
#include <DiWheelDrive.h>
29 29
#include <userthread.hpp>
30 30

  
31

  
31 32
using namespace amiro;
32 33

  
33 34
class Global final
......
163 164

  
164 165
  DiWheelDrive robot;
165 166

  
167

  
168

  
166 169
  UserThread userThread;
167 170
  int rpmForward[2] = {20,20};
168 171
  int rpmSoftLeft[2] = {10,20};
......
189 192

  
190 193
// Struct for saving motor gains
191 194

  
192
int resetProtect = 1;
193
motorGains motorConfigGains;
194
motorGains stopGains;
195
  int resetProtect = 1;
196
  motorGains motorConfigGains;
197
  motorGains stopGains;
198

  
199
  types::position startPos;
200
  types::position endPos;
195 201

  
196
types::position startPos;
197
types::position endPos;
202
  // Line Following strategy
203
  // 0 EDGE_RIGHT
204
  // 1 EDGE_LEFT
205
  // 2 FUZZY
206
  // 3 DOCKING
207
  int lfStrategy = 3;
198 208

  
199 209
// Debugging stuff --------------
200 210
  int forwardSpeed = 10;

Also available in: Unified diff