Commit Graph

227 Commits

Author SHA1 Message Date
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
IamPete1 f33ba58549 Tracker: add PID_TUNING message 2019-03-05 10:41:56 +11:00
Peter Barker 54cb76ca83 Tracker: remove dead case in message switch 2019-03-02 09:29:38 +11:00
Peter Barker 3f6dd706d1 Tracker: accept arm/disarm to any component ID, not just MAV_COMP_ID_SYSTEM_CONTROL 2019-03-02 09:29:38 +11:00
IamPete1 70d4d2ac8f Tracker: honour vehicle arm status
Also don't indicate we are armed if we are in INITIALISING
2019-03-01 21:33:12 +11:00
IamPete1 5399b659ea Tracker: handle Tracker fixed position 2019-03-01 20:57:54 +11:00
IamPete1 87a0166c1c Tracker: fix communication lock out when vehicle connected 2019-02-28 13:54:07 +11:00
Peter Barker fe6ca9afa3 Tracker: add support for mavlink set-home-position 2019-02-26 08:03:56 +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 6ef1c64652 Tracker: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +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 9a2ca025dd Tracker: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Peter Barker 8e19e805c6 GCS_Common: clarify enumeration item name MSG_NEXT_WAYPOINT 2019-01-22 09:01:57 +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 1e90d90465 Tracker: split SIMSTATE, AHRS2 and AHRS3 onto their own ap_message ids 2018-12-19 13:19:23 +11:00
Peter Barker 06d2f97861 Tracker: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Peter Barker 1871b0066a Tracker: split MSG_SCALED_PRESSURE into three separate messages 2018-12-12 21:36:01 +11:00
Peter Barker 96138244e2 Tracker: split MSG_RAW_IMU1 into per-IMU ap_messages 2018-12-10 12:52:41 +09:00
Peter Barker 703eef7fb4 Tracker: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker 7161f57d64 Tracker: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 730dc191cc Tracker: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 424c82de33 Tracker: rename MSG_EXTENDED_STATUS2 to MSG_MEMINFO 2018-12-04 18:01:38 +11:00
Peter Barker b793e139a2 Tracker: rename MSG_RAW_IMU2 and MSG_RAW_IMU3 to reflect what they send 2018-12-04 17:45:32 +11:00
Peter Barker 0aa4c4ed9a Tracker: remove pointless wrappers around gcs functions 2018-11-23 10:56:17 +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 cf2415569c Tracker: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Peter Barker e85ca5856c Tracker: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker 7124132eee Tracker: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker 3522f32706 Tracker: move mavlink reboot code up to base class 2018-07-03 12:12:25 +10:00
Peter Barker 1a1ae54e07 Tracker: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker 3bffe3c345 Tracker: create persist_streamrates() callback to indicate persistence 2018-05-29 13:08:29 +10:00
Peter Barker d705dbcfc1 Tracker: move sending of simstate up 2018-05-23 18:36:50 +10:00
Peter Barker 31e7131c33 Tracker: add type-correctness for stream messages 2018-05-22 11:21:25 +10:00
Peter Barker 08ea7875ae Tracker: move try_send_message of servo-output-raw up 2018-05-21 19:08:08 +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 cbbd28aeda Tracker: let GCS_MAVLink handle get_home_position 2018-05-17 20:42:36 +10:00
Peter Barker 62a3faf448 Tracker: remove arguments to send_home and send_ekf_origin 2018-05-17 20:42:36 +10:00
Peter Barker 2b68ab4d87 Tracker: move send_attitude up to GCS_MAVLINK 2018-05-17 18:28:43 +10:00
Peter Barker 75d5b79c48 Tracker: move try_send_message sending of scaled_pressure up 2018-05-17 15:37:14 +10:00
Peter Barker 73f845d76f Tracker: move try_send_message sending of sensor offsets up 2018-05-17 15:37:14 +10:00
Peter Barker 92b7d7079e Tracker: move try_send_message of RAW_IMU up to GCS_MAVLINK 2018-05-17 15:37:14 +10: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 a386c6100c Tracker: make scheduler track whether it has called the delay callback 2018-05-09 16:15:38 +10:00
Peter Barker 76d46b0b43 Tracker: move try_send_message handling of RC_CHANNELS up 2018-05-08 12:33:32 +01:00
Peter Barker 40a7495967 Tracker: move try_send_message of heartbeats up to GCS_MAVLINK 2018-05-07 11:30:13 -06:00
Francisco Ferreira 21341feecb
Tracker: fix method shadowing 2018-04-03 16:29:34 +01: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 60aaabd93a Tracker: move common calibration functions up 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
Michael du Breuil a108ae8f1e AntennaTracker: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker 5f4838f3f2 Tracker: allow DataFlash to handle log sending 2018-03-26 09:22:47 +09:00
Peter Barker 7d024095c6 Tracker: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker 0d04e916a1 Tracker: use AP::ahrs() for GCS_MAVLink 2018-03-07 12:34:39 +00:00
Peter Barker f844f4ea80 Tracker: add reason to set_mode 2018-02-22 10:30:10 +10:00
Randy Mackay 144dd82fe4 Tracker: fix global-pos-int velocity direction to NED 2018-02-13 08:52:48 +09:00
Peter Barker 3f7eb69327 Tracker: tighten type of result variable in handleMessage 2017-12-01 17:01:10 +00:00
Peter Barker ca72b20e04 Tracker: correct sending of servo outputs 2017-11-27 14:26:00 +09:00
Peter Barker 33feeb1c11 Tracker: add support for SYS_STATUS sending, battery 2017-11-27 12:26:57 +09:00
Peter Barker a6bda813f1 Tracker: use gps singleton for GCS functions 2017-11-15 13:43:03 +00:00
Lucas De Marchi efdc7daf96 AntennaTracker: do not include version.h/ap_version.h
The interface provided by each vehicle should be used to get the
version. The user of the macro has been converted to use that interface.
2017-09-23 21:37:45 -07:00
Peter Barker c090818d5e Tracker: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
Randy Mackay d45eb33980 Tracker: support SET_GPS_GLOBAL_ORIGIN message 2017-09-19 10:30:15 +09:00
Peter Barker 962f237db4 Tracker: remove old DO_SET_MODE support
We no longer support setting modes except via custom modes
2017-09-19 01:24:11 +01:00
Peter Barker a2132f7b72 Tracker: handle param_request_list in GCS_MAVLINK base class 2017-08-30 15:54:47 +01:00
Peter Barker f60e4bcea2 Tracker: handle param_set in GCS_MAVLINK base class 2017-08-30 15:54:47 +01: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 cdb6c083a3 Tracker: move serial_control case to base class 2017-08-17 12:42:31 +01:00
Peter Barker 947bae2f86 Tracker: use GCS_MAVLINK subclasses to handle set_mode 2017-08-16 11:58:10 +10:00
Michael du Breuil 105ebd6fb0 AntennaTracker: Reject MAV_CMD_DO_FLIGHTTERMINATION 2017-08-15 15:14:56 +01:00
Peter Barker f78d50215c Tracker: add new dummy function to avoid linking the AP_Camera 2017-08-09 16:18:22 +01:00
Peter Barker f27eeeff56 Tracker: send gps messages as separate queued messages 2017-08-09 16:18:22 +01:00
Peter Barker 7e5d90f446 Tracker: move sending of gps_raw up 2017-08-09 16:18:22 +01:00
Peter Barker 1532e30a5b Tracker: use new retry_deferred method 2017-08-05 23:14:27 +01:00
Peter Barker 33858187ef Tracker: move try_send_message queued_param_send up 2017-08-03 14:34:33 +01:00
Peter Barker e08b87763e Tracker: move try_send_message send_hwstatus up 2017-08-03 14:34:31 +01:00
Peter Barker de0c6d7ca5 Tracker: move try_send_message mission handling up 2017-08-03 14:33:31 +01:00
Peter Barker 5b4d968887 Tracker: move try_send_message compass message handling up 2017-08-03 14:24:47 +01:00
Peter Barker 4c11f07a02 Tracker: move common mavlink camera handling up 2017-07-28 14:32:58 +01:00
Peter Barker 4ed7f6a769 Tracker: move gps inject handling up to GCS_MAVLINK 2017-07-27 12:03:25 +01:00
Peter Barker d3c5369352 Tracker: handle common GPS messages in base GCS_MAVLINK class 2017-07-25 14:00:45 +01:00
Peter Barker d9c4e1ad8e Tracker: remove MSG_STATUSTEXT entirely 2017-07-18 16:12:59 +01:00
Peter Barker 663d454119 Tracker: move handling of MAG_CAL command longs up 2017-07-17 14:17:19 +01:00
Peter Barker 2136797770 Tracker: add common handling of mavlink command messages 2017-07-16 23:56:00 +01:00
Peter Barker abce338076 Tracker: move handling of incoming statutext messages up 2017-07-12 16:52:24 +01:00
Peter Barker 7865d467d3 Tracker: eliminate gcs_send_message wraper 2017-07-11 23:45:16 +01:00
Peter Barker 2039222c7e Tracker: use send_text method on the GCS singleton 2017-07-09 17:17:29 -04:00
Peter Barker f9eeaacd6c Tracker: use Notify singleton for sending statustext 2017-07-09 17:17:29 -04:00
Peter Barker b81e5a8562 Tracker: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00
Peter Barker c5df219a02 Tracker: handle knowledge of in_log_download in DataFlash 2017-06-27 03:10:43 +01:00
Peter Barker 6c2bfe08cd Tracker: move send-logs-via-mavlink code into DataFlash
Also, fix log download
2017-06-27 03:10:43 +01:00