added more auto selection options and fixed gyro

fixed gyro negitives and fixed err_ definitions