Commit Graph

9 Commits

Author SHA1 Message Date
Gautier Hattenberger dfd8e93927 State interface input filter (#3409)
* [generator] generate unique ID and names table for modules
* [state] add accessors for the state origin
* [state] don't access directly to state origin, use getters
* [state] filter inputs with module ID
* [ahrs] convert AHRS modules to state input filter
- selection of ahrs with settings from each module
- init functions for each ahrs modules
- remove old chimu
* update unit test
* [ins] decoupled INS implementation
To allow multiple INS at the same time:
- remove weak functions from ins.c
- remove the INS_TYPE_H define
- use ABI message to trigger INS reset
* [state] protect for c++
2024-12-03 22:34:27 +01:00
Gautier Hattenberger f7e16fce9b [modules] move INS from subsystems to modules 2021-11-13 00:48:14 +01:00
Gautier Hattenberger d02ec5ba98 [modules] update modules XML for proper dependcies and tasks 2021-07-27 13:34:23 +02:00
Gautier Hattenberger e4d9e10492 [modules][ocaml] implement module dependency (#2669)
- support depends, conflicts and provides nodes, all under a 'dep' node
- autoload are kept for now and are not moved yet
- modules are updated for new dep format
- it is now required that module's name and filename are the same
2021-03-16 17:47:34 +01:00
Gautier Hattenberger 494e3f3ad9 [tests] add a compilation test node to modules (#2653)
When adding a test node to a makefile section, with required compilation
flags, include and other options, all the files (not arch dependent
files) can be compiled with a TAP compatible program, included in the
standard tests of the CI servers.
Not all module's XML files are converted, but a large part of the most
important parts are already covered. More will be added later. The
number of tested airframes (full compilation of all targets) have been
reduced to speed the CI compile time but still covers the relevant
architecture and boards.
The main benefit is that the overall coverage is already better than
before as previous test aircraft were compiling more or less the same
part of the airborne code, while this new mechanism is more efficient to
test modules not included in any config.
2021-02-08 17:24:19 +01:00
Kirk Scheper b9d3ea4ac3 added agl estimator when assuming non flat ground (#1910)
* added agl estimator when assuming non flat ground

* add documentation and expand message

* update pprzlink
2018-07-25 23:06:47 +02:00
Michal Podhradsky ff265a57c1 [vff_extended] Make process and measurement noise adjustable via settings (for inflight tuning) 2016-11-15 15:30:15 -08:00
Felix Ruess b3231db3a3 [ins] remove unused INS_SONAR_OFFSET define
this was actually removed when sonar was chaned to use ABI messages...
potential offsets should be applied in each sonar sensor separately
2016-10-01 22:09:52 +02:00
Felix Ruess b97e23bdb3 [ins] convert ins subsystems to modules (#1740)
and get rid of ins calls in main and register functions
2016-06-25 17:45:30 +02:00