Andrew Tridgell
57752df68e
APM_Control: set a small D value by default
...
0.02 may help with some planes that have slow response
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
a192b9ee46
AP_Scheduler: added load_average() function
...
useful to give a load average in SYS_STATUS mavlink message
12 years ago
Andrew Tridgell
fef6a76078
RC_Channel: rename 'Manual' to RCPassThru
...
this should make it clearer what it does
12 years ago
Olivier-ADLER
bf6120d8b7
Copter: Move CH7 - CH8 check from read_aux_switches() to pre_arm_checks.
...
Moving this to pre-arm checks save some processing time and is safer.
12 years ago
Randy Mackay
f3a2db195e
Copter Motors: remove old style stability patch
12 years ago
Randy Mackay
c5851d2ddf
Copter: remove throttle rate's I and D calcs
12 years ago
Randy Mackay
740970efa6
Copter: remove stabilize's call to calc I terms
...
I terms all moved to rate controllers so this will be a small
performance improvement
12 years ago
Andrew Tridgell
2874ec67c7
DataFlash: slight efficiency improvement
...
fixes issue #314
thanks Dongfang!
12 years ago
Andrew Tridgell
63873d6af3
HAL_AVR: fixed example build
12 years ago
Andrew Tridgell
233b033e8c
Plane: removed old speed/altitude control algorithms
...
Use TECS only. This makes the code a lot simpler and easier to
properly document
12 years ago
Andrew Tridgell
ef104b6629
autotest: wait for a higher altitude on takeoff
...
otherwise left circuit can crash
12 years ago
Andrew Tridgell
c0697d0a2d
Plane: mark 2.75beta1
12 years ago
Andrew Tridgell
965dc228c2
Plane: fixed GUIDED mode change of altitude down
12 years ago
Andrew Tridgell
b8fa83ff54
Plane: change default slewrate to 100%/second
12 years ago
Andrew Tridgell
29c854e676
Plane: remove unused function
12 years ago
Paul Riseborough
ba009e55e3
AP_Baro : Fixed bug in temperature units in AP_Baro_HIL
12 years ago
Andrew Tridgell
ebebee4f06
AP_Baro: extend the atmospheric model to higher altitudes
12 years ago
Paul Riseborough
5a68c515dc
AP_Airspeed: Altitude Calibration - added constrain on P matrix diagonals
12 years ago
Andrew Tridgell
6e288551ab
Plane: fixed reversion to pre-failsafe mode
...
if AUTO was entered using GCS, we need to switch back to the old mode,
not control channel
12 years ago
Andrew Tridgell
3ba0dec4b3
AP_Airspeed: fixed typo
12 years ago
Paul Riseborough
d1805f4349
AP_Airspeed: Airspeed Calibration computational efficiency improvement
12 years ago
Andrew Tridgell
0c6725f289
AP_Baro: improved the accuracy of the barometer model
12 years ago
Andrew Tridgell
c5028c04da
APM_Control: scale controllers for altitude
...
this allows the attitude controllers to better handle a wider range of
altitudes
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
097718e833
AP_L1_Control: scale loiter and wp radius with altitude
...
this should keep the aircraft stable in loiter at very high altitudes
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
74dabad1f3
Plane: added SKIP_GYRO_CAL parameter
...
useful for starting the sim at high altitudes, and for starting planes
without having to hold them still
12 years ago
Andrew Tridgell
c8a83e17d0
Plane: remove old AIR_START code
...
this was never used or tested
12 years ago
Andrew Tridgell
e6d9d14fad
AP_Airspeed: added example sketch for airspeed calibration
12 years ago
Andrew Tridgell
7673ca0bac
Plane: updates for new EAS2TAS scaling
12 years ago
Andrew Tridgell
620d067ee1
AP_TECS: use ahrs EAS2TAS for true airspeed
12 years ago
Andrew Tridgell
ec73fadc45
AP_AHRS: added true airspeed support in AHRS
...
use true airspeed for wind calculations, and allow other drivers to
ask for the current ratio
12 years ago
Andrew Tridgell
3c66cb8af1
AP_Airspeed: added EAS2TAS in airspeed driver
...
this keeps the true airspeed ratio in the airspeed driver, which seems
the most logical place
12 years ago
Andrew Tridgell
9bbe6c1967
Plane: update to new license boilerplate for GPLv3
...
we had LGPLv2 in some places, despite the fw being GPLv3
12 years ago
Andrew Tridgell
882aa68c16
Plane: use new airspeed calibration code
...
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
893d2da6f6
AP_Airspeed: added auto-calibration support
...
This uses a Kalman filter to calculate the right ARSPD_RATIO at runtime
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
53b1b9b575
Plane: added note on type of airspeed in docs
12 years ago
Andrew Tridgell
01c124d5f5
AP_GPS: added velocity_vector() method
12 years ago
Andrew Tridgell
468e55d425
AP_Math: added two new vector/matrix ops for kalman airspeed filter
12 years ago
Andrew Tridgell
2d5deddd30
Plane: set mode CIRCLE on short failsafe in AUTO
...
this makes the code match the docs
12 years ago
Andrew Tridgell
9b70675b12
Plane: check the control switch a bit more often
...
faster response to mode changes
12 years ago
Andrew Tridgell
6ed78c89ac
Plane: don't read control switch when ch3 is in failsafe
...
use ch3_counter not just the final flag
12 years ago
Andrew Tridgell
51b9cf3e76
Plane: move failsafe variables into a structure
...
this makes the logic a bit easier to follow
12 years ago
Randy Mackay
e2fbc00b52
LeadFilter: removed this unused library
...
This was used to project the GPS position forward to compensate for lag
but this has become unnecessary with the introduction of the inertial
nav in x and y axis.
12 years ago
Randy Mackay
c9a875da52
Copter: remove unused earth frame rate controllers
12 years ago
Randy Mackay
43379f20c3
Copter Motors: replace limit bitmask with structure
12 years ago
Olivier-ADLER
ac0886334d
Copter: Failsafe GCS typo in comments
...
replaced GPS by GCS word in different comments locations
12 years ago
Randy Mackay
0325ad5d0d
AP_AHRS: use rotateXY for speed
...
Saves 0.1ms at 100hz
12 years ago
Randy Mackay
540ca25b84
AP_Math: add rotateXY
12 years ago
Randy Mackay
11e7e9eaf1
Copter: WP_YAW_BEHAVIOUR param update for Look Ahead
12 years ago
Randy Mackay
c937fe45e1
Revert "Copter: Remove CH7 & CH8 Enable / Disable of GeoFence"
...
This reverts commit e25b8933f3
.
12 years ago
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
12 years ago