Commit Graph

12469 Commits

Author SHA1 Message Date
Víctor Mayoral Vilches 815c2df2d0 AP_HAL_Linux: SPIDriver, add MPU6000 support 2014-07-14 08:52:51 +10:00
Víctor Mayoral Vilches 4d79887cc5 L3G4200D: fix in the test example provided.
The test coded had a call to "wait_for_sample" that expected one
argument and 0 where provided.
2014-07-14 08:52:51 +10:00
Andrew Tridgell 0b6c810a6e build: added ERLE build type 2014-07-14 08:52:43 +10:00
Andrew Tridgell 74ee70d463 HAL_Linux: updates for ERLE board type 2014-07-14 08:52:27 +10:00
Andrew Tridgell ab7e96b9de AP_InertialSensor: updates for ERLE board type 2014-07-14 08:51:44 +10:00
Victor Mayoral Vilches 44320708a7 AP_InertialSensor_MPU9150: I2C userspace driver sensor added.
The MPU9150 is a 9 axis sensor that includes 3 accelerometers,
3 gyroscopes and 3 magnetometers. All accessible through I2C.
The AP_InertialSensor_MPU9150 class allows APM to use this sensor.
2014-07-14 08:16:29 +10:00
Victor Mayoral Vilches 1445781104 AP_Common: added fire cape product ID 2014-07-14 08:16:29 +10:00
Andrew Tridgell e96ab86eab build: fixed directory handling in build_binaries.sh 2014-07-14 08:13:28 +10:00
Randy Mackay 7e04b5d1f1 INS: calibrated method checks all accelerometers 2014-07-13 22:05:21 +09:00
Jonathan Challinger 762bb3e6e8 AC_AttitudeControl: Limit _pos_target.z to below alt_max before computing error 2014-07-13 21:14:34 +09:00
Andrew Tridgell 28fedba4d8 AP_AHRS: fixed gyro_bias sign, and pre-calculate gyro_estimate for EKF
this allows us to return a constant vector for the corrected gyro
estimate. Based on discussions with Jon Challinger
2014-07-13 21:56:39 +10:00
Jonathan Challinger 966d66ef40 AP_AHRS_NavEKF: use gyro drift states from EKF in get_gyro 2014-07-13 21:34:44 +10:00
Jonathan Challinger 61987f6655 AP_AHRS: Fixed DCM get_gyro function
Previously incorporated the attitude correction terms into the return. Now only returns the drift-corrected gyro.
2014-07-13 21:19:29 +10:00
Andrew Tridgell 35e905d003 build: added some debug 2014-07-13 21:19:29 +10:00
Jonathan Challinger 5f66027ba3 AC_AttitudeControl: Fixup some minor mistakes in AC_PosControl 2014-07-13 17:17:31 +09:00
Robert Lefebvre 022425584b TradHeli: Move two static bools into heli_flags structure to save 2 bytes RAM. 2014-07-13 17:11:30 +09:00
Robert Lefebvre 4b9aea2c55 Parameters: Update Tune Comments with new options 2014-07-13 17:11:27 +09:00
Robert Lefebvre aff98e34e5 TradHeli: Force recalc scalers after setting main loop time in MotorsHeli so that ramp scalers are right for 32-bit. 2014-07-13 17:11:25 +09:00
Robert Lefebvre 92bdf24dba AP_MotorsHeli: Add To-Do. Swash setup hasn't seemed to work right for a while, this might be why. Confirm later. 2014-07-13 17:11:22 +09:00
Robert Lefebvre a7f6a91827 AC_AttitudeControl_Heli: Remove ToDo. Rate controllers should always run even if throttle is zero. 2014-07-13 17:11:20 +09:00
lthall f53181ec66 Copter: Acro balance fix 2014-07-13 15:51:49 +09:00
Randy Mackay f630f9abc3 GPS: exclude SIRF and NMEA on APM copter build
This only works for the centralised builder, the modified Arduino IDE
will still include the NMEA and SIRF drivers meaning it will require
approximately 4k additional flash which may push us over the limit on
the APM2.  Users will instead need to exclude other features to get
below the APM1/2 flash limit.
2014-07-13 15:41:11 +09:00
Andrew Tridgell 527de3f2e4 AntennaTracker: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell 3143e192d3 Rover: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell 71d2333ea8 Copter: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell c5a765758c Plane: update for new API 2014-07-13 15:37:50 +10:00
Andrew Tridgell ddb030088d GCS_Mavlink: moved some more mavlink functions to GCS_Common.cpp 2014-07-13 15:37:49 +10:00
Randy Mackay 971411e0db AC_AttControl: fixed typo in parameter description 2014-07-13 10:31:11 +09:00
Andrew Tridgell 28f251005b Copter: fixed typos in parameter markup 2014-07-12 11:26:15 +10:00
Andrew Tridgell 4fad9b0a89 Replay: fixed build of replay tool
changes to compass API
2014-07-12 11:08:04 +10:00
Andrew Tridgell 20accefe51 VARTest: fixed build with compass changes 2014-07-12 10:22:25 +10:00
Randy Mackay 5f623ac859 AC_AttControl: re-enable rate feedforward by default
Roll and Pitch rate controllers became sluggish without feed-forward
enabled.
2014-07-11 15:31:00 +09:00
Randy Mackay 7f9cd20377 Copter: set UARTs non-blocking at end of initialisation
Previously we were setting to non-block after arming but this reduce the
chance of bumping into a NuttX USB driver issue that can cause the uart
to become unresponsive and also makes Copter consistent with Plane
2014-07-11 15:27:29 +09:00
Randy Mackay 34bc136a6c Copter: AC3.2-rc3 version and release notes 2014-07-11 14:18:48 +09:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Randy Mackay 0fc73a0a21 Copter: rename control_hybrid to poshold 2014-07-11 14:06:53 +09:00
Randy Mackay bbf4805b0e Compass: update pixhawk expected device ids 2014-07-11 11:10:18 +09:00
Craig Elder c9f3adcb5c Compass: Updated COMPASS_PRIMARY parameter description 2014-07-10 15:32:06 -07:00
Andrew Tridgell 473865ccc1 Plane: prepare for 3.0.4-beta3 2014-07-11 07:40:59 +10:00
Craig Elder 0ecd12b1c6 AP_Compass: Corrected typo in parameter description
Corrected typo in parameter description
2014-07-10 14:19:19 -07:00
Randy Mackay aef746b3b1 Plane: pass in compass to Arming constructor 2014-07-10 22:51:29 +09:00
Randy Mackay fa2f5d9c68 Arming: accept non-const compass in constructor
The compass.configured() method checks the eeprom and cannot be const
meaning the Arming object requires a non-const reference to the compass.
Removed check for null compass because the compass object is always
created although this could lead to unnecessary pre-arn check failures
even though compass-use is set to false.
2014-07-10 22:50:52 +09:00
Randy Mackay 4995b9ada8 Compass: default device id to zero 2014-07-10 20:25:36 +09:00
Randy Mackay 16d4af8346 Compass: sanity check instance in set_and_save_offsets 2014-07-10 20:25:32 +09:00
Randy Mackay 76369d153f Arming: use compass.configured method
This checks that when compass offset learning is off, that the offsets
are non-zero and that the detected device id matches the device id
stored to eeprom when the offsets were last saved.
2014-07-10 20:25:30 +09:00
Randy Mackay 170ca89a21 Rover: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
replaces ardupilot specific message SET_MAG_OFFSETS
2014-07-10 20:25:28 +09:00
Randy Mackay d789735d0d Rover: rename compass set_and_save_offsets 2014-07-10 20:25:26 +09:00
Randy Mackay b17125e261 Plane: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
replaces ardupilot specific SET_MAG_OFFSETS message
2014-07-10 20:25:24 +09:00
Randy Mackay 208a2de777 Plane: rename compass set_and_save_offsets 2014-07-10 20:25:21 +09:00
Randy Mackay b565d43d5d Copter: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
remove deprecated ardupilot specific SET_MAG_OFFSETS
2014-07-10 20:25:18 +09:00