Commit Graph

13786 Commits

Author SHA1 Message Date
Jonathan Challinger 2b0cffda29 Copter: move all arm check logic into arm_checks 2014-10-11 15:34:12 +09:00
Jonathan Challinger cc56a972d0 Copter: add mode_allows_arming function 2014-10-11 15:34:10 +09:00
Jonathan Challinger 3e1bffe9ab Copter: auto-disarm if land complete regardless of mode 2014-10-11 15:32:29 +09:00
Jonathan Challinger d0d26b6878 Copter: use ap.throttle_zero instead of rc_3.control_in in auto_disarm_check 2014-10-11 15:30:57 +09:00
Jonathan Challinger a04ec79efa Copter: add land_complete to fence disarm check 2014-10-11 15:29:41 +09:00
Jonathan Challinger 450f988a21 Copter: remove DRIFT and SPORT from manual_flight_mode function 2014-10-11 15:27:45 +09:00
Michael Oborne e8303475e8 AntennaTracker: fix documentation 2014-10-11 15:25:06 +09:00
Jonathan Challinger 4a397a8d67 AC_PosControl: Protect from divide-by-zero in get_stopping_point_xy 2014-10-10 21:17:12 +09:00
Randy Mackay 5f55944e43 Copter: AC3.2-rc12 release notes 2014-10-10 14:53:25 +09:00
Randy Mackay d7cd745cf4 Copter: auto-trim start delays auto-disarm by 15sec
Fixes issue in which user only had 5 seconds after starting auto-trim to
raise the throttle before the auto-disarm would kick-in.
2014-10-09 22:43:44 +09:00
Randy Mackay 023b2c0d6b AP_InertialNav: fixed use of ahrs.get_velocity with EKF disabled 2014-10-09 16:43:24 +09:00
Andrew Tridgell 7b02d326f6 AP_InertialNav: fixed use of _ahrs.get_relative_position_NED() with EKF disabled
this prevents a floating point error caused by using an uninitialised
vector3 when switching between DCM and EKF control in AP_InertialNav

Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-10-09 18:30:20 +11:00
Andrew Tridgell 39fadad7d6 HAL_Linux: fixed build warnings 2014-10-09 16:49:23 +11:00
Andrew Tridgell b3894e8b10 HAL_VRBRAIN: reduce the number of times we split up UART reads and writes 2014-10-09 12:29:25 +11:00
Andrew Tridgell 10b0ca7ea8 HAL_PX4: reduce the number of times we split up UART reads and writes 2014-10-09 12:29:25 +11:00
Andrew Tridgell c834589daa HAL_Linux: reduce the number of times we split up UART reads 2014-10-09 12:29:25 +11:00
Andrew Tridgell 076bb1294e HAL_Linux: improved UDP packetisation and add flow control reporting
report we have flow control on UDP and TCP
2014-10-09 12:29:25 +11:00
Randy Mackay 08f8fdfabd Rover: report gyro unhealthy if failed calibration 2014-10-09 10:00:19 +09:00
Randy Mackay 6d8e760582 Plane: report gyro unhealthy if failed calibration 2014-10-09 10:00:17 +09:00
Randy Mackay a8733ae8a8 Copter: support pre-flight calibration of gyro 2014-10-09 10:00:15 +09:00
Randy Mackay 9a0a83f404 Copter: report gyro unhealthy if failed calibration 2014-10-09 10:00:12 +09:00
Randy Mackay 128058362b Copter: pre-arm check that gyro cal succeeded 2014-10-09 10:00:09 +09:00
Randy Mackay 834f2bea07 INS: add gyro_calibrated_ok_all method
This returns true if the gyros have been calibrated successfully
2014-10-09 10:00:07 +09:00
Andrew Tridgell 70ca87c4e6 AP_RangeFinder: handle all I2C rangefinder types on PX4 in PX4Firmware 2014-10-09 11:06:16 +11:00
Andrew Tridgell 49fa887773 Rover: prepare 2.47beta1 2014-10-09 09:20:11 +11:00
Andrew Tridgell cebfef3ead HAL_Linux: don't accept less than 5 input channels 2014-10-09 09:19:35 +11:00
Andrew Tridgell 1721216019 Rover: fixed skid steering
the main issue was the use of the last throttle in the throttle slew
rate control, but manual skid steering was also broken
2014-10-09 08:59:26 +11:00
Randy Mackay 8eba55ed67 Copter: throttle zero debounce to separate function
Also initialise throttle_zero  to true on startup
Treat throttle less than zero as zero
2014-10-08 21:52:16 +09:00
Jonathan Challinger 8e3d163c3d Copter: Change all zero throttle checks that should be conservative to use ap.throttle_zero 2014-10-08 20:54:24 +09:00
Jonathan Challinger 96f50b7cd7 Copter: add throttle_zero state 2014-10-08 20:54:19 +09:00
Jonathan Challinger fa9d10e59b Copter: log CURR message at 10hz 2014-10-08 20:49:36 +09:00
Andrew Tridgell b0c9e97181 Linux_HAL_Essentials: P8.15 is an input pin 2014-10-08 12:50:50 +11:00
Andrew Tridgell a3fee16604 HAL_Linux: added DSM/Spektrum RCInput support
this decodes DSM using the RCIN pulses from the PRU
2014-10-08 12:50:50 +11:00
Andrew Tridgell 3e3f87188b HAL_Linux: enable DSM power pin 2014-10-08 12:50:50 +11:00
Andrew Tridgell 50e5ae6f7a HAL_Linux: added low level DSM decoder
based on dsm.c from PX4 project
2014-10-08 12:50:50 +11:00
Craig Elder adf741b959 Frame_params: Updated 3DR_X8-M_RTF.param 2014-10-07 15:00:57 -07:00
Randy Mackay 2f3f1a1d5e Copter: Rate Pitch IMAX default to 1000
Spotted by Jonathan Challinger, thanks!
2014-10-07 21:06:43 +09:00
Andrew Tridgell e0caee9500 Linux_HAL_Essentials: rebuilt rcinpru0 with 300 ring buffer entries
thanks to Sid for doing this
2014-10-07 14:57:35 +11:00
Andrew Tridgell 9b207d029d HAL_Linux: change ring buffer to 300 entries 2014-10-07 14:57:34 +11:00
Andrew Tridgell 994b2597fd Linux_HAL_Essentials: change ring buffer to 300 entries
this ensures full SBUS frames can be decoded
2014-10-07 14:57:34 +11:00
Andrew Tridgell b1845ed00d HAL_Linux: initial support for parallel SBUS and PPM-SUM decoding 2014-10-07 14:57:34 +11:00
Andrew Tridgell 42e9dc3c31 HAL_Linux: added SBUS decoder from PX4 project
thanks Lorenz!
2014-10-07 14:57:34 +11:00
Craig Elder 5b23f81e2b Frame_params: Updating 3DR_X8-M_RTF.param 2014-10-06 16:07:49 -07:00
Craig Elder 5d7ec98d7a Frame_params: Adding 3DR_X8-M_RTF.param 2014-10-06 15:44:35 -07:00
Andrew Tridgell 71d786187e Plane: make auto takeoff independent of compass
this solves a problem of poor initial yaw due to poor compass offsets
causing a takeoff to not be in the direction the plane is pointing. A
summed gyro is used until the GPS speed is above 5m/s for 2 seconds,
then the GPS heading corrected by the summed gyro error is used for L1
based navigation for the rest of the takeoff
2014-10-07 07:17:46 +11:00
Andrew Tridgell 809b6cc855 AP_AHRS: added get_yaw_rate_earth()
used to estimate course correction on takeoff
2014-10-07 07:17:46 +11:00
Craig Elder 41ce8c2abd Frame_params: 3DR_Iris+
Decreased ATC_RATE_RP_MAX to 18000
2014-10-06 12:17:52 -07:00
Craig Elder be352e9471 AP_GPS: Removed CFG-DAT message from 3DR-Ublox-NEO7
CFG-DAT is generated by U-Center but no longer used by the receiver.
2014-10-06 11:21:42 -07:00
Randy Mackay 5e91d49736 Tracker: constrain manual pass through 2014-10-06 19:41:04 +09:00
Randy Mackay 4f5f253656 Tracker: send RADIO_IN msg to GCS 2014-10-06 19:41:02 +09:00