Commit Graph

60 Commits

Author SHA1 Message Date
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
Mykhailo Kuznietsov f659b7bfee AntennaTracker: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11: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
bugobliterator b36cac5d36 AntennaTracker: move sysid_my_gcs to be public 2023-06-17 14:49:22 +10:00
Peter Barker 2f15b79619 AntennaTracker: add support for mavlink in-progress message 2023-02-21 17:07:41 +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 c9b906de17 AntennaTracker: split out a handle_command_component_arm_disarm 2021-01-12 08:48:44 +09: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 bfcd3bc425 Tracker: add ModeGuided 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 ab9614a3de Tracker: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Pierre Kancir 4180345fdc AntennaTracker: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker a148e9648e Tracker: remove use of defunct state variables 2019-05-22 08:53:45 +10:00
Peter Barker b976442e64 Tracker: move various sensor status flag updates up 2019-03-26 11:03:21 +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 166f246744 Tracker: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
IamPete1 5399b659ea Tracker: handle Tracker fixed position 2019-03-01 20:57:54 +11:00
Peter Barker fe6ca9afa3 Tracker: add support for mavlink set-home-position 2019-02-26 08:03:56 +11:00
Peter Barker ff7ef21456 Tracker: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker c46de4a9a0 Tracker: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker 0519949e21 Tracker: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +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 bf5eae3f72 Tracker: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker 9a2ca025dd Tracker: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Michael du Breuil 85296ac3f3 AntennaTracker: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Peter Barker a102a0352c Tracker: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Peter Barker 65e4d74b1f Tracker: add override keyword where required, fix bad method override 2018-11-08 11:30:12 +11:00
Randy Mackay 3a2e015df9 Tracker: send sensor status in extended status msg to GCS 2018-09-06 08:13:39 +09:00
Peter Barker 3146fcd80a Tracker: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker cf2415569c Tracker: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Peter Barker 7124132eee Tracker: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker 1a1ae54e07 Tracker: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker fa2e7b3eb4 Tracker: move sending of GLOBAL_POSITION_INT up to GCS_MAVLINK 2018-05-17 15:48:06 +01:00
Peter Barker 3e0dcacf58 Tracker: handle setting of ekf origin in GCS_MAVLink 2018-05-17 10:13:42 +10:00
Peter Barker b46379b3f3 Tracker: move data stream send up 2018-05-09 16:15:38 +10:00
Peter Barker 80f0016951 Tracker: use AP_ServoRelayEvents singleton 2018-04-18 20:31:55 +09:00
Peter Barker a0a1ca4d95 Tracker: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01:00
Peter Barker b862e4f3a8 Tracker: tidy handling of barometer calibrations 2018-04-02 23:25:05 +01:00
Peter Barker 030a1997f5 Tracker: factor out preflight calibration function 2018-04-02 23:25:05 +01:00
Peter Barker beb5dc2fd6 Tracker: stop using mavlink_snoop for target traffic
... rather, override packetReceived which sees all packets seen
2018-03-28 09:28:23 +09:00
Peter Barker a6bda813f1 Tracker: use gps singleton for GCS functions 2017-11-15 13:43:03 +00:00
Peter Barker c090818d5e Tracker: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
Peter Barker 98f9e744b0 Tracker: move send_autopilot_request calls up to GCS base class 2017-08-30 15:54:46 +01:00
Peter Barker 947bae2f86 Tracker: use GCS_MAVLINK subclasses to handle set_mode 2017-08-16 11:58:10 +10:00
Peter Barker 4c11f07a02 Tracker: move common mavlink camera handling up 2017-07-28 14:32:58 +01:00