Commit Graph

15223 Commits

Author SHA1 Message Date
Andrew Tridgell 8b59c72eb9 AP_InertialSensor: cope with 2 IMUs in SITL 2015-01-20 19:47:45 +11:00
Andrew Tridgell a37f3680e4 AP_Arming: support skip_gyro_cal
also break up arming INS reports, to be clearer for users
2015-01-20 19:47:15 +11:00
Randy Mackay 0065b3b224 Copter: tighten accel and gyro pre-arm consistency check
Accel diff threshold to 0.7m/s/s (was 1.0 m/s/s)
Gyro diff threshold to 5deg/sec (was 20deg/sec)
2015-01-20 12:44:02 +09:00
Andrew Tridgell 765d833efa AP_Arming: check compass.use_for_yaw() 2015-01-20 11:33:39 +11:00
Andrew Tridgell 059c3769f3 Plane: cope with the changed semantics if airspeed.use() 2015-01-20 11:28:35 +11:00
Andrew Tridgell e8017a5079 AP_NavEKF: cope with the changed semantics of airspeed.use() 2015-01-20 11:28:14 +11:00
Andrew Tridgell ed0a56cc3c AP_AHRS: cope with the changed semantics of airspeed.use() 2015-01-20 11:27:58 +11:00
Andrew Tridgell 850b3b89ea AP_Arming: added INS checks and airspeed checks
this also displays all failing arming checks, not just the first
one. That is more useful for the user
2015-01-20 11:27:13 +11:00
Andrew Tridgell 2235d18d67 AP_Airspeed: make it possible to tell if a airspeed sensor is unhealthy
we need use() to reflect if the user wants to use the sensor, so the
arming checks can tell if it is not working as expected
2015-01-20 11:26:20 +11:00
Andrew Tridgell b3ce56d34d AP_InertialSensor: fixed 2nd IMU in Replay
this makes for much more accurate replay runs
2015-01-20 09:20:47 +11:00
Andrew Tridgell ad8480d5f7 Replay: keep airspeed msgs in log 2015-01-20 09:11:07 +11:00
Andrew Tridgell 5a01933b7b Plane: use dataflash Log_Write_Airspeed() 2015-01-20 09:10:57 +11:00
Andrew Tridgell 5d83124675 DataFlash: moved airspeed msg to DataFlash
so it can be used by Replay
2015-01-20 09:10:33 +11:00
Andrew Tridgell 62e7778ba8 AP_GPS: fixed build warning 2015-01-19 11:22:10 +11:00
Andrew Tridgell 731678b0a1 Travis: test building without logging for plane 2015-01-17 10:46:01 +13:00
Andrew Tridgell b0b57cccce build: add -nologging build modifier
useful for testing
2015-01-17 10:45:02 +13:00
Dario Lindo Andres 0ea7a7a0cc Plane: Corrected LOGGING_ENABLED
When we configure LOGGING_ENABLED to DISABLED code does not
compile. Now it works!
2015-01-17 10:42:11 +13:00
Grant Morphett 8b08402c60 mk: Added a "help" target to the make system.
Now if developers type "make help" they get a useful message.
2015-01-17 10:29:14 +13:00
Randy Mackay 4059e02a8c Copter: move ch6 tuning to tuning.pde 2015-01-16 15:12:58 +09:00
Jason Short fe74a11b4e Copter: Drift mode gain changes and roll control through ch4 2015-01-15 11:55:24 +09:00
Randy Mackay aeecc46f7b AC_PosControl: remove unnecessary set of desired_accel
The desired_accel is set again 11 lines lower so this line did nothing.
2015-01-14 16:23:26 +09:00
Jonathan Challinger 9ebd0e9960 AC_PosControl: reincarnate dead block of code 2015-01-14 16:20:17 +09:00
Randy Mackay d6c48e422a Copter: restore baro climb rate check to land_detector 2015-01-14 16:08:57 +09:00
Randy Mackay 1c25c00f5b Copter: move land_detector to separate file 2015-01-14 16:08:55 +09:00
Jonathan Challinger 36410a5131 Copter: clean up land detector and modify to use desired velocity 2015-01-14 16:08:50 +09:00
Jonathan Challinger a580cd83e8 AC_PosControl: Fill _vel_desired.z for reporting 2015-01-14 16:08:48 +09:00
Randy Mackay 2a7f78a2cd AutoTest: reduce copter throttle when in stabilize
Simulated copter is flying too high and causing the land to timeout
2015-01-14 12:41:57 +09:00
priseborough c40c3632bb AP_NavEKF: Critical Bug Fix
Prevents possible loss of attitude reference for flights without optical flow and GPS.

The optical flow measurement timeout can reset the velocity states which decouples the position states from IMU errors and therefore significantly reduces the amount of attitude error correction.
2015-01-13 16:05:31 +13:00
Jonathan Challinger e51f837360 Travis: don't depend on directory name being "ardupilot" 2015-01-13 12:21:46 +13:00
mirkix 189dd158d7 Linux_HAL_Essentials: add channel mapping comments for RCInput and RCOutput 2015-01-13 12:18:42 +13:00
mirkix 62a05a0438 AP_Notify: fix if statement 2015-01-13 12:15:32 +13:00
mirkix fa950a735e AP_InertialSensor: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
mirkix 001758071f mk: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
mirkix c58a022111 AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
mirkix 70445d11f6 AP_HAL: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
Randy Mackay c93e7a69a7 Baro: init external_temperature in constructor 2015-01-12 13:56:35 +09:00
mirkix b03a9e2911 AP_Notify: ToneAlarm_Linux.h includes itself 2015-01-11 11:50:07 +09:00
Randy Mackay 0c44b5f4fe Copter: fix typo in AC3.2.1 Release Notes 2015-01-10 22:29:46 +09:00
Andrew Tridgell b8bfa755a9 Plane: raise alpha version 2015-01-09 15:47:47 +11:00
Andrew Tridgell b1d8df3d54 AP_Baro: only allow calibrated sensors to be used 2015-01-09 12:59:01 +11:00
Andrew Tridgell e8b1fc72e0 DataFlash: fixed build warning 2015-01-09 12:43:15 +11:00
Andrew Tridgell 3320dfd7fa AP_Baro: fixed ms5611 spelling error 2015-01-09 11:59:49 +11:00
Andrew Tridgell 0a8677b3e2 AP_Baro: fixed build after rebase with all_healthy() 2015-01-09 11:51:52 +11:00
Andrew Tridgell 557f4df77e Copter: use barometer.all_healthy() for health check in SYS_STATUS and arming 2015-01-09 11:51:51 +11:00
Andrew Tridgell ca431a47a6 Plane: use all_healthy() for SYS_STATUS health 2015-01-09 11:51:51 +11:00
Andrew Tridgell 1c2a6deaaf AP_Baro: added all_healthy() method 2015-01-09 11:51:51 +11:00
Andrew Tridgell 8359c082ca AP_Baro: fixed baro on NavIO
don't use the 1kHz timer as it conflicts with other I2C devices
2015-01-09 11:51:51 +11:00
Andrew Tridgell b85001bf4a DataFlash: added logging of 2nd baro 2015-01-09 11:51:51 +11:00
Andrew Tridgell 231b44fc83 Replay: fixed baro.setHIL call 2015-01-09 11:50:57 +11:00
Andrew Tridgell 5133799e23 PX4: start two barometers if possible 2015-01-09 11:50:57 +11:00