Peter Barker
4c7f4514cd
AP_Module: tidy includes
3 years ago
Peter Barker
3f8fe9d3ef
AP_Module: rename AP_AHRS::get_position to get_location
3 years ago
Peter Barker
522c05fcc9
AP_Module: fix examples for AP_AHRS_DCM becoming backend
3 years ago
Peter Barker
da11b6be77
AP_Module: rename for AHRS restructuring
4 years ago
Pierre Kancir
8b1d35bc76
AP_Module: fix example
4 years ago
Pierre Kancir
aaf7504ac8
AP_Module: fix example
4 years ago
Michael du Breuil
cfa54d4ca4
AP_Module: update example baro include
6 years ago
Michael du Breuil
459e6704b9
AP_Module: Fix AP_GPS.h include
6 years ago
Michael du Breuil
dddb1e6a58
AP_Module: Remove unused ADC include
7 years ago
Lucas De Marchi
8114db3fdc
AP_Module: use ins singleton
7 years ago
Peter Barker
24ad36a7a3
AP_Module: use baro singleton
7 years ago
Andrew Tridgell
61892036f8
AP_Module: fixed AP_MODULE_SUPPORTED defines
7 years ago
bugobliterator
be4e9f27f7
AP_Module: restrict module related headers to systems that can use it
7 years ago
Peter Barker
e584a90c81
AP_Module: AP_AHRS no longer requires GPS in constructor
7 years ago
Andrew Tridgell
c72c1de99e
AP_Module: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
7 years ago
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
7 years ago
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
7 years ago
Peter Barker
9c2a2a3d94
AP_Module: correct example
8 years ago
Pierre Kancir
0be022694a
AP_Mount: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Michael du Breuil
95edf6ab66
AP_Module: Update for AHRS NED changes
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Andrew Tridgell
24d3399fd5
AP_Module: report loaded hooks on startup
...
useful for debugging
8 years ago
Lucas De Marchi
ae53920e5b
build: don't build examples with old build system
...
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file. Having the makefiles
there is misleading since people try to build and realize the build is
broken.
8 years ago
Andrew Tridgell
95db9f61cc
AP_Module: added velocity_ned to AHRS state
9 years ago
Andrew Tridgell
c0d21c5730
AP_Module: added gyro_bias to AHRS structure
9 years ago
Andrew Tridgell
902daff3a3
AP_Module: added FSYNC state to raw accel report
9 years ago
Andrew Tridgell
7d48b25207
AP_Module: use ifdef in function, not caller
...
suggestion by Lucas
9 years ago
Andrew Tridgell
5ce472ab8a
AP_Module: changed hook prefix to ap_hook_
9 years ago
Andrew Tridgell
e8d8ca5eef
AP_Module: updated example module
9 years ago
Andrew Tridgell
f29323871f
AP_Module: added default module directory
9 years ago
Andrew Tridgell
6b6a02e67e
AP_Module: also allow export of raw gyro and accel samples
...
allows for oversampling in image correction
9 years ago
Andrew Tridgell
7a2d67bde9
AP_Module: added AP_MODULE_SUPPORTED define
9 years ago
Andrew Tridgell
bd00beaf99
AP_Module: added external module hook library
...
this allows for external modules to be called at defined hook
locations in ArduPilot. The initial example is a module that consumes
the AHRS state, but this can be generalised to a wide variety of hooks
9 years ago