Peter Barker
98eca63201
AP_AHRS: var_info is now in GCS_MAVLINK_Parameters
6 years ago
Peter Barker
c3bf090815
AP_AHRS: rangefinder no longer takes SerialManager in constructor
6 years ago
Michael du Breuil
1226eb825a
AP_AHRS: Reduce scope of AP_Baro.h
6 years ago
Michael du Breuil
4aa33bec49
AP_AHRS: Remove AP_GPS.h from AP_AHRS.h
6 years ago
Peter Barker
0c24810a48
AP_AHRS: fix example
6 years ago
Pierre Kancir
ff5cedc49f
AP_AHRS: add missing include
6 years ago
Michael du Breuil
02b4379b6c
AP_AHRS: Fix example rangefinder init
6 years ago
Peter Barker
4fa04e730b
AP_AHRS: examples: compass init never fails
6 years ago
Michael du Breuil
65df5c3ff6
AP_AHRS: Remove unused ADC include
7 years ago
Lucas De Marchi
517f71c183
AP_AHRS: use ins singleton
7 years ago
Peter Barker
024b29858d
AP_AHRS: use baro singleton
7 years ago
Peter Barker
e15442355a
AP_AHRS: use GPS singleton
7 years ago
Andrew Tridgell
0ccaa5bcba
AP_AHRS: 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
beabae6a98
global: use static method to construct AP_AHRS_NavEKF
7 years ago
Lucas De Marchi
c9fbf7b722
global: use static method to construct AP_NavEKF3
7 years ago
Lucas De Marchi
e2fe36357a
global: use static method to construct AP_NavEKF2
7 years ago
Lucas De Marchi
69b6d95cb2
global: use static method to construct AP_Board_Config{,_CAN}
7 years ago
Lucas De Marchi
72fd2d6f05
global: use static method to construct AP_SerialManager
7 years ago
Lucas De Marchi
40fd1b346c
global: remove rangefinder from AP_AHRS_NavEKF
...
AP_AHRS_NavEKF doesn't use the rangefinder, it just delegates the
calls to the right estimator.
For libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp the initialization
order has also been modified to match the order on vehicles. It's more
correct since it passes a reference when EKF2/EKF3 are already
constructed, while thos constructors use a pointer. Ideally these
should be moved to an init() method though, or use a get_instance().
7 years ago
Lucas De Marchi
9027a55696
global: use static method to construct RangeFinder
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
c1a957fbf3
global: use static method to construct Compass
7 years ago
Lucas De Marchi
91feec0e14
global: use static method to construct AP_Baro
7 years ago
Peter Barker
3e0ed6deae
AP_AHRS: Use GCS_Dummy GCS singleton
8 years ago
Peter Barker
12b4f2c4b6
AP_AHRS: correct example
8 years ago
Pierre Kancir
fede727d38
AP_AHRS: example fix travis warning
...
missing function declaration
implicit cast
some style fix
8 years ago
Randy Mackay
a74833a04a
AP_AHRS: fix example sketch
8 years ago
Peter Barker
35f876f853
AP_AHRS: examples: correct AHRS_Test
...
This is required so gcs() returns an object
8 years ago
Andrew Tridgell
0870e02584
AP_AHRS: fixed example build
8 years ago
jinchengde@gmail.com
efd0f0b832
modify NavEKF2 for AHRS Test
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
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
Andy Little
0d113b265c
Examples: fix examples for px4
...
The change to use AP_BoardConfig messed up the examples. Here are some
updated but there are plenty more to do.
8 years ago
Lucas De Marchi
0ccd2de12b
AP_AHRS: fix use of undefined macro
...
../../libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp:63:5: warning: "WITH_GPS" is not defined [-Wundef]
#if WITH_GPS
^
g_gps was not even declared so remove it.
9 years ago
Gustavo Jose de Sousa
c2e3f05dbf
waf: ardupilotwaf: prefix build context methods with ap_
...
It helps to distinguish between things from waf and things from ardupilotwaf.
9 years ago
Gustavo Jose de Sousa
3d22490397
waf: examples: use methods from bld instead of ardupilotwaf
9 years ago
Gustavo Jose de Sousa
d281067bcc
waf: make example binaries be placed in 'examples' dir
...
This commit makes examples' wscripts use ardupilotwaf.example() instead of
ardupilot.program().
9 years ago
Jonathan Challinger
5cb7331095
AP_AHRS: fix example build
9 years ago
Lucas De Marchi
a096703b06
Global: don't link with AP_Progmem
...
AP_Progmem is not used anymore.
9 years ago
Andrew Tridgell
6a5c5969fa
AP_AHRS: fixed example build
9 years ago
Jonathan Challinger
6682b27456
AP_AHRS: rename get_dcm_matrix to get_rotation_body_to_ned
9 years ago
Lucas De Marchi
2b26a2eebe
AP_AHRS: remove unused AP_ADC_AnalogSource
9 years ago
Caio Marcelo de Oliveira Filho
6e7b73610d
waf: add waf support
9 years ago
Caio Marcelo de Oliveira Filho
3a17c858e3
AP_AHRS: use millis/micros/panic functions
9 years ago
Andrew Tridgell
8f4ce7f20b
build: removed all nocore.inoflag files
...
these were APM2 specific
9 years ago
Lucas De Marchi
124937ab61
AP_AHRS: remove checks for HAL_BOARD_APM2 and HAL_BOARD_APM1
9 years ago
Lucas De Marchi
20c6ffc5e3
Replace use of UARTDriver::printf_P() with UARTDriver::printf()
...
This also starts to show warnings on places that were already using
wrong printf format strings.
9 years ago