Commit Graph

16009 Commits

Author SHA1 Message Date
Paul Riseborough 7481217445 AC_WPNav: Improve application of EKF optical flow speed limit 2015-04-28 13:53:17 +09:00
Andrew Tridgell d1de89f933 Travis: disable navio build due to another travis compiler bug 2015-04-28 14:50:10 +10:00
Andrew Tridgell 514c349060 AP_NavEKF: raise DCM error_rp threshold to 0.05
it was failing on many boards with fixed wing
2015-04-28 14:07:39 +10:00
Andrew Tridgell 6bfca648b9 AP_AHRS: raise DCM P gains when disarmed for first 20 seconds 2015-04-28 14:07:39 +10:00
Andrew Tridgell cb2427ef9e Copter: removed special cases for DCM gain changes on arm/disarm
copter no longer uses DCM, so it doesn't need these special cases
2015-04-28 14:07:39 +10:00
Andrew Tridgell 42d2addbdd HAL_SITL: removed the special code for cygwin
we no longer need special timing code for cygwin
2015-04-28 13:15:40 +10:00
Andrew Tridgell 063a33ebce HAL_SITL: implement barriers using pthread condition variables
this avoid pthread_barrier_*, which is not available on cygwin
2015-04-28 13:14:12 +10:00
Tom Pittenger c974134ea4 ArduPlane: RTL Autoland skip HOME
With RTL_AUTOLAND=1 we navigate to HOME then to the DO_LAND_START commands. Now with RTL_AUTOLAND=2 we head directly to the DO_LAND_START commands and thus skip changing altitude to ALT_HOLD_RTL and head directly to the first land waypoint as if it was the next normal waypoint.
2015-04-28 12:09:00 +10:00
Staroselskii Georgii 9517bb3049 Travis: added navio target 2015-04-28 11:43:56 +10:00
Jonathan Challinger 3812773485 AP_Math: make quaternion divide by zero protection more conservative 2015-04-28 11:42:13 +10:00
Jonathan Challinger fb8da1b2d8 AP_Math: add get_euler_(roll|pitch|yaw) functions to quaternion 2015-04-28 11:42:13 +10:00
Andrew Tridgell 020d9ea78a HAL_PX4: only consider power to have changed when armed
this prevents false positives with multi-battery setups
2015-04-28 11:05:29 +10:00
Andrew Tridgell 3c9ed9b5a6 Plane: don't limit down pitch during landing
there is no reason for a special case for aircraft without airspeed
sensors
2015-04-28 09:25:49 +10:00
Randy Mackay 94737e4df6 Tracker: add SYSID_TARGET and request 1hz pos data from vehicle 2015-04-27 16:58:05 +09:00
Randy Mackay 10b9f2ebe0 Tracker: snoop on all channels
This ensures we check for vehicle data on all channels
2015-04-27 16:58:02 +09:00
Randy Mackay 212e4940d4 Tracker: version to 0.5 2015-04-27 12:10:21 +09:00
Randy Mackay 404df7fe7d Tracker: add DISTANCE_MIN parameter
Vehicles will only be tracked if they are at least DISTANCE_MIN meters
away from the tracker
2015-04-27 12:10:20 +09:00
Randy Mackay f74d2101d1 Tracker: add SERVO_TEST mode
tracker switches into this mode when it receives a do-set-servo command
from the GCS.  In this mode the tracker simply moves the servo to the
specified pwm.
2015-04-27 12:10:19 +09:00
Randy Mackay f7f5040d2d Tracker: replace abs with labs for yaw servo 2015-04-27 12:10:18 +09:00
Randy Mackay 608bb3d611 Notify: minor format fix 2015-04-27 12:10:17 +09:00
Randy Mackay ebf700d736 Tracker: fix notify initialisation
notify should be initialised before setting the initial startup flag
status
2015-04-27 12:10:16 +09:00
Andrew Tridgell 028248d1f5 HAL_SITL: avoid floating point exceptions on i386
fixes issue #2147
2015-04-27 13:09:21 +10:00
Andrew Tridgell 4e86a6cd0e GCS_MAVLink: merged upstream header changes 2015-04-27 09:00:38 +10:00
Randy Mackay 35874292a0 AC_WPNav: move stop below all loiter methods
No functional change
2015-04-26 16:26:53 +09:00
Robert Lefebvre 1aa696bc10 Copter: Implement Stop Mode 2015-04-26 16:11:47 +09:00
Robert Lefebvre 4a7fe83b0f AC_WPNav: Create Stop Mode functions 2015-04-26 16:11:45 +09:00
Robert Lefebvre 8e4268ddd3 Copter: Initial creation of control_stop file 2015-04-26 16:11:43 +09:00
Andrew Tridgell c73945686c Plane: use ahrs.yaw_sensor not direct compass read for yaw
also use 10 degrees of margin, to cope with fast yaw changes (this
function is called at only 10Hz)
2015-04-25 09:12:17 +10:00
Andrew Tridgell 343a682d22 Plane: fixed conditional for 0 lat/lon 2015-04-25 09:12:17 +10:00
Andrew Tridgell fdac41dbab GCS_MAVLink: re-generate headers 2015-04-25 09:12:16 +10:00
Michael Day 607d9ca839 Plane: Implementation of do_ and verify_ for MAV_CMD_NAV_LOITER_TO_ALT 2015-04-25 09:12:16 +10:00
Michael Day 3d3267d472 AP_Mission: Now support mission item MAV_CMD_NAV_LOITER_TO_ALT 2015-04-25 09:12:16 +10:00
Michael Day 98d7f943ef GCS_MAVLink: Added definition for MAV_CMD_NAV_LOITER_TO_ALT 2015-04-25 09:12:16 +10:00
Andrew Tridgell bd32774768 PX4: added ver command
this allows us to see what silicon revision the stm32 is
2015-04-25 07:34:56 +10:00
Jonathan Challinger a07b322d31 AP_Motors: set_throttle takes a float 2015-04-24 16:30:45 +09:00
Jonathan Challinger ab2532a609 AC_AttitudeControl: constrain _angle_boost to avoid overflow 2015-04-24 16:30:43 +09:00
Randy Mackay fdf226ebc1 AP_NavEKF: include AP_RangeFinder.h 2015-04-24 15:49:11 +09:00
Randy Mackay 211bdb0bb6 Replay: include AP_RangeFinder.h 2015-04-24 15:49:09 +09:00
Randy Mackay 253a19a7fe Tracker: add range finder include
NavEKF constructor requires a range finder object even if not used
2015-04-24 14:39:09 +09:00
Tom Pittenger 10c933966b AP_Math: fix compile warning re float constants 2015-04-24 14:25:02 +09:00
Tom Pittenger 66c7090f00 Copter: fix compile warnings by converting .f to .0f 2015-04-24 14:24:52 +09:00
Tom Pittenger dbc01e2f1a BattMon: fix compile warning re to unused variable 2015-04-24 14:18:36 +09:00
Tom Pittenger 3b3752468d HAL_PX4: fix compile warnings re unused variables 2015-04-24 14:18:24 +09:00
Tom Pittenger 84d3069a77 AttControl_Heli: fix compile warning re member init order 2015-04-24 14:15:35 +09:00
Tom Pittenger 52474faa2e AP_ADC: fix compile warning re member init order 2015-04-24 14:15:24 +09:00
Tom Pittenger 4191c44bbd Baro: fix compile warning re member init order 2015-04-24 14:15:11 +09:00
Tom Pittenger 16e71ec1ce Compass: fix compile warning re member init order 2015-04-24 14:15:00 +09:00
Tom Pittenger 179c72bfa9 HAL_PX4: fix compile warning re member init order 2015-04-24 14:14:38 +09:00
Tom Pittenger ee1a415baa HAL_VRBrain: fix compile warning re member init order 2015-04-24 14:14:27 +09:00
Tom Pittenger a340d13d01 NavEKF: fix compile warning re member init order 2015-04-24 14:14:12 +09:00