priseborough
b63d0969b7
AP_AHRS: Addition of a first order complementary filter to AP_AHRS::groundspeed_vector
...
Addition of a complementary filter to estimation of the ground velocity vector for use by the L1-nav
12 years ago
Andrew Tridgell
05ecb8d8fa
AP_AHRS: fixed functions that need to be virtual
...
functions overridden in a child class need to be marked virtual, or
you get the parent class function
12 years ago
Andrew Tridgell
ee81b0f729
AP_AHRS: added wind_correct_bearing() and groundspeed_vector()
...
these are very useful for navigation libraries
12 years ago
Andrew Tridgell
896fd52aa1
AP_AHRS: fixed functions that need to be virtual
...
functions overridden in a child class need to be marked virtual, or
you get the parent class function
12 years ago
Andrew Tridgell
8459da202c
AP_AHRS: prevents compass flyaways for plane and rover
...
this switches to the GPS for yaw if the compass has dragged us off by
more than 45 degrees from the GPS heading, and the wind speed is less
than 80% of the ground speed.
12 years ago
Randy Mackay
24044dc0c4
AHRS: add support for GPS fix type 2D
12 years ago
Randy Mackay
3321db8dde
AHRS: limit trim to 10 degrees
12 years ago
Andrew Tridgell
6119201307
AP_AHRS: ensure compass is non-NULL for set_board_orientation()
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
Andrew Tridgell
f644a356c9
AP_AHRS: document more rotation combinations
12 years ago
Andrew Tridgell
848fc3e32d
AP_AHRS: added AHRS_ORIENTATION parameter
12 years ago
rmackay9
9e5861ccaf
AP_AHRS: small fix to parameter comments
12 years ago
rmackay9
77331f6538
AP_AHRS: another attempt at updating the TRIM parameter descriptions
12 years ago
rmackay9
e6c10f4f0b
AP_ARHS: add description to AHRS_TRIM parameters
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
3ac3aeb1b1
AHRS: fixed build on ARM
12 years ago
Andrew Tridgell
583845cc17
ahrs fixup
12 years ago
Andrew Tridgell
1b0670e67c
AHRS: fixup for ARM compiler
12 years ago
rmackay9
bd0e018ca0
ArduCopter: restore auto-trim method but now use AHRS.add_trim
12 years ago
rmackay9
1f7614929f
AP_AHRS: save trim to eeprom when set_trim is called
12 years ago
rmackay9
1c08f176ea
AP_AHRS: add get_accel_ef method to return earth frame accelerometer values for use in ArduCopter's inertial nav and accel based throttle
12 years ago
Andrew Tridgell
e282554035
AHRS: removed some debug code
12 years ago
Andrew Tridgell
ceb3f577d8
libraries: use new math functions
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
fc66f5594f
AHRS: allow AHRS test to build with SITL
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Andrew Tridgell
5c148153ac
AP_AHRS: updates for new AP_Param API
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Andrew Tridgell
8b6ad6d559
SITL: removed SITL_debug()
...
not needed any more
12 years ago
Andrew Tridgell
5840ded767
AHRS: removed constrain() defines
12 years ago
Andrew Tridgell
09e7b0b592
AHRS: removed unused variable
12 years ago
Pat Hickey
70f34656bc
AP_AHRS: uart1 -> uartB fixup
12 years ago
Pat Hickey
9bf69d4e0d
AP_AHRS: port to AP_HAL
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
rmackay9
24317e721b
AC_PID, AP_AHRS: added descriptions to some parameters
12 years ago
Andrew Tridgell
51080d3e9e
AHRS: update example for new ins interface
12 years ago
Andrew Tridgell
1dad9e4e94
AHRS: improved some more doc strings
12 years ago
Andrew Tridgell
eb1d5c2c68
AHRS: improved docs for AHRS_GPS_USE
...
some people are setting this to zero to prevent jitter, which results
in their plane flying off into the distance and never coming back
12 years ago
Andrew Tridgell
5a214acca3
AHRS: changed the docs for AHRS_YAW_P and AHRS_RP_P
...
a user had set AHRS_YAW_P to zero. Make it clear that zero is not a
good value. MichaelO will change MP to give a warning for a value
below 0.1
12 years ago
Andrew Tridgell
8561f08b2f
AP_AHRS: prevent a large delta_t from affecting DCM solution
...
this should fix large changes in attitude directly after arming
ArduCopter
12 years ago
rmackay9
56f88821e9
AP_AHRS: fix example sketch
...
AP_Airspeed: fix example sketch
AP_Baro: fix example sketch
AP_Declination: fix example sketch
AP_Math: fix example sketch
12 years ago
rmackay9
83ae8e47be
AP_AHRS: replace IMU with INS and add roll and pitch trim
12 years ago
Andrew Tridgell
fe47990dab
AP_AHRS: removed the 6 sats min
...
this would put us into dead-reckoning mode
12 years ago
Andrew Tridgell
6a24bdec05
AP_AHRS: require at least 6 satellites to use the GPS for velocity
...
logs of a recent flight show the velocity estimate can be very poor if
the GPS can see 5 satellites or less
12 years ago
Andrew Tridgell
ea40432235
AP_AHRS: use GPS vertical velocity when available
12 years ago
rmackay9
9e3824a09b
AP_AHRS: fix compile error in example sketch
12 years ago
Andrew Tridgell
00bf548f87
AHRS: limit wind speed estimate changes
...
sudden yaw changes can cause bad wind estimates
13 years ago
rmackay9
e33d314f1d
AP_AHRS_MPU6000: resolve compiler warning re shadowing
13 years ago
rmackay9
670fcbb634
AP_AHRS_MPU6000: fixed yaw correction and added _secondary_ahrs parameter
...
_secondary_ahrs parameter allows mpu6000 ahrs to runin parallel with DCM.
13 years ago
rmackay9
8c6fd340d7
AP_AHRS: added scheduler parameter to init
...
Required by the AP_AHRS_MPU6000 class which needs to disable timed processes that could interfere with it's communication with the mpu6000
13 years ago