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
rmackay9
41fbb19cf5
AP_InertialSensor_MPU6000: replaced _cs_pin parameter with #define and saved 1 byte of memory
...
Updated ArduCopter, ArduPlane and example sketches in AP_InertialSensor, AP_IMU and AP_AHRS libraries because they no longer need to pass in cs_pin to the constructor
13 years ago
Andrew Tridgell
ccf8ba3ce9
DCM: limit the contribution of the baro to vertical acceleration
...
limit to a max of 0.5g
13 years ago
Andrew Tridgell
458a42654b
DCM: disable use of baro for vertical accel by default
...
this has caused problems with too many users
13 years ago
Michael Oborne
94f956a0ca
fix AP attitude hil - with randys help
13 years ago
rmackay9
1c9fe3b1b6
AP_AHRS: fix to allow example sketch to compile
13 years ago
Andrew Tridgell
fba1692d69
AHRS: added AHRS_BARO_USE parameter
...
allow disabling of the use of the barometer for vertical acceleration
compensation
13 years ago
Andrew Tridgell
de28cc8b28
AHRS: added AHRS_WIND_MAX option
...
this allows APM to cope better with airspeed sensor failure, but
ensuring airspeed stays within AHRS_WIND_MAX of ground speed
13 years ago
Andrew Tridgell
2be785899b
AHRS: added airspeed_estimate() function
...
this allows the APM code to use an airspeed estimate for navigation
13 years ago
Andrew Tridgell
8b53f1272a
AHRS: new functions to support APM_Control library
13 years ago
uncrustify
e17fcbd9cb
uncrustify libraries/AP_AHRS/AP_AHRS_HIL.h
13 years ago
uncrustify
af588679b9
uncrustify libraries/AP_AHRS/AP_AHRS.h
13 years ago
uncrustify
8c0e4f3987
uncrustify libraries/AP_AHRS/AP_AHRS_MPU6000.h
13 years ago
uncrustify
bc80148c75
uncrustify libraries/AP_AHRS/AP_AHRS_DCM.h
13 years ago
uncrustify
31a4442904
uncrustify libraries/AP_AHRS/AP_AHRS_DCM.cpp
13 years ago
uncrustify
d6d7606c84
uncrustify libraries/AP_AHRS/AP_AHRS_HIL.cpp
13 years ago
uncrustify
9e4e08699d
uncrustify libraries/AP_AHRS/AP_AHRS_MPU6000.cpp
13 years ago
uncrustify
6327305116
uncrustify libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.pde
13 years ago
Andrew Tridgell
6d28b3519f
AHRS: removed AP_AHRS_Quaternion
...
this AHRS backend is causing compiler errors with the Arduino build
environment on windows. The quaternion AHRS backend is currently not
being developed/supported anyway. We can resurrect it if someone wants
to start developing it again.
13 years ago
Andrew Tridgell
2985de279f
AHRS: fixed duplicate gps_use variable in DCM
13 years ago
Andrew Tridgell
134cd51d17
AHRS: moved var_info[] into top level AP_AHRS class
13 years ago
Andrew Tridgell
ac72db8f00
AHRS: added set_fast_gains() method
...
this will be used by arducopter on the ground
13 years ago
Andrew Tridgell
14cdbd36cb
AHRS: check for bad values in the error before they can affect DCM
...
this should fix the DCM renorm errors in autotest, probably caused by
bad climb rates
13 years ago
Andrew Tridgell
d9cc967508
AHRS: force an extra read of the compass on startup
...
the first read from the compass can be bad. This ensures we have a
good value when getting the initial AHRS yaw.
Thanks to Randy and Jason for the bug report!
13 years ago