Fixed robot drive for C++ Simulation

initial values for m_invertedMotors is now 1
previously it was done in some of the constructors, but not all of them.

Change-Id: I2c1ce8d8a67f82d02c4c51f1c4d1aaad143f3112
This commit is contained in:
Peter_Mitrano
2016-01-25 12:03:48 -05:00
parent d62256156e
commit f24c8b1b8d
2 changed files with 1 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ protected:
static const int32_t kMaxNumberOfMotors = 4;
int32_t m_invertedMotors[kMaxNumberOfMotors];
int32_t m_invertedMotors[kMaxNumberOfMotors] = {1,1,1,1};
float m_sensitivity = 0.5;
double m_maxOutput = 1.0;
bool m_deleteSpeedControllers;