Ju1ien
28ce66f314
INav: clear historic z-axis position estimate when set_altitude called
11 years ago
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
11 years ago
Randy Mackay
0e065e4894
AP_InertialNav: get_velocity_xy const
11 years ago
Randy Mackay
2ddc414f4d
InertialNav: replace safe_sqrt with pythagorous2
11 years ago
Andrew Tridgell
d04d33a02d
AP_InertialNav: convert to new GPS API
11 years ago
Andrew Tridgell
99097d80a1
AP_InertialNav: use AHRS home location
11 years ago
Andrew Tridgell
cfc612b251
AP_InertialNav: use references to AHRS and baro
11 years ago
Randy Mackay
dacca04b21
INav: record error_count when GPS msg is late
11 years ago
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
11 years ago
Jason Short
1c7d9f43c1
InertialNav: fix for get_velocity_xy
...
forgot to sq
11 years ago
Jason Short
2de6dbd3d8
InertialNav: added get_velocity_xy
11 years ago
Randy Mackay
4348a272bf
AP_InertialNav: remove unused velocity fns
...
remove get_longitude_velocity and get_latitude_velocity
11 years ago
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
11 years ago
Randy Mackay
e23135faa1
AP_InertialNav: bug fix for gps delay handling
11 years ago
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.
11 years ago
Tobias
6c825eace2
AP_InertialNav: move variable definitions to elide unused default
...
construction of objects (saves 106 bytes)
11 years ago
Tobias
cbff58e2ed
AP_InertialNav: add comments, rename incorrectly named member,
...
initialize member, remove redundant assignment
adjustments to original commit by randy
11 years ago
Andrew Tridgell
19ba07a3f9
AP_InertialNav: updates for new GPS API
11 years ago
Randy Mackay
262fcb301a
InertialNav: rename set_current_position to set_home_position
12 years ago
Randy Mackay
81dd4f8b0c
InertialNav: integrate GPS glitch detection
12 years ago
Andrew Tridgell
6b5ee80b70
AP_InertialNav: fix for new AP_Math API
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Randy Mackay
30faf87715
InertialNav: use AP_Math's longitude_scale
12 years ago
Randy Mackay
c20eac7a70
AP_InertialNav: use standard LATLON_TO_CM, DEG_TO_RAD constants
12 years ago
Andrew Tridgell
1849aca0e9
AP_InertialNav: optimise some multiplies
12 years ago
Andrew Tridgell
3d325043b0
AP_InertialNav: make some more functions const
12 years ago
Andrew Tridgell
08c57c2587
AP_InertialNav: reduce number of multiplies
12 years ago
Randy Mackay
777c6a308e
AP_InertialNav: use shared GRAVITY_MSS constant
12 years ago
Randy Mackay
38e81adae0
InertialNav: remove unnecessary "virtual" from function definitions
...
This saves about 30bytes of RAM
12 years ago
Randy Mackay
c9571ad543
InertialNav: remove 3sec limit on position est after losing GPS
12 years ago
rmackay9
6f1035debc
InertialNav: added 300ms timeout after which error from gps heading will be set to zero
12 years ago
Jonathan Challinger
6565d83e73
InertialNav: Fixed signs, remove body-frame rotation, apply correction at 100hz.
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
Randy Mackay
109b1069d8
AP_InertialNav: added constraint to how large local accelerometer offset corrections can become
12 years ago
rmackay9
55e6544e64
AP_InertialNav: added parameter descriptions
12 years ago
rmackay9
92e271e517
AP_InertialNav: increase baro delay to 0.5 sec (was 0.2sec) to allow slower baro updates on APM1
12 years ago
rmackay9
af4d998697
AP_InertialNav: correct lat/lon to cm
12 years ago
rmackay9
37b56662bd
AP_InertialNav: Jason's bug fix to inertial nav velocity and position calculations
12 years ago
rmackay9
557f4e65de
AP_InertialNav: small performance improvement by replacing mul_transpose with direct multiplication of Z axis accel correction to specific elements of dcm
12 years ago
rmackay9
e9fa5dec0f
AP_InertialNav: make use of ahrs library's get_accel_ef method to save some cpu cycles
12 years ago
Pat Hickey
af4806666f
AP_InertialNav: ported to AP_HAL
12 years ago
rmackay9
154e3c33f7
ArduCopter, AP_InertialNav: consolidated ThirdOrderComplementaryFilter into AP_InertialNav to save about 200bytes of RAM
12 years ago
rmackay9
b13264c884
AP_InertialNav: reanme AP_InertialNav and ThirdOrderCompFilter classes to resolve desktop build compiler errors
12 years ago
rmackay9
7f190b8494
AP_InertialNav: first implementation of inertial nav library
12 years ago