 const int LED_GREEN = 2;
 const int LED_RED = 3;
 
-
+int _STEER_BIAS = 0; //set this to adjust steering
+int _GOVERNER = 1750; //cap the forward speed
 
 
 //servos
 Servo steering_servo;
 Servo throttle_servo;
 
-int steer_input;
-int throttle_input;
+int steer_input = STEER_BASE;
+int throttle_input = THROTTLE_BASE;
+
+int throttle_pos;
+int steering_angle;
+
+// Input commands
+String command = "";// a string to hold incoming data
+boolean command_complete = false;  // whether the string is complete
+
 
 //make sure we have a transmitter so that we can safety stop the car
 bool TX_found, TX_high, TX_low;

      delay(10);

      if(throttle_input > THROTTLE_MAX - 100){
        Serial.println("HIGH RX");
        TX_high = true;
      }
      if(throttle_input < THROTTLE_MIN  + 100){
        Serial.println("LOW RX");
        TX_low = true;
      }


          toggle_LED(LED_GREEN, false);
          delay(80);
        }
        enter_auto_mode();
      }
  }//end while init transmitter

  //buffer the steer input, its noisy
  steer_input = (steer_input + pulseIn(STEER_IN, HIGH, 25000))/2;
  
  throttle_input = pulseIn(THROTTLE_IN, HIGH, 25000);

  //if ever the transmitter is used, go into manual mode
