Randy Mackay
51cb7185f2
InertialNav: fix example sketch
2015-01-28 17:15:27 +09:00
Randy Mackay
f35efc56e0
InertialNav_EKF: get_filter_status replaces position_ok
2015-01-22 14:39:37 +09:00
Randy Mackay
5d80481723
InertialNav: get_filter_status replaces position_ok
...
altitude_ok also replaced.
2015-01-22 14:39:35 +09:00
Andrew Tridgell
cd7fbddcce
AP_InertialNav: updates for new AP_Baro API
2015-01-09 11:50:56 +11:00
Andrew Tridgell
006185f08a
AP_InertialNav: fixed example build
2014-10-24 12:10:40 +11:00
Randy Mackay
0e11189c35
AP_InertialNav: add comments
2014-10-20 11:12:54 +09:00
Jonathan Challinger
5e381280dc
AP_InertialNav: update properly if home position moves
2014-10-20 10:59:50 +09:00
Randy Mackay
023b2c0d6b
AP_InertialNav: fixed use of ahrs.get_velocity with EKF disabled
2014-10-09 16:43:24 +09:00
Andrew Tridgell
7b02d326f6
AP_InertialNav: fixed use of _ahrs.get_relative_position_NED() with EKF disabled
...
this prevents a floating point error caused by using an uninitialised
vector3 when switching between DCM and EKF control in AP_InertialNav
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-10-09 18:30:20 +11:00
Randy Mackay
102b71cde3
InertialNav: add credit to Tony Lambregts
2014-08-31 13:23:03 +09:00
Andrew Tridgell
f0f25eb1d7
AP_InertialNav: fixed example build
2014-08-13 21:48:35 +10:00
Randy Mackay
009f42b2e1
InertialNav: do not reset velocity after glitch clears
2014-08-04 11:31:46 +09:00
Randy Mackay
538372c02c
InertialNav: remove accessor to set time_constants
2014-08-01 15:14:43 +09:00
Randy Mackay
2951fb50e9
InertialNav: fix example sketch
2014-07-29 11:51:49 +09:00
Randy Mackay
4db4471f49
INav_EKF: accept baro_glitch in constructor
...
Required so it can create an InertialNav object
2014-07-28 22:16:19 +09:00
Randy Mackay
322f527c4f
InertialNav: skip baro updates when glitching
...
Also resets inertial nav alt estimate once glitch clears
2014-07-28 22:16:19 +09:00
Andrew Tridgell
c1650eed7a
AP_InertialNav: fixed example build
2014-07-25 17:54:37 +10:00
Randy Mackay
6f60ce3d6e
Inav_EKF: init member and remove hal reference to reduce compiler warnings
2014-07-16 14:40:39 +09:00
Randy Mackay
e27ff75a71
AP_InertialNav: remove virtual qualifier from error_count
2014-07-16 14:38:50 +09:00
Randy Mackay
9e2cd93b2d
AP_InertialNav: init members to reduce compiler warnings
2014-07-16 14:38:46 +09:00
Randy Mackay
1e888e5c34
AP_InertialNav: append f to floating point constants
...
Reduces some compiler warnings
2014-07-16 14:38:43 +09:00
lthall
4072fcd99e
Inav: use horizontal body frame for accel corrections
2014-06-21 14:58:59 +09:00
Ju1ien
28ce66f314
INav: clear historic z-axis position estimate when set_altitude called
2014-06-06 18:42:42 +09:00
Hug0
6b0d5f9770
AP_InertialNav: fix pos error degradation rate
...
degrate position_error to 10% over 2 seconds (assumes 5hz update rate)
must be *0.7943 instead of 0.7934
2014-05-08 23:09:39 +09:00
Randy Mackay
0e065e4894
AP_InertialNav: get_velocity_xy const
2014-04-21 21:59:38 +09:00
Randy Mackay
2ddc414f4d
InertialNav: replace safe_sqrt with pythagorous2
2014-04-01 20:43:53 +09:00
Andrew Tridgell
bc0c9ad6d5
AP_InertialNav: fixed example build
2014-04-01 06:38:25 +11:00
Andrew Tridgell
d04d33a02d
AP_InertialNav: convert to new GPS API
2014-04-01 06:38:24 +11:00
Andrew Tridgell
271ba3a6bc
AP_InertialNav: fixed example build
2014-03-24 12:03:47 +11:00
Andrew Tridgell
ba8c4b86a0
AP_InertialNav: fixed example build
2014-03-19 12:14:08 +09:00
Randy Mackay
ae59bef6d1
AC_INav: fix example sketch
2014-02-15 06:09:08 +11:00
Andrew Tridgell
a88212eb7a
AP_InertialNav: fixed EKF version for new AHRS API
2014-02-15 05:48:24 +11:00
Andrew Tridgell
c995f994c5
AP_InertialNav: make some functions protected
2014-02-15 05:48:18 +11:00
Andrew Tridgell
47f541e143
AP_InertialNav: implement InertialNav in terms of AHRS when available
2014-02-15 05:48:16 +11:00
Andrew Tridgell
658110dd8c
AP_InertialNav: added AP_InertialNav_NavEKF wrapper class
2014-02-15 05:48:15 +11:00
Andrew Tridgell
99097d80a1
AP_InertialNav: use AHRS home location
2014-02-15 05:48:15 +11:00
Andrew Tridgell
cfc612b251
AP_InertialNav: use references to AHRS and baro
2014-02-15 05:29:45 +11:00
Andrew Tridgell
4671aaa367
AP_InertialNav: fixed example build
2013-12-17 11:51:37 +11:00
Randy Mackay
dacca04b21
INav: record error_count when GPS msg is late
2013-11-21 17:02:02 +09:00
Randy Mackay
a147eeb1e3
INav: degrade pos error slowly on loss of GPS
...
When GPS message is late by 100ms or we are glitching, degrade the GPS
vs inertial nav position error to 10% over 2 seconds instead of
immediately setting it to zero. This avoids jumpy position estimates
when the GPS misses an update
2013-11-18 23:19:57 +09:00
Andrew Tridgell
55b7903456
AP_InertialNav: update for AHRS API changes
2013-11-04 21:21:42 +11:00
Jason Short
1c7d9f43c1
InertialNav: fix for get_velocity_xy
...
forgot to sq
2013-11-03 10:14:01 +09:00
Jason Short
2de6dbd3d8
InertialNav: added get_velocity_xy
2013-11-02 21:34:45 +09:00
Andrew Tridgell
c5b36ef3d2
AP_InertialNav: fixed example build
2013-10-27 22:11:59 +11:00
Randy Mackay
4348a272bf
AP_InertialNav: remove unused velocity fns
...
remove get_longitude_velocity and get_latitude_velocity
2013-10-27 13:41:55 +09:00
Randy Mackay
8fc16d5cdf
AP_InertialNav: add comments, make ahrs const from neurocopter
...
These fixes are provided by neurocopter but with my name because of
merge conflicts
_position and _velocity vectors added to save some floating point add
operations
unused reference to ins in constructor removed
2013-10-27 13:41:50 +09:00
Randy Mackay
e23135faa1
AP_InertialNav: bug fix for gps delay handling
2013-10-27 13:41:40 +09:00
Tobias
cfaaf4b1e7
AP_InertialNav: rename AP_Buffer functions, fix delay handling bug
...
The most recent value was used instead of the intended historical value
as indicated by the comment.
2013-10-27 13:41:38 +09:00
Tobias
6c825eace2
AP_InertialNav: move variable definitions to elide unused default
...
construction of objects (saves 106 bytes)
2013-10-27 13:41:32 +09:00
Tobias
c9f68fcd1b
AP_InertialNav: remove unused AP_InertialSensor pointer
2013-10-27 13:39:10 +09:00