 int motor_2_output;
 int motor_3_output;
 int motor_4_output;
-int array_length=1;//To store array_length
+int array_length = 1; //To store array_length
 bool blinkState = false;
 bool dmpReady = false;
 uint8_t mpuIntStatus;   // holds actual interrupt status byte from MPU

// MPU6050_6Axis_MotionApps20.h and I2Cdev.h can get from Jeff Rowberg's github: https://github.com/jrowberg/i2cdevlib
// SoftwareSerial.h is used to read data from GPS without interrupt with the Xbee
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
    #include "Wire.h"
#endif
//Specify the I2C address of MPU6050, default I2C adress is 0x60
MPU6050 mpu;

#define MOTOR_3_PIN 6
#define MOTOR_4_PIN 9
#define SOFT_SERIAL_TX 11
#define SOFT_SERIAL_RX 12
#define MAX_BUFFER_SIZE 150
#define START_CHAR '$'
#define TERMINATOR '*'
#define GPS_START_PATTERN "GPRMC"
//Define varibles
int throttle_stick = 0;
int yaw_stick = 0;
