Peter Barker
9d7cbf86f5
AntennaTracker: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
Peter Barker
cfd9bfd541
AntennaTracker: split AP_HAL_SITL and HAL_SIM_ENABLED
2022-03-17 14:39:55 +11:00
Peter Barker
7d23d37630
Tracker: fix sim_vehicle.py with --tracker option
2022-03-16 18:05:49 +11:00
murata
d9ef916a82
Tracker: Change the process for errors
2022-03-08 14:36:19 -08:00
Peter Barker
75045057b7
AntennaTracker: add RebootRequred to stream rate parameters
2022-03-01 11:01:12 +11:00
Peter Barker
65ed077a4e
AntennaTracker: provide default implemenation of handle_change_alt_request
...
The TODO items to actually implement these are almost 6 years old.
Since then these methods have been burning space.
This doesn't even make sense for several vehicles, so a default
implementation which does nothing seems OK.
2022-02-08 10:59:13 +11:00
Peter Barker
0df4b8066c
AntennaTracker: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library
2022-01-25 10:59:17 +11:00
Peter Barker
8461c11742
AntennaTracker: rename AP_AHRS::get_position to get_location
2022-01-25 10:47:22 +11:00
Peter Barker
92c5906c1e
AntennaTracker: tidy log message id definitions
...
Add a comment indicating only 20 ids are available to the vehicle
2021-12-21 10:42:18 +11:00
Andrew Tridgell
636d36e78a
AntennaTracker: revert compass parameter changes
2021-12-04 16:51:53 +11:00
Shiv Tyagi
339a07b8d3
AP_Devo_Telem: compile out devo telemetry
...
Devo telemetry is one of the most rarely used features (almost never used since added) we should compile it out from our code
2021-12-01 19:16:44 +11:00
Iampete1
f92eb455eb
Tracker: remove compass params underscore
2021-11-30 08:14:43 +09:00
Peter Barker
813c5b97f7
AntennaTracker: allow specification of Scheduler table priorities
2021-11-17 19:00:04 +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
Supernovae
e35cf757c2
AntennaTracker: NFC grammar fix-ups
...
made some rectification for better readablity
2021-10-27 22:05:50 +11:00
Supernovae
8915c8f3ae
AntennaTracker: NFC grammar fix-ups
...
made some minor rectification for better readablity
2021-10-27 22:05:50 +11:00
Iampete1
8b34f2f48c
Tracker: use floats for get/set output scaled
2021-10-20 18:29:58 +11:00
Peter Barker
af9b40174a
AntennaTracker: move SITL object up to AP_Vehicle
2021-10-19 11:34:43 +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
Andrew Tridgell
39b4825442
Tracker: moved accel cal update to vehicle code
2021-09-17 14:07:14 +10:00
Peter Barker
34ff53f158
AntennaTracker: eliminate AP::ahrs().get_location
2021-08-31 09:47:31 +10:00
Andrew Tridgell
00f91ac926
Tracker: added MCU_STATUS message
2021-08-25 07:11:31 +10:00
Andrew Tridgell
7452e9dffb
AntennaTracker: added slew rate and Dmod for PID_TUNING message
2021-08-19 12:08:54 +10:00
Peter Barker
64bd14e0ab
AntennaTracker: stop sending SENSOR_OFFSETS
...
Only works for first compass instance.
We have all of these in parameters anyway.
2021-08-18 18:06:24 +10:00
bugobliterator
e1e03cf42a
AntennaTracker: change class name from SITL::SITL to SITL::SIM
2021-08-05 07:25:31 +10:00
Andrew Tridgell
0c60e741ed
Tracker: mark log messages as streaming
2021-08-03 10:23:36 +10:00
Peter Barker
0189ee2a04
AntennaTracker: use AP::compass().available in place of enabled()
2021-07-30 12:19:42 +10:00
Peter Barker
b2575c2b1d
AntennaTracker: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
d74bb146f1
AntennaTracker: rename for AHRS restructuring
2021-07-21 21:01:39 +10:00
Peter Barker
56ed06a86f
AntennaTracker: remove misleading NOINLINE comment
...
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Siddharth Purohit
cd63dd1720
AntennaTracker: add support for controlling ONVIF camera using lua script
2021-07-07 18:57:25 +10:00
Hwurzburg
106e5e0115
AntennaTracker: remove values metadata from log bitmask
2021-06-30 09:24:26 +09:00
James Harton
be3cc1b679
Docs: Change all references from dev.ardupilot.org to the appropriate documentation URLs.
2021-05-31 12:20:45 +10:00
Josh Henderson
86a75789a6
AntennaTracker: Privatize AP_IntertialSensor Logging
2021-04-29 19:19:12 +10:00
Siddharth Purohit
4cb0e76f23
AntennaTracker: move underscore one layer down for GPS
2021-03-12 16:32:36 +09:00
Tom Pittenger
856961a3b6
Tracker: change SRx_ docs value 1 50
2021-03-03 18:17:22 +11: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
Peter Barker
c9b906de17
AntennaTracker: split out a handle_command_component_arm_disarm
2021-01-12 08:48:44 +09:00
Josh Henderson
d605f3aea0
AntennaTracker: privatize AHRS logging
2021-01-12 10:13:22 +11:00
Tom Pittenger
558fe34945
Tracker: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER
2020-12-29 07:52:09 -07:00
Andrew Tridgell
cd2f2f96eb
rename barometer parameters to BARO prefix
2020-12-08 13:22:17 +11:00
Andrew Tridgell
e953bdb6e0
AntennaTracker: moved init_safety to AP_Vehicle
2020-12-08 11:14:24 +11:00
Andrew Tridgell
999c7e0dc4
AntennaTracker: added SMAX param docs
2020-10-25 10:32:48 +11:00
Peter Hall
37cf09a8f9
Tracker: add auto opts param
...
This adds a bitmask that can be used to allow scaning before a vehicle has been found in auto mode
2020-10-18 19:59:47 +11:00
Patrick José Pereira
1528d937fc
AntennaTracker: Use new AP_FWVersionDefine header
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-09-23 20:58:35 +10: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
5775d09914
Tracker: add AP_Logger parameter tree
2020-05-21 08:59:02 +10:00
Peter Barker
19f298e04c
AntennaTracker: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Randy Mackay
9d3427ec86
Tracker: do not send ahrs3 mavlink message
2020-04-22 14:11:17 +09:00
Peter Barker
9b459a1e6c
AntennaTracker: remove comment for already-removed in-delay-callback function
...
These are now attached to completely unrelated functions, which is
pretty bad.
2020-04-16 15:11:35 +09:00
Peter Barker
f6ab998924
Tracker: rename APMrover2 to Rover
2020-04-14 09:50:34 +09:00
Rishabh
b1cb3b10ca
Tracker: Logger documentation TimeUS and typo fix
2020-04-07 18:57:01 +10:00
Peter Barker
64b54fd92a
Tracker: add information on onboard log messages
2020-03-28 13:00:07 +11:00
Peter Barker
2f159288e2
AntennaTracker: move initialisation of serial and gcs to AP_Vehicle
2020-02-25 11:50:55 +11:00
Peter Barker
6dd204d52c
Tracker: correct missing parameter documentation
2020-02-19 15:09:16 +11:00
Peter Barker
d8f6089f64
Tracker: add arming library to avoid segmentation fault
...
Places make assumptions that the AP_Arming singleton is non-null
2020-02-19 11:50:54 +11:00
Peter Barker
465bde5339
AntennaTracker: remove unused compass_init_location state
2020-02-18 10:35:49 +11:00
Matt Lawrence
7c5f67227b
Tracker: Remove links to AP_Camera
...
No longer needed
2020-02-12 22:55:29 +11:00
Peter Barker
449ca74951
Tracker: let AP_Vehicle handle loop()
2020-02-06 14:41:06 +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
5e1378a6e3
Tracker: remove linkage of AP_Stats
2020-01-16 20:36:54 +11:00
Peter Hall
1c57a6a527
Tracker: set_likely_flying in vehicle
2020-01-14 22:34:37 -07:00
Tatsuya Yamaguchi
b4f2c8cfa0
Tracker: allow scripts to get modes
2020-01-14 11:16:29 +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
Andrew Tridgell
69ea4882d2
Tracker: fixed range check for RC channel
2019-12-20 10:55:14 +11:00
Peter Barker
78e1cf1dad
Tracker: use https:// scheme for ardupilot URLs
2019-12-10 07:53:46 +11:00
Peter Barker
a8e2923774
Tracker: correct scan mode pitch clamping
2019-12-06 08:21:30 +08:00
Peter Barker
da184ffdaf
Tracker: move setting of GPS SYS_STATUS bits up to base class
2019-12-05 13:02:19 +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
Peter Barker
47f9defe3f
Tracker: clean up mode.cpp
2019-12-03 22:01:12 +11:00
Peter Barker
1e451e8165
Tracker: move update_scan into mode.cpp
...
Consolidating Mode:: methods in mode.cpp
2019-12-03 22:01:12 +11:00
Peter Barker
f3d3f01e76
Tracker: rename control_auto.cpp to mode.cpp
...
Turns out all of the functions in here are in the Mode:: namespace...
2019-12-03 22:01:12 +11:00
Peter Barker
2b8628d6bb
Tracker: remove empty mode.cpp
2019-12-03 22:01:12 +11:00
Peter Barker
8b302a4975
Tracker: rename mode files to be consistent with other vehicles
2019-12-03 22:01:12 +11:00
Randy Mackay
3502f5d449
Tracker: scripting init sends failure message
2019-12-03 12:48:32 +08:00
Peter Barker
16103f08d8
Tracker: vehicle parent class now instantiates AHRS
2019-12-02 09:16:22 +11:00
Peter Barker
3d5a6cb074
Tracker: rename system_status as it won't be called from base class
2019-11-27 14:27:53 +11:00
Marian Soban
6af2262597
Tracker: add stubs to avoid linking LTM telemetry
2019-11-26 12:14:13 +11: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
8c2c38c80a
Tracker: remove unused includes
2019-11-25 14:43:15 +08:00
Peter Barker
ad97009e00
Tracker: rename parameter to avoid name conflict with lock
2019-11-12 16:33:12 +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
Peter Barker
88ba3e051c
Tracker: let GCS superclass specify compass and param float capabilitiy
2019-11-05 11:26:23 +11:00
Andrew Tridgell
4afade2769
AntennaTracker: moved AC_PID dependency to core
2019-11-02 16:31:04 +11:00
Michael du Breuil
6d7b196212
Tracker: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
52ec1dba5e
Tracker: use ahrs singleton to log ATT, POS and AHRS2
2019-10-24 13:15:46 +11:00
Peter Barker
65d1183bb0
Tracker: move many members up to base class
2019-10-08 11:26:04 +11:00
Peter Barker
91cf090864
Tracker: become an AP_Vehicle
2019-10-08 11:26:04 +11:00