Peter Barker
e19ae3ec01
AP_Module: remove use of AP_AHRS from most headers
...
don't need to know the details, just that it is a class
2024-09-03 10:35:54 +10:00
Andrew Tridgell
3912c6a5e0
AP_Module: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
fa12e08abf
AP_Module: stop passing serial manager to GPS init
...
it can get this via the singleton
2024-03-19 07:28:55 +11:00
Peter Barker
bcf6578d56
AP_Module: make AHRS attitude member variables private
2024-01-14 12:47:47 +11:00
Peter Barker
19973f783b
AP_Module: correct ModuleTest example for lack of GCS object
2022-08-19 18:34:19 +10:00
Peter Barker
4c7f4514cd
AP_Module: tidy includes
2022-05-03 09:14:58 +10:00
Peter Barker
3f8fe9d3ef
AP_Module: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Peter Barker
522c05fcc9
AP_Module: fix examples for AP_AHRS_DCM becoming backend
2021-08-31 14:28:53 +10:00
Peter Barker
da11b6be77
AP_Module: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Pierre Kancir
8b1d35bc76
AP_Module: fix example
2021-03-03 18:07:38 +11:00
Pierre Kancir
aaf7504ac8
AP_Module: fix example
2021-03-03 18:07:38 +11:00
Michael du Breuil
cfa54d4ca4
AP_Module: update example baro include
2019-06-27 14:56:21 +10:00
Michael du Breuil
459e6704b9
AP_Module: Fix AP_GPS.h include
2019-06-18 10:02:05 +10:00
Michael du Breuil
dddb1e6a58
AP_Module: Remove unused ADC include
2018-07-17 09:29:50 +10:00
Lucas De Marchi
8114db3fdc
AP_Module: use ins singleton
2018-03-16 00:37:35 -07:00
Peter Barker
24ad36a7a3
AP_Module: use baro singleton
2018-03-08 21:20:05 -08:00
Andrew Tridgell
61892036f8
AP_Module: fixed AP_MODULE_SUPPORTED defines
2018-02-10 10:50:22 +11:00
bugobliterator
be4e9f27f7
AP_Module: restrict module related headers to systems that can use it
2018-01-15 11:46:02 +11:00
Peter Barker
e584a90c81
AP_Module: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
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
2017-12-14 08:12:28 +11:00
Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
2017-09-26 03:01:21 +01:00
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
2017-09-26 03:01:21 +01:00
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
2017-09-26 03:01:21 +01:00
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
2017-09-26 03:01:21 +01:00
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
2017-09-26 03:01:21 +01:00
Peter Barker
9c2a2a3d94
AP_Module: correct example
2017-06-29 15:43:39 +01:00
Pierre Kancir
0be022694a
AP_Mount: example fix travis warning
...
missing function declaration
implicit cast
some style fix
2017-04-13 19:56:16 +01:00
Michael du Breuil
95edf6ab66
AP_Module: Update for AHRS NED changes
2017-02-13 09:23:14 +11:00
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.
2016-11-02 16:04:47 -02:00
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.
2016-10-24 09:42:01 -02:00
Andrew Tridgell
24d3399fd5
AP_Module: report loaded hooks on startup
...
useful for debugging
2016-10-17 09:31:51 +11:00
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.
2016-10-11 13:03:08 +11:00
Andrew Tridgell
95db9f61cc
AP_Module: added velocity_ned to AHRS state
2016-09-20 17:34:39 +10:00
Andrew Tridgell
c0d21c5730
AP_Module: added gyro_bias to AHRS structure
2016-09-05 12:56:52 +10:00
Andrew Tridgell
902daff3a3
AP_Module: added FSYNC state to raw accel report
2016-09-05 12:55:52 +10:00
Andrew Tridgell
7d48b25207
AP_Module: use ifdef in function, not caller
...
suggestion by Lucas
2016-07-14 13:39:48 +10:00
Andrew Tridgell
5ce472ab8a
AP_Module: changed hook prefix to ap_hook_
2016-07-14 13:39:47 +10:00
Andrew Tridgell
e8d8ca5eef
AP_Module: updated example module
2016-07-14 13:39:47 +10:00
Andrew Tridgell
f29323871f
AP_Module: added default module directory
2016-07-14 13:39:47 +10:00
Andrew Tridgell
6b6a02e67e
AP_Module: also allow export of raw gyro and accel samples
...
allows for oversampling in image correction
2016-07-14 13:39:46 +10:00
Andrew Tridgell
7a2d67bde9
AP_Module: added AP_MODULE_SUPPORTED define
2016-07-14 13:39:46 +10:00
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
2016-07-14 13:39:46 +10:00