Andrew Tridgell
b56d784ae4
Plane: limit to zero pitch in quadplane on initial transition
9 years ago
Andrew Tridgell
7ec513668e
GCS_MAVLink: reserve some space when param fetch fails
...
this ensures we give some buffer space for parameter fetch when we are
low on buffer space
we reserve 100 bytes for 2 seconds after a param fetch fails due to
low buffer space
9 years ago
Andrew Tridgell
f02c8f732c
DataFlash: fixed BAR2 format for drift offset
9 years ago
Pierre Kancir
ee168bee8d
APMrover2 : correct arming and failsafe in skid steer mode
...
Commit 3636b53#diff-e22a85a55f71f1b9b2d3f293dea61368 introduce arming for rover. But in skid steering mode it was only applied on throttle and the rover still pivot.
The patch also correct rover behaviour in case of failsafe or loitering.
9 years ago
Andrew Tridgell
168f4e52cf
autotest: try to fix build of binaries
9 years ago
Andrew Tridgell
20cf326093
Plane: lower throttle threshold for quadplane is_flying
9 years ago
Paul Riseborough
a94a19bd09
AP_NavEKF2: Fix bug causing continual yaw resets
9 years ago
Tom Pittenger
57d6ccc0dd
AP_HAL_PX4: skip the 100ms delay on first px4io safety_state async attempt
9 years ago
Tom Pittenger
e3930b45df
Plane: force the safety_state immediately because we want it to be in effect while we make mixer changes
9 years ago
Tom Pittenger
4785650c95
Plane: remove redundant calls to safety_state
9 years ago
Tom Pittenger
d3ac1dc161
AP_HAL: defer calls to safety_state switch to queue an async attempt.
...
- this allows for auto-retries if the state does not set correctly
9 years ago
Tom Pittenger
67aaf7e226
AP_HAL_PX4: defer calls to safety_state switch to queue an async attempt.
...
- this allows for auto-retries if the state does not set correctly
9 years ago
Andrew Tridgell
97e2203e70
AP_NavEKF2: don't do 3D mag fusion on 2nd EKF2 core
...
this reduces the risk that mag fusion errors will badly affect
attitude estimation.
9 years ago
Andrew Tridgell
084a37d4fa
autotest: enable LOG_REPLAY and LOG_DISARMED in autotest
...
this will give us the ability to analyse any EKF errors
9 years ago
Peter Barker
480e142cfb
autotest.py: remove TARGET no longer required
9 years ago
Peter Barker
3548f90d3a
autotest: create SIL object to hold valgrind logpath
9 years ago
Peter Barker
ced07906ad
Tools: correct valgrind run in autotest.py
9 years ago
Peter Barker
7b86a05722
Tools: convert autotest build.X and fly.X to use waf build system
9 years ago
Andrew Tridgell
9933069679
Plane: fixed motor test by percentage in quadplane
9 years ago
Andrew Tridgell
d17e3b17bf
AP_AHRS: special handling for flying fixed wing with no compass
...
we need to accept EKF having no absolute position and velocity before
takeoff with no compass
9 years ago
Paul Riseborough
de15928921
AP_NavEKF2: prevent potential arithmetic error in declination fusion
9 years ago
Paul Riseborough
722eb0d706
AP_NavEKF2: Fix bug for start of wind speed estimation
...
The commencement of airspeed fusion could cause pitch errors due to small variances and large innovations. This issue is addressed by the following changes:
1) The airspeed measurement is used to set wind states to a value that reduces initial innovations.
2) The wind state variances are set to values that better reflect the wind speed uncertainty
9 years ago
Paul Riseborough
ac329ec31c
AP_NavEKF2: use observation noise to set initial magnetic field variances
9 years ago
Paul Riseborough
830751c0ae
AP_NavEKF2: remove un-wanted functionality from mag and yaw reset
...
The function used to reset magnetic field states and yaw angle should not be used when there is no magnetometer. If it is incorrectly called without a magnetometer it should not change the attitude or field states.
9 years ago
Paul Riseborough
11c6ea7ef6
AP_NavEKF2: attitude co-variance reset for all post alignment yaw resets
...
Whenever the yaw angle is changed, the correlation with other state errors will be incorrect and the terms should be zeroed.
9 years ago
Paul Riseborough
cdd09df9ac
AP_NavEKF: Add function to zero attitude state co-variances
...
When changing the vehicle yaw angle, the correlation between the attitude errors and errors in other states is invalid so the corresponding co-variance terms need to be zeroed.
This needs to be done in more than one place.
9 years ago
Paul Riseborough
6d34ac5ceb
AP_NavEKF2: improve switch-over to use of mag field states
...
Set initial variances to measurement uncertainties
Always perform a field and yaw reset
9 years ago
Paul Riseborough
fe9ddfdfeb
AP_NavEKF2: remove code that prevents attitude updates after mag reset
...
This code assumes a vehicle is close to level and will not work for all vehicle types. It will be replaced by a different method.
9 years ago
Paul Riseborough
fe85c68344
AP_NavEKF2: move yaw reset for no compass case
...
Should not be in a function that performs reset on magnetic field states
9 years ago
Paul Riseborough
da0622827d
AP_NavEKF: update tuning defaults
...
Increase speed of scale factor learning
9 years ago
Andrew Tridgell
4c66e14563
SITL: fixed air resistance bug for heli, balloon and singlecopter
9 years ago
Randy Mackay
d26a9d4a22
SITL: fix compiler warning by defaulting frame_type
9 years ago
Andrew Tridgell
b76a993f7e
autotest: support coaxcopter
9 years ago
Andrew Tridgell
969b6ebea9
HAL_SITL: support coaxcopter in SITL
9 years ago
Andrew Tridgell
a2ed8fb313
AP_Motors: prevent negative thrust
...
this prevents a sqrt of a negative number
9 years ago
Andrew Tridgell
9f33ece3ef
SITL: support coax copter
9 years ago
Andrew Tridgell
6855899cbf
AP_Motors: fixed servo constructor for coax
9 years ago
Andrew Tridgell
4e5e301c4e
AP_Motors: fixed servo constructor for heli
9 years ago
Andrew Tridgell
ba3703303a
autotest: added SingleCopter
9 years ago
Andrew Tridgell
a80e233836
HAL_SITL: added SingleCopter
9 years ago
Andrew Tridgell
8944d298ed
SITL: added SingleCopter simulator
9 years ago
Andrew Tridgell
f9fb098222
AP_Motors: fixed channel output for SingleCopter
9 years ago
Andrew Tridgell
163783fefd
AP_HAL: define CH_NONE
...
for servos not connected to a channel
9 years ago
Andrew Tridgell
53fc095d4c
Copter: fixed motor test build on heli
...
pwm percent makes no sense
9 years ago
Andrew Tridgell
c605f09859
Copter: fixed motor test with percentage
...
use motors min/max pwm, not throttle channel range
9 years ago
Andrew Tridgell
65eb9ceb32
AP_Motors: expose min/max pwm
9 years ago
Andrew Tridgell
3ad0190693
PX4Firmware: submodule update
9 years ago
Andrew Tridgell
dda35a366c
HAL_PX4: prevent rate changes once oneshot is setup
...
this fixes a problem with small motor outputs at the start of a motor
test.
Thanks to Luis for reporting this.
9 years ago
Andrew Tridgell
a44b0e0011
AP_Motors: don't setup oneshot for a zero output mask
9 years ago
Francisco Ferreira
ec0a80b6f4
ci: increase ccache size
...
make based builds require more space
insert exception for sitltest
9 years ago