Commit Graph

119 Commits

Author SHA1 Message Date
Peter Barker c49c638d41 AntennaTracker: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs.  Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Peter Barker 7d23d37630 Tracker: fix sim_vehicle.py with --tracker option 2022-03-16 18:05:49 +11:00
Peter Barker c2c1417657 AntennaTracker: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED 2021-11-15 20:27:40 +11:00
Peter Barker 44920856d3 AntennaTracker: ensure ENABLE_SCRIPTING is always defined 2021-11-15 20:27:40 +11:00
Iampete1 057d35a45c Tracker: fix RC init order to avoid error message 2021-09-21 17:49:47 +10:00
Iampete1 e6d2e8340c Tracker: convert to new ARMDISARM 2021-09-21 09:36:24 +10:00
Patrick José Pereira c98947fe85 AntennaTracker: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Peter Barker ed4a61d5d9 AntennaTracker: move control_mode_reason up to AP_Vehicle 2021-02-03 18:24:52 +11:00
Andrew Tridgell e953bdb6e0 AntennaTracker: moved init_safety to AP_Vehicle 2020-12-08 11:14:24 +11:00
Tatsuya Yamaguchi 27822aede3 Tracker: replace message indicating that initialisation has completed 2020-09-22 09:52:52 +10:00
Andy Piper 2f985c77d8 Tracker: conditionally compile ADSB support 2020-09-22 09:33:51 +10:00
Siddharth Purohit ddfd186618 Tracker: move to using CANManager library 2020-08-19 17:31:09 +10:00
Peter Barker 2f159288e2 AntennaTracker: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Matt Lawrence 7c5f67227b Tracker: Remove links to AP_Camera
No longer needed
2020-02-12 22:55:29 +11:00
Peter Barker de2689bddd AntennaTracker: move some common init_ardupilot code up to AP_Vehicle 2020-01-28 11:34:51 +11:00
Peter Barker dfc274e547 Tracker: move setup method up to AP_Vehicle base class 2020-01-28 11:34:51 +11:00
Peter Barker 0c355bef90 Tracker: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Andrew Tridgell 1c80e510db Tracker: removed init_vehicle from separate vehicles
use common call from AP_BoardConfig
2019-12-30 13:02:04 +11:00
Andy Piper 1b7c49b662 Tracker: create generic vehicle management and move runcam to it
add RCMapper and OSD to build
2019-12-30 13:02:04 +11:00
Peter Barker 21f7b2fe4f Tracker: consolidate camera dummy functions into system.cpp 2019-12-04 14:49:00 +11:00
Peter Barker 1d6d78c0d4 Tracker: initialise RC library
Without this MANUAL mode is broken as all RC_Channel objects use the
first RC input channel.
2019-12-04 13:38:32 +11:00
Randy Mackay 3502f5d449 Tracker: scripting init sends failure message 2019-12-03 12:48:32 +08:00
Peter Barker ee06faed88 AntennaTracker: use enum-class for SRV_CHANNEL_LIMIT_TRIM and friends 2019-11-26 10:17:17 +11:00
Peter Barker 54373a6703 Tracker: add method to avoid linking AP_Avoidance 2019-11-12 13:48:09 +11:00
Peter Barker deb0fdccc8 Tracker: move all dummy methods to system.cpp
MAVLink makes less sense than this
2019-11-12 13:48:09 +11:00
Peter Barker bfcd3bc425 Tracker: add ModeGuided 2019-11-11 10:06:21 +11:00
Peter Barker 531bdcc130 Tracker: create a Mode hierarchy to handle different control modes 2019-11-11 10:06:21 +11:00
Michael du Breuil 6d7b196212 Tracker: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker ab9614a3de Tracker: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker e5ea748e7f Tracker: integrate AP_Stats library 2019-08-07 07:57:46 +09:00
Michael du Breuil 99872ea9e2 Tracker: Send a heartbeat on mode change 2019-06-26 12:58:18 -07:00
Peter Barker 932c36a3fb Tracker: remove pointless protocol parameter to setup_uart 2019-06-25 09:47:08 +10:00
Peter Barker 4f85d45fcb Tracker: stop pointlessly passing serial manager around 2019-06-25 09:47:08 +10:00
Peter Hall e6c7fd2acc Tracker: initialise battery 2019-04-27 10:43:01 +10:00
Peter Barker 89f43c0318 Tracker: move responsibility for logging into library 2019-04-23 10:06:17 +10:00
Peter Barker 39db4eb871 Tracker: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
IamPete1 59526efa02 Tracker: restore scan mode functionality 2019-03-26 17:16:02 +11:00
Peter Barker 6e67481355 Tracker: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
IamPete1 1ac74e2fe5 Tracker: add initial mode parameter 2019-03-18 10:37:39 +11:00
Michael du Breuil 76743b7f1d AntennaTracker: Allow scripting to run 2019-03-05 08:45:54 +11:00
IamPete1 1bade761a1 Tracker: factor out compass functions 2019-02-28 15:17:26 +11:00
Peter Barker 9f6027b332 Tracker: make set_home bool, do not save bad homes 2019-02-26 08:03:56 +11:00
Peter Barker c46de4a9a0 Tracker: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker f4097d254c Tracker: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 61df15ffe8 Tracker: adjust for Location_Class and Location unification 2019-01-16 11:45:29 +11:00
Peter Barker f3157433b8 Tracker: GCS_MAVLink uses dataflash singleton 2018-12-11 08:43:47 +09:00
Michael du Breuil 32b88feb60 Tracker: Make capability init consistent 2018-11-05 14:04:36 +11:00
Peter Barker dc52ca2192 Tracker: leave AHRS to log and notify home changes 2018-10-16 10:55:13 +11:00