Randy Mackay
6f6c9e2585
AC_PosControl: bug fix to vertical speed limit
...
Vehicle was not reaching target climb or descent rate because of
incorrectly defaulted acceleration
11 years ago
Andrew Tridgell
25667a11a0
AP_NavEKF: use AHRS vehicle class for sideslip calculation
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Andrew Tridgell
5acd17b843
AP_NavEKF: cleanup some build warnings
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Andrew Tridgell
c8c6e05a4a
AP_AHRS: added vehicle class to AHRS
...
used by EKF to control use of get_fly_forward()
11 years ago
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.
11 years ago
Randy Mackay
648787a6c8
AC_WPNav: rename some definitions
11 years ago
Randy Mackay
2167dd7d3e
AC_WPNav: update target speed immediately
11 years ago
Andrew Tridgell
05bffb5915
HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter
11 years ago
Andrew Tridgell
e0db7b117f
SITL: added SIM_FLOAT_EXCEPT parameter
...
this enables checking for floating point exceptions
11 years ago
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
11 years ago
Andrew Tridgell
7e5a491f14
AP_Math: prevent a floating point exception
11 years ago
Andrew Tridgell
4d24a86088
AP_AHRS: prevent a infinity value
11 years ago
Randy Mackay
d382fa51ee
AC_WPNav: run loiter and wp nav at 50hz on Pixhawk
11 years ago
Randy Mackay
72d2712c4e
AC_WPNav: integrate update_xy_controller name change
11 years ago
Randy Mackay
966340a02a
Circle: integrate update_xy_controller name change
11 years ago
Randy Mackay
7e376bc517
PosControl: update_pos_controller renamed to update_xy_controller
11 years ago
Andrew Tridgell
4756dbee84
AP_NavEKF: fixed millisecond subtraction for rollover
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
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
11 years ago
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
11 years ago
Andrew Tridgell
7f4178d967
RC_Channel: added setup_failsafe_trim_all() function
...
sets all channels to output trim values on FMU failure
11 years ago
Andrew Tridgell
5cd145a307
AP_HAL: added set_failsafe_pwm() API
...
this allows the PWM values for FMU firmware failure to be setup
11 years ago
Andrew Tridgell
7f9a9107c7
APM_Control: logging_started needs to be static
...
prevents writing log headers twice
11 years ago
Andrew Tridgell
68f1ae3036
AP_NavEKF: fixed some matlab ! -> ~ typos
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Andrew Tridgell
5a7afbf2cd
AP_GPS: prevent writing GPS log headings multiple times
11 years ago
Randy Mackay
e3ffd5c0dd
Common: remove RallyLocation defintion
11 years ago
Randy Mackay
7011ab40c2
Rally: define RALLY_WP_SIZE and RallyLocation
11 years ago
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
11 years ago
Andrew Chapman
5825bac410
AP_Rally library
11 years ago
Randy Mackay
5322093475
Mission: fix example sketch after GPS lib changes
11 years ago
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%
11 years ago
Paul Riseborough
ccc7d36493
APM_Control: Modify D and I gain scaling
11 years ago
Randy Mackay
94d38ee294
AC_Circle: add get_closest_point_on_circle
...
init_start_angle method added to use current heading or position to
decide on initial start angle
11 years ago
Kevin Hester
c2184cb8e4
PID: fixup line endings
11 years ago
Kevin Hester
72e97cbf5c
AP_Param: fixup line endings
11 years ago
Kevin Hester
a7820e6c71
OptFlow: fixup line endings
11 years ago
Kevin Hester
fce1277b0e
Notify: fixup line endings
11 years ago
Kevin Hester
b7bed437c2
Compass: fixup line endings
11 years ago
Kevin Hester
80cb13e222
BattMon: fixup line endings
11 years ago
Kevin Hester
d09e871319
AP_Airspeed: fixup line endings
11 years ago
Kevin Hester
c34c4d79f6
AP_ADC: fixup line endings
11 years ago
Kevin Hester
b7410494e3
AC_PID: fixup line endings
11 years ago
L. Preston Sego III
3ecdc4b741
Copter: Add support for V-Tail Quads
11 years ago
Randy Mackay
02775e8dc5
AC_PosControl: get_accel_target returns const ref
11 years ago
Randy Mackay
60f522a094
AC_WPNav: set_wp_destination to use current target
...
Previously we used the projected stopping point if the vehicle had not
reached the destination but this could lead to large jumps in target
position
11 years ago
Andrew Tridgell
ae7293ef68
APM_Control: added support for AUTOTUNE_LEVEL
...
10 levels of tune, for what type of tune the user wants
11 years ago
Andrew Tridgell
86f167fc7f
AP_Vehicle: added autotune_level to fixed wing parms
11 years ago
Andrew Tridgell
b7350118a6
AP_AHRS: enable EKF wind estimate with no airspeed sensor
...
EKF can now estimate with IMU and GPS only
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
Andrew Tridgell
4abc2999a6
AP_NavEKF: start with a wind estimate of 3m/s, when no direct measurement
...
this will cope better with users with low roll/pitch gains, to ensure
they get enough control on takeoff
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
11 years ago
priseborough
d745dc2b6f
AP_NavEKF : Increased position gate default to reduce impact of accel errors
...
Flight testing with windup turns has shown that the position gate threshold
can be tripped with good GPS data causing position jerks. This increases the
initial GPS glitch rejection threshold to effectively 5m when using the
default POSNE_NOISE value of 0.5m.
11 years ago
priseborough
188bea6bab
AP_NavEKF : Enable calc of wind velocity when not using airspeed sensing
...
This patch also cleans up the logic associated with use of the synthetic
sideslip measurement so that it can never be used for a non fly-forward
vehicle type
This patch adds functionality that initialises the wind-speed vector to the
reciprocal of the ground speed vector, and scaled to 6 m/s. On average this gives
a better initial wind velocity estimate on launch by assuming:
a) launch will be into wind
b) wind speed is equal to global average
It also helps prevent a headwind causing initial underestimation of airspeed
causing high autopilot gains and limit cycles on climb-out, until first
turn when the EKF is able to estimate the wind.
11 years ago