Commit Graph

11818 Commits

Author SHA1 Message Date
Andrew Tridgell 5acd17b843 AP_NavEKF: cleanup some build warnings
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-21 18:13:12 +10:00
Andrew Tridgell c8c6e05a4a AP_AHRS: added vehicle class to AHRS
used by EKF to control use of get_fly_forward()
2014-04-21 18:13:12 +10:00
priseborough bd28cdbdcf AP_NavEKF: Improved magnetometer consistency checks
A magnetometer axis that fails the innovation consistency check will cause
all axes not to be used. If this condition continues for 10 seconds, a
magnetometer timeout condition will be declared. When the timeout has
occurred, if it is not a fly forward vehicle, then individual channels
will be used again, but with a reduced weighting.
2014-04-21 16:31:31 +10:00
Randy Mackay 01538c5290 Copter: remove unused lon_error, lat_error 2014-04-21 15:06:32 +09:00
Randy Mackay 648787a6c8 AC_WPNav: rename some definitions 2014-04-21 15:06:29 +09:00
Randy Mackay 2167dd7d3e AC_WPNav: update target speed immediately 2014-04-21 14:51:26 +09:00
Andrew Tridgell 05bffb5915 HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter 2014-04-21 15:37:08 +10:00
Andrew Tridgell e0db7b117f SITL: added SIM_FLOAT_EXCEPT parameter
this enables checking for floating point exceptions
2014-04-21 15:37:08 +10:00
Andrew Tridgell 610a930612 AP_NavEKF: catch covarience errors and reset filter
this catches covariance values beyond a reasonable limit and resets
the filter is they happen
2014-04-21 15:37:08 +10:00
Andrew Tridgell 7e5a491f14 AP_Math: prevent a floating point exception 2014-04-21 15:37:08 +10:00
Andrew Tridgell 4d24a86088 AP_AHRS: prevent a infinity value 2014-04-21 15:37:07 +10:00
Andrew Tridgell 7ca08294e7 Replay: added floating point exception checking
allows NaN errors to be caught in gdb
2014-04-21 15:37:07 +10:00
Randy Mackay d382fa51ee AC_WPNav: run loiter and wp nav at 50hz on Pixhawk 2014-04-21 13:32:02 +09:00
Randy Mackay 8ac14023b4 Copter: set main loop rate from CPU class
Previously this was determined by the board
2014-04-21 13:32:00 +09:00
Randy Mackay 72d2712c4e AC_WPNav: integrate update_xy_controller name change 2014-04-21 13:31:58 +09:00
Randy Mackay 966340a02a Circle: integrate update_xy_controller name change 2014-04-21 13:31:57 +09:00
Randy Mackay 7e376bc517 PosControl: update_pos_controller renamed to update_xy_controller 2014-04-21 13:31:55 +09:00
Andrew Tridgell 4756dbee84 AP_NavEKF: fixed millisecond subtraction for rollover
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-21 13:16:20 +10:00
Andrew Tridgell 2295632660 Replay: added -A option to set arming time 2014-04-21 13:00:59 +10:00
Andrew Tridgell 994ce50714 Plane: setup failsafe values for OBC in failsafe callback 2014-04-21 11:52:54 +10:00
Andrew Tridgell 2ab4ffef45 Plane: use new APM_OBC API 2014-04-21 11:52:53 +10:00
Andrew Tridgell be9d0c1c4d APM_OBC: setup termination values in PX4IO
this sets up the PX4IO board with failsafe values in case the FMU is
not running
2014-04-21 11:52:53 +10:00
Andrew Tridgell 0d4985079e RC_Channel: added support for LimitValue settings
this allows you to set a channel failsafe or radio_out to a limit
value
2014-04-21 11:52:41 +10:00
Randy Mackay a1edf347bf Copter: STB_RLL_P and STB_PIT_P @Range 3 to 12 2014-04-21 10:41:01 +09:00
Andrew Tridgell 41100a13c3 Plane: setup failsafe trim values for if FMU firmware dies 2014-04-21 08:37:56 +10:00
Andrew Tridgell 594c5c07b3 Rover: setup failsafe trim values for if FMU firmware dies 2014-04-21 08:37:49 +10:00
Andrew Tridgell 7f4178d967 RC_Channel: added setup_failsafe_trim_all() function
sets all channels to output trim values on FMU failure
2014-04-21 08:37:24 +10:00
Andrew Tridgell 5cd145a307 AP_HAL: added set_failsafe_pwm() API
this allows the PWM values for FMU firmware failure to be setup
2014-04-21 08:36:52 +10:00
Andrew Tridgell 7f9a9107c7 APM_Control: logging_started needs to be static
prevents writing log headers twice
2014-04-21 07:13:06 +10:00
Andrew Tridgell 623cbc3316 Replay: cope with too many log format msgs 2014-04-20 21:45:31 +10:00
Andrew Tridgell 68f1ae3036 AP_NavEKF: fixed some matlab ! -> ~ typos
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
2014-04-20 21:44:37 +10:00
Andrew Tridgell 5a7afbf2cd AP_GPS: prevent writing GPS log headings multiple times 2014-04-20 21:44:14 +10:00
Randy Mackay b9845047f4 Copter: bug fix AP_Rally param directory 2014-04-19 22:37:01 +09:00
Randy Mackay 2a298d0ea4 Plane: remove RALLY_WP_SIZE definition 2014-04-19 15:00:32 +09:00
Randy Mackay 7af5d4a8ce Copter: remove RALLY_WP_SIZE definition 2014-04-19 15:00:30 +09:00
Randy Mackay e3ffd5c0dd Common: remove RallyLocation defintion 2014-04-19 15:00:28 +09:00
Randy Mackay 7011ab40c2 Rally: define RALLY_WP_SIZE and RallyLocation 2014-04-19 15:00:25 +09:00
Andrew Chapman fa3732ac6d Copter: integrate AP_Rally 2014-04-19 15:00:23 +09:00
Michael Day 568fc9e6c9 Plane: Now using AP_Rally library. 2014-04-19 09:16:05 +10:00
Michael Day a2aab2ab5e AP_Rally: Minor fixes to AP_Rally after initial testing
- If a Rally point is being used, always respect the altitude set by the
user (don't take the max of that and the home point altitude).

- No need for constructor to pass in size of RallyLocation struct
2014-04-19 09:16:02 +10:00
Andrew Chapman 5825bac410 AP_Rally library 2014-04-19 09:15:59 +10:00
Michael Day 04292d7e5e autotest: Added McMillan airstrip at Camp Roberts to locations.txt 2014-04-18 07:43:03 +10:00
Randy Mackay 817c893f21 Copter: bug fix for conditional_distance command
Due to a race condition, the wp_distance was not being updated before
the conditional_distance
2014-04-17 22:23:28 +09:00
Kevin Hester 55d926b055 code style: add indentation rules for makefiles
(and remove some web file types that will probably never be in APM)
2014-04-17 21:29:25 +09:00
Randy Mackay f29ad3a2e0 Copter: bug fix for when WP_YAW_BEHAVIOR is 0 2014-04-17 16:53:06 +09:00
Randy Mackay 5322093475 Mission: fix example sketch after GPS lib changes 2014-04-17 16:41:38 +09:00
Randy Mackay c53a0fcfd9 Copter: conditional yaw fix
waypoint command was setting auto_yaw_mode when it was run after the
do-cmd
yaw_look_at_heading was being set to current heading which was
overwriting the caller's desired heading
2014-04-17 16:41:36 +09:00
Andrew Tridgell b4c5f31b17 APM_Control: reduce the number of parameter saves in autotune
don't save a parameter unless it has changed by 0.1%
2014-04-17 17:20:40 +10:00
Paul Riseborough ccc7d36493 APM_Control: Modify D and I gain scaling 2014-04-17 17:11:48 +10:00
Randy Mackay 7f00bd7f5d Copter: default WAYPOINT to current pos if lat, lon, alt are zero 2014-04-16 20:33:43 +09:00