Peter Barker
98daf23d88
AntennaTracker: move handling of DO_SET_HOME up to GCS_MAVLink base class
2024-04-09 09:35:16 +10:00
Peter Barker
25777adfb5
AntennaTracker: provide and use base-method implementation for guided mode request
2024-02-06 11:07:48 +11:00
Peter Barker
cfe6844196
Tracker: factor handle_message function
...
with an eye to removing the ability to set home via mission upload
2024-02-01 12:31:04 +11:00
Peter Barker
c7f7ec3312
AntennaTracker: use virtual method for GCS_MAVLink::handle_message
...
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
Peter Barker
77afdf1539
Tracker: stream BATTERY_STATUS by default
...
... if a user has set up a monitor they almost certainly want this
2024-01-07 13:04:03 -08:00
Peter Barker
261bc4f884
AntennaTracker: stop streaming trying SIM_STATE messages outside sim
2023-11-20 19:25:25 +11:00
Peter Barker
962584811d
AntennaTracker: tidy sending of queued mcu status messages
2023-11-20 19:25:25 +11:00
Peter Barker
17459b30de
AntennaTracker: tidy use of GPS mavlink defines
2023-10-27 14:16:47 +11:00
Peter Barker
c22f60a8eb
AntennaTracker: remove COMPASS_CAL messages from streamrates if tumble cal disabled
...
fatal error in SITL if we try to send messages with these disabled
2023-09-26 11:39:50 +10:00
Peter Barker
22141a8bc6
Tracker: handle SET_SERVO and MISSION_START as command_int+command_long
2023-08-30 12:22:15 +10:00
Peter Barker
915be41cb5
AntennaTracker: pass mavlink_message_t to handle_command_*_packet
...
the "special case" blocks are getting longer and longer. Merge the switch statements for the command type to be handled by passing around the message.
2023-08-22 10:11:33 +10:00
Peter Barker
db217d47fa
AntennaTracker: add infrastructure to handle command longs as command ints
2023-07-12 18:51:07 +10:00
Peter Barker
6674f0ea5f
Tracker: remove annoying 'Command received' message
...
Doesn't add anything of value
2023-04-17 09:44:05 +10:00
Peter Barker
2f15b79619
AntennaTracker: add support for mavlink in-progress message
2023-02-21 17:07:41 +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
Michael du Breuil
9053e81140
Tracker: Don't send HWSTATUS by default
2022-09-13 14:27:06 +10:00
Iampete1
16455b23a4
AntennaTracker: params always use set method
2022-08-03 13:43:48 +01: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
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
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
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
Tom Pittenger
856961a3b6
Tracker: change SRx_ docs value 1 50
2021-03-03 18:17:22 +11:00
Peter Barker
c9b906de17
AntennaTracker: split out a handle_command_component_arm_disarm
2021-01-12 08:48:44 +09: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
Matt Lawrence
7c5f67227b
Tracker: Remove links to AP_Camera
...
No longer needed
2020-02-12 22:55:29 +11:00
Peter Barker
0c355bef90
Tracker: let AP_Vehicle base class worry about scheduler delay callback
2020-01-21 11:37:28 +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
Peter Barker
ad97009e00
Tracker: rename parameter to avoid name conflict with lock
2019-11-12 16:33:12 +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
Michael du Breuil
6d7b196212
Tracker: Support new AP_Vehicle::set_mode
2019-10-25 08:48:22 +08:00
Peter Barker
8deec7b60f
Tracker: implement dummy afs singleton getting to avoid linking AFS
2019-09-17 09:13:43 +10: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
Leonard Hall
157f786adf
Global: rename desired to target in PID info
2019-07-25 17:38:15 +09:00
Pierre Kancir
4180345fdc
AntennaTracker: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Peter Barker
9910a44dcc
Tracker: split RC_CHANNELS messages onto separate ap_message ids
2019-07-09 13:08:45 +10:00
Peter Barker
f97ea174a6
Tracker: adjust for new ap_message ids
2019-05-22 08:53:45 +10:00
Peter Barker
a148e9648e
Tracker: remove use of defunct state variables
2019-05-22 08:53:45 +10:00
Michael du Breuil
e0448a6e24
Tracker: include FWversion
2019-04-05 20:12:53 +11:00
Peter Barker
18a211f3e6
Tracker: stream out EKF status report
...
Resolves a problem in autotest where we wait in vain for an
EKF_STATUS_REPORT
2019-03-26 20:55:32 +11:00
Peter Barker
4e49e89b33
Tracker: move base_mode and frame_type into GCS from GCS_MAVLink
2019-03-19 14:39:14 +11:00
Peter Barker
6e67481355
Tracker: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
Peter Barker
166f246744
Tracker: move sending of send_pid_tuning up
2019-03-05 10:41:56 +11:00