Skip to content

Commit

Permalink
Revert "adjusting maximum speed while in cruise control"
Browse files Browse the repository at this point in the history
This reverts commit 1a90d16.
  • Loading branch information
platisd committed Jan 16, 2017
1 parent 915270b commit 945414a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Car.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const float Car::DEFAULT_KD = 10.0;

const unsigned short MAX_EFFORTS = 2; //amount of efforts to stop reversing the wheels, in case they have already stopped and spin in the opposite direction

const float MAX_BACK_CRUISE_SPEED = -1.0; //how fast the car can drive forward in cruise control mode (meters/sec)
const float MAX_FRONT_CRUISE_SPEED = 1.0; //how fast the car can drive backward in cruise control mode (meters/sec)
const float GO_CRUISE_SPEED = 0.3; //how fast car should move in go(int centimeters) and rotate(int degrees) while on cruise control
const float MAX_BACK_CRUISE_SPEED = -3.0; //how fast the car can drive forward in cruise control mode (meters/sec)
const float MAX_FRONT_CRUISE_SPEED = 3.0; //how fast the car can drive backward in cruise control mode (meters/sec)
const float GO_CRUISE_SPEED = 0.4; //how fast car should move in go(int centimeters) and rotate(int degrees) while on cruise control
const int GO_RAW_SPEED = 70; //how fast car should move in go(int centimeters) and rotate(int degrees) while NOT on cruise control

Car::Car(const unsigned short shieldOrientation){
Expand Down

0 comments on commit 945414a

Please sign in to comment.