Peter Barker
2b36ec618f
Tracker: AP_AHRS no longer requires GPS in constructor
7 years ago
Andrew Tridgell
a8a715d673
Tracker: 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
Peter Barker
3f7eb69327
Tracker: tighten type of result variable in handleMessage
7 years ago
Andrew Tridgell
958a665334
Tracker: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
7 years ago
Peter Barker
ca72b20e04
Tracker: correct sending of servo outputs
7 years ago
Peter Barker
33feeb1c11
Tracker: add support for SYS_STATUS sending, battery
7 years ago
Peter Barker
4e39496046
Tracker: support for units on fields
7 years ago
Peter Barker
a6bda813f1
Tracker: use gps singleton for GCS functions
7 years ago
Peter Barker
b59c272996
Tracker: call ins's periodic function
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
53c82b4aaf
global: use static method to construct DataFlash_Class
7 years ago
Lucas De Marchi
62ac0ab8aa
global: use static method to construct AP_Notify
7 years ago
Lucas De Marchi
de680dac5b
global: use static method to construct AP_Scheduler
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
Lucas De Marchi
9db5d7991c
AntennaTracker: protect version.h from inclusion and use ap_version.h
7 years ago
Lucas De Marchi
efdc7daf96
AntennaTracker: do not include version.h/ap_version.h
...
The interface provided by each vehicle should be used to get the
version. The user of the macro has been converted to use that interface.
7 years ago
Lucas De Marchi
ecd204c45c
AntennaTracker: move version to a static member
...
We should never include version.h or ap_version.h headers directly
on a header since this will trigger a complete rebuild of the
codebase when we commit to the repository. The ap_version.h header
is auto-generated containing information from the current commit.
If we include it in a header, every other file that ends up including
that header (directly or indirectly) will need to be rebuilt. No
ccache's cache beats having to do nothing when the header is just
not included.
version.h contains information that is kept on a struct inside
each vehicle. Rather than using the macros from each vehicle,
the getter should be preferred, which returns an AP_FWVersion
referente.
7 years ago
Peter Barker
c090818d5e
Tracker: move handling of SET_GPS_GLOBAL_ORIGIN up
7 years ago
Randy Mackay
d45eb33980
Tracker: support SET_GPS_GLOBAL_ORIGIN message
7 years ago
Peter Barker
962f237db4
Tracker: remove old DO_SET_MODE support
...
We no longer support setting modes except via custom modes
7 years ago
Peter Barker
a2132f7b72
Tracker: handle param_request_list in GCS_MAVLINK base class
8 years ago
Peter Barker
f60e4bcea2
Tracker: handle param_set in GCS_MAVLINK base class
8 years ago
Peter Barker
98f9e744b0
Tracker: move send_autopilot_request calls up to GCS base class
8 years ago
Peter Barker
0177e959c9
Tracker: add constant structure holding firmware version
8 years ago
Peter Barker
6f11c80f56
Tracker: add ArduSub to list of SYSID_SW_TYPE
8 years ago
Randy Mackay
813a8c8f99
Tracker: integrate simpler Log_Write_EKF
8 years ago
Peter Barker
cdb6c083a3
Tracker: move serial_control case to base class
8 years ago
Peter Barker
947bae2f86
Tracker: use GCS_MAVLINK subclasses to handle set_mode
8 years ago
Michael du Breuil
105ebd6fb0
AntennaTracker: Reject MAV_CMD_DO_FLIGHTTERMINATION
8 years ago
Peter Barker
90948bef05
Tracker: remove CLI
8 years ago
Peter Barker
f78d50215c
Tracker: add new dummy function to avoid linking the AP_Camera
8 years ago
Peter Barker
f27eeeff56
Tracker: send gps messages as separate queued messages
8 years ago
Peter Barker
7e5d90f446
Tracker: move sending of gps_raw up
8 years ago
Peter Barker
1532e30a5b
Tracker: use new retry_deferred method
8 years ago
Peter Barker
33858187ef
Tracker: move try_send_message queued_param_send up
8 years ago
Peter Barker
e08b87763e
Tracker: move try_send_message send_hwstatus up
8 years ago
Peter Barker
de0c6d7ca5
Tracker: move try_send_message mission handling up
8 years ago
Peter Barker
5b4d968887
Tracker: move try_send_message compass message handling up
8 years ago
Peter Barker
4c11f07a02
Tracker: move common mavlink camera handling up
8 years ago
Peter Barker
4ed7f6a769
Tracker: move gps inject handling up to GCS_MAVLINK
8 years ago