Randy Mackay
82ad454864
Copter: log sonar_alt even when disabled
10 years ago
Andrew Tridgell
278883c521
Copter: finished conversion to .cpp files
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
10 years ago
Andrew Tridgell
356ece3402
Copter: rename .pde files to .cpp files
10 years ago
Jonathan Challinger
0dbe94c9a1
Copter: set motor air density ratio
10 years ago
Randy Mackay
6e623bce28
Copter: remove optical flow init failure message
...
the sensor only becomes healthy once it has received data which will
take a few seconds after initialisation meaning this failure message
will always be displayed even when the sensor is fine.
10 years ago
Randy Mackay
5e359c977f
Copter: replace range finder health with status
10 years ago
Paul Riseborough
133b8f5ad7
Copter: Allow EKF to pull data from range finder object
10 years ago
Randy Mackay
d7f624be39
Copter: remove baro_glitch protection
10 years ago
Leonard Hall
8eedb2c040
Copter: sent battery voltage and current to motors
10 years ago
Randy Mackay
02d0b05926
Copter: minor format fix
10 years ago
Andrew Tridgell
c151f24672
Copter: updates for new AP_Baro API
10 years ago
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
10 years ago
Randy Mackay
c93c7af20c
Copter: move update_optflow to sensors.pde
...
No functional change
10 years ago
priseborough
a72b6b179b
Copter : Modify EKF optical flow data interface
10 years ago
Randy Mackay
b2badee172
Copter: reset baro glitch after baro init
10 years ago
Randy Mackay
5104d5f0fe
Copter: re-order init_sonar
...
No functional change.
10 years ago
Randy Mackay
f6ff1742d5
Copter: landing detector checks baro climb rate
...
Barometer climb rate must be -150cm/s ~ +150cm/s
This threshold is generous because we already use the inertial
navigation climb rate so this is just to catch cases where inertial nav
is very incorrect in it's climbrate estimates
10 years ago
Andrew Tridgell
c3d839456b
Copter: support logging while disarmed
10 years ago
Randy Mackay
aa3e34a44a
Copter: move update_optflow to sensors.pde
...
Also slightly shorten function name
10 years ago
Randy Mackay
3201a8dbca
Copter: integrate optflow_enable param move to optflow class
10 years ago
Jonathan Challinger
fa9d10e59b
Copter: log CURR message at 10hz
10 years ago
Randy Mackay
14d80910ec
Copter: integrate EPM ver2
11 years ago
Randy Mackay
b8f98aba8f
Copter: fix baro glitch resolved message in dataflash
...
Caught by Julien Dubois, thanks!
11 years ago
Randy Mackay
7cc1501dc6
Copter: integrate baro glitch protection
11 years ago
Andrew Tridgell
a4b9b989b7
Copter: convert to new AP_RangeFinder API
11 years ago
Andrew Tridgell
0cbe64bc5e
Copter: use Log_Write_Baro()
...
this gives the raw pressure and temperature, which is useful for
analysis, plus allows for more accurate log replay
11 years ago
Andrew Tridgell
24f2ac20de
Copter: removed HIL_MODE_ATTITUDE
...
this really can't work any more, as AHRS can't support it
11 years ago
Randy Mackay
8f5585423c
Copter: use ahrs trig values
11 years ago
Randy Mackay
8a29d63d89
Copter: faster baro calibration when arming
...
using update_calibration() instead of the full calibrate() cuts
1.5seconds of the arming time
11 years ago
Randy Mackay
9f2f44f0f6
Copter: integrate shrunken optflow
11 years ago
Lukasz
cb17a5bdb6
Copter: Add RSSI_RANGE parameter
...
Added ability to rescale rssi input voltage. Useful for receivers like
FrSky which have 3.3V output.
11 years ago
Randy Mackay
32f53624d6
Copter: rename low_battery to failsafe.battery
11 years ago
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
11 years ago
Randy Mackay
dab4f032f9
Copter: integrate BattMonitor
12 years ago
Randy Mackay
a53d28e018
Copter: remove support for dmp ahrs
12 years ago
Randy Mackay
c5bd1a76ed
Copter: comment update re low battery event
12 years ago
Randy Mackay
8e0cacad39
Copter: disable low battery events when usb connected
12 years ago
Randy Mackay
2696e160e6
Copter: surface tracking improvement
...
Separate correction speeds for pilot input vs altitude-above-ground
errors to allow slower correction to sonar signals.
Change SONAR_GAIN parameter to be altitude error -> desired speed. This
means it should be set 10x larger than before.
Replace hard-coded sonar cut-off percentage of 70% with
SONAR_RELIABLE_DISTANCE_PCT.
Reduce sonar cut-off percentage to 60%.
Add desired sonar altitude to dataflash log's CTUN message.
12 years ago
Jonathan Challinger
b21bc5a85a
Copter: Fixed bug in battery current integration
12 years ago
Randy Mackay
d1791bab76
Copter: fix barometer cli test
12 years ago
Andrew Tridgell
c44fd42349
Copter: fixed RSSI reading on PX4
...
needed for different analog input scaling
12 years ago
Andrew Tridgell
0d027b7a23
Copter: updates for new compass API
12 years ago
Andrew Tridgell
82c604dd67
Copter: more constrain fixes
12 years ago
Andrew Tridgell
cf6ae4a746
Copter: remove ahrs.set_barometer()
12 years ago
Randy Mackay
1dcd46bffc
Copter: reduce compiler warnings
12 years ago
Randy Mackay
f263e81ed7
Copter: remove unused GPS and baro filters
...
Saves 24bytes of RAM
Removing the baro filter leads to noisier Baro Alt appearing in the log
so we should make the inertial nav altitude appear in the CTUN message
12 years ago
Randy Mackay
cb84ec9d9b
Copter: add current based compass compensation
12 years ago
Andrew Tridgell
c2fd1512ff
Copter: use voltage_average() so as to avoid INPUT_VOLTS
12 years ago
rmackay9
9c3b9907dd
Copter: bug fix to set sonar_alt_health to zero when disabled
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago