Commit Graph

663 Commits

Author SHA1 Message Date
bugobliterator bf407e8c6c AntennaTracker: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator 0b5256468d AntennaTracker: change INS_ to INS 2023-03-21 10:04:16 +11:00
Tom Pittenger 20a6734462 Tracker: remove wrong comments 2023-03-03 08:34:17 +09:00
Peter Barker 2f15b79619 AntennaTracker: add support for mavlink in-progress message 2023-02-21 17:07:41 +11:00
Peter Barker 627b9b3034 Tracker: correct compilation when AP_AdvancedFailsafe is disabled 2023-02-20 13:46:50 +11:00
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
Iampete1 1ea8a0c1a0 AntennaTracker: use shared param info defines 2023-01-11 18:41:34 +11:00
Peter Barker 6aee69bbda AntennaTracker: code-generate chan-fetching methods
A recent PR had to change every single one of these methods, which was kind of unfortunate.

So generate the methods using a #define so the duplication happens at preprocessor-time.
2022-12-15 08:31:54 +11:00
Leonard Hall 2500e1ebe5 AntennaTracker: Support changing update period 2022-12-13 17:10:06 +11:00
jackhong12 4a4f361a17 all: use CLASS_NO_COPY() macro 2022-10-04 11:23:04 +11:00
Michael du Breuil 9053e81140 Tracker: Don't send HWSTATUS by default 2022-09-13 14:27:06 +10:00
Peter Barker 1dafc68469 AntennaTracker: move call to compass cal update up to AP_Vehicle 2022-08-16 10:06:44 +10:00
Iampete1 16455b23a4 AntennaTracker: params always use set method 2022-08-03 13:43:48 +01:00
Iampete1 34a5a357a7 Tracker: set defualt format version 2022-07-20 17:59:59 +10:00
Peter Barker 0793814f5a Tracker: remove transitive include dependencies 2022-07-20 17:32:24 +10:00
Peter Barker e3b467bebb AntennaTracker: adjust for when LTM telemetry is disabled 2022-06-28 20:19:41 +10:00
Peter Barker 5fc4c9dc5c Tracker: let AHRS update orientation in its own time 2022-06-12 17:32:11 +10:00
Peter Barker deceb1d49a Tracker: update version.h for 4.3 2022-05-26 20:43:44 +10:00
Peter Barker bcaad1f622 Tracker: release notes for Tracker-4.2 beta1 2022-05-26 20:43:44 +10:00
Peter Barker c75d90db25 AntennaTracker: tidy includes 2022-05-03 09:14:58 +10:00
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