Commit Graph

51 Commits

Author SHA1 Message Date
Gautier Hattenberger 1e14fd5bde [modules] clean some remaining traces of subsystems 2021-11-13 00:48:14 +01:00
Gautier Hattenberger 4c1785d00b [cleaning] drop support of LPC21 boards and related conf (#2695) 2021-04-14 14:05:17 +02:00
Hector Garcia de Marina 2289512bbb Merge pull request #2447 from enacuavlab/enac_student_projects-integration
Enac student projects integration
2019-07-08 18:19:00 +02:00
Gautier Hattenberger 69df254c26 [ins] INS invariant filter can use GPS heading instead of magneto 2019-07-01 13:14:21 +02:00
Gautier Hattenberger c8dba29208 [fix] typo and body_accel update 2019-07-01 13:04:44 +02:00
Felix Ruess 1da855f408 [ahrs] move settings to modules 2016-09-20 14:12:32 +02:00
Felix Ruess 17d32772c0 [imu] convert imu subsystems to modules (#1788)
* [imu] convert imu subsystems to modules

Also
- get rid of explicit imu init|event|periodic calls in main
- each imu implementation has their own imu_x_init/event/periodic

* [imu] fix some imu modules

* [imu] fix bad paths

* [imu] add imu_common module that every implementation autoloads

and put body_to_imu settings in imu_common module

* [imu] fix imu_ardrone2

* [conf] add imu_common settings module in conf_example and conf_tests
2016-08-12 12:02:38 +02:00
Felix Ruess b6186c9a21 [settings] ahrs settings ony for targets ap|nps|test_ahrs 2015-11-26 13:45:12 +01:00
Gautier Hattenberger dad944454b [conf] fix errors in ENAC conf 2015-10-05 14:45:44 +02:00
Felix Ruess 797de0b937 [conf] make more settings persistent 2015-09-21 17:34:59 +02:00
Felix Ruess 24013a14ae [conf] update targets for some settings 2015-09-21 16:16:39 +02:00
Felix Ruess 5102c466c5 [settings] possibility to exclude targets 2015-07-25 16:32:46 +02:00
Gautier Hattenberger d5b8e4e86d add targets to body_to_imu settings 2015-07-25 16:32:46 +02:00
Gautier Hattenberger f2fa1ecbd9 [ahrs] add (yet another) AHRS based on an invariant filter 2015-06-18 13:13:48 +02:00
Felix Ruess 09331d09e7 [settings] ahrs_secondary: more descriptive values 2015-03-10 17:26:47 +01:00
Felix Ruess d25486c579 [ahrs] dual ahrs working with icq and mlkf 2015-03-10 17:26:46 +01:00
Felix Ruess 221788281a [ins] start converting float_invariant 2015-03-10 17:26:44 +01:00
Felix Ruess 2f22a416c4 [conf] fix ahrs_int_cmpl_euler settings 2015-01-19 22:42:19 +01:00
Felix Ruess 1d80eb2d7b [ahrs] start using ABI for imu data 2014-10-20 23:56:16 +02:00
Felix Ruess 0df0aefe48 [ahrs] convert float_cmpl 2014-10-13 20:44:29 +02:00
Felix Ruess 4693db1ec9 [ahrs] int_cmpl_quat refactor
- rename ahrs_impl -> ahrs_icq
- ahrs_x functions are ahrs_icq_x
- pass imu data as args
- register function, might be removed again...
2014-10-13 20:44:29 +02:00
Gautier Hattenberger 83403a0ba3 [settings] move settings to module files and remove old files 2014-09-30 19:19:47 +02:00
Felix Ruess 85c72a7644 [imu] imu_to_body settings: combine set current and reset in one 2014-08-03 19:39:13 +02:00
Felix Ruess 519c4fd588 [settings] rename imu_to_body to body_to_imu.xml 2014-08-02 21:14:14 +02:00
Felix Ruess 45002df9f7 [imu] possibily to set imu_to_body to current roll/pitch and reset to airframe values 2014-08-02 21:01:43 +02:00
Felix Ruess c78a0c5eaa [settings] add settings to change BODY_TO_IMU 2014-08-02 20:19:05 +02:00
Gautier Hattenberger e8ac068976 [ins] prevent drifting of the ins_invariant while waiting first gps data 2014-06-19 10:50:15 +02:00
Gautier Hattenberger e138f43b44 [sonar] fix some sonar related issues 2014-03-13 17:46:21 +01:00
Felix Ruess 7a0cf03a79 [ins] alt_float: remove ALT_KALMAN_ENABLED
There is really no benefit in keeping the ALT_KALMAN_ENABLED define (and setting it to FALSE by default).
If USE_BAROMETER alt_kalman is always enabled and if you don't want to use altitude/climb_rate filtering,
use the ins type "gps_passthrough".
Now if you use the alt_float INS, it's always enabled (which is what most people expect anyway).

In theory it was possible to disable the alt_kalman in flight before (if ! USE_BAROMETER),
but I very much doubt that was used since there also was no settings file for it.

closes #594
2013-12-17 11:30:40 +01:00
Gautier Hattenberger 4978164027 [ins] add new ins based on invariant filter
- experimental invariant filter for complet ins
- tested on fixed-wing only, but should work on rotorcraft as well
- generic vector and rung-kutta library
- fix alt init in utm local frame
- settable channel order on mag hmc58xx module
2013-12-05 14:49:09 +01:00
Felix Ruess 84cf87cfa5 [ahrs] float_mlkf: configurable mag measurement noise 2013-10-31 17:34:46 +01:00
Felix Ruess 1235c7d982 [conf] add ahrs_float_cmpl settings file 2013-09-06 19:46:16 +02:00
Felix Ruess e31901900f [ahrs] configurable gravity_heuristic_factor
if set to zero, gravity heuristic is disabled
- removed AHRS_USE_GRAVITY_UPDATE_NORM_HEURISTIC
2013-09-06 19:04:15 +02:00
Felix Ruess 61b4507917 [ahrs] int_cmpl_quat: precompute some gains for efficiency 2013-09-04 14:23:30 +02:00
Felix Ruess db2e73031e Merge branch 'master' into ahrs_int_cmpl_quat_correction_scaling
for testing and conflict resolution
2013-08-29 10:31:32 +02:00
Felix Ruess bfb0520502 [ahrs] remove old ekf/lkf algos 2013-08-19 16:55:17 +02:00
Loic Drumettaz 347d69d63f [ahrs] int_cmpl_quat: feedback_frac corrected
- feedback_frac for both accel and mag correction
- omega and zeta  nominal and min/max settings adjusted
2013-04-13 12:20:52 +02:00
Loic Drumettaz f39cc5c25b [ahrs] int_cmpl_quat: physical units
- accel and mag cutt-off frequency and damping in physical units
- accel weight sent to telemetry
2013-03-29 18:28:34 +01:00
Loic Drumettaz f7dc61a764 scaling rate with weight, scaling bias with weight*weight. accel filter parameters are now cut-off frequency and damping instead of gains. Defaults values set to 100 s response time. 2013-03-08 17:39:47 +01:00
Felix Ruess fa8c283d63 [ahrs] int_cmpl_quat: some more adjustable correction gains
not tested in flight yet...
2013-03-05 12:06:58 +01:00
Felix Ruess 5545851d20 [ahrs] int_cmpl_quat: scale the correction in update_accel with AHRS_CORRECT_FREQUENCY
Allow tuning of the rate and bias gains.
Scaling correction by AHRS_CORRECT_FREQUENCY should also give you
roughly correct tuning for 100Hz fixedwings, see #240.
2013-03-05 12:06:58 +01:00
Felix Ruess e84e488bf9 [rotorcraft] settings for ahrs_int_cmpl_quat (gravity_heuristic), send gyro bias, update fraser to use gravity heuristic 2013-01-24 19:18:17 +01:00
Felix Ruess 3684536f97 [fixedwing] removed ALT_KALMAN, not needed with ins_alt_float anymore
like before:
* the kalman filter is still disabled by default (unless a baro is used)
* to enable define ALT_KALMAN_ENABLED
2012-09-19 19:17:06 +02:00
Gautier Hattenberger a320f8e08e [state] finally getting rid of old estimator 2012-08-23 17:56:44 +02:00
Christophe De Wagter b845da2bb5 Total Energy Control for Fixedwing 2012-08-04 14:32:41 +02:00
Felix Ruess b189804be9 Merge fixes from branch 'v3.9'
* fix SaveSettings to deal with units properly: #238
* implicit unit conversions are now described in conf/units.mxl
* fix aspirin2 driver: only update on new measurements: #239
* fix order of message fields in the server
2012-07-20 02:07:07 +02:00
Gautier Hattenberger 44801a2de6 [units] automatic conversion handles code and display 2012-07-18 19:28:54 +02:00
Gautier Hattenberger 82ce46ee2d [ins] extended ins filter
This ins is using a vertical filter using the sonar in a better way, by
estimating the baro offset
It is probably not wise to use it without sonar for now, but using the
gps should be a good idea
The world is assumed to be flat here...
2012-06-21 19:22:37 +02:00
Gautier Hattenberger 09490b374c [conf] update basic settings files for fw and rotorcraft 2012-05-08 00:21:29 +02:00
Felix Ruess a630897061 [conf] more settings cleanup 2012-05-03 22:01:55 +02:00