Commit Graph

180 Commits

Author SHA1 Message Date
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
Michael du Breuil a42c09d27a Tracker: Handle NAV_CONTROLLER_OUTPUT.wp_dist overflowing 2017-06-20 15:41:50 +01:00
Peter Barker 765a91c86b Tracker: move MAVLINK_MSG_ID_REMOTE_LOG_BLOCK_STATUS handling up 2017-06-17 15:07:48 +01:00
Peter Barker 31ac03368d Tracker: stop using in_mavlink_delay as a proxy for disabling logging 2017-06-16 17:07:48 +01:00
Michael du Breuil c4cd6bdf86 Tracker: Ignore landing message 2017-05-24 15:22:27 -07:00
Andrew Tridgell 005797c327 AntennaTracker: use common send_queued_parameters() 2017-05-01 14:36:10 +10:00
Andrew Tridgell 03430c98d1 AntennaTracker: ignore MSG_AOA_SSA 2017-04-19 20:48:42 +10:00
Michael du Breuil 46790db751 AntennaTracker: Ignore BATTERY_STATUS message 2017-04-12 10:21:49 +09:00
Andrew Tridgell 70ab44a048 AntennaTracker: fix for mavlink update 2017-04-11 20:03:43 +01:00
Andre Kjellstrup 9e5d6ab1e9 removed redundant code 2017-04-04 14:01:37 -07:00
Peter Barker 9e42014387 Tracker: not in log download upon log erase
erase is a synchronous operation
2017-02-13 11:36:16 +11:00
Peter Barker e12e51f502 Tracker: Support for a GCS singleton 2017-02-13 09:32:01 +11:00
Peter Barker 14470573f6 Tracker: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas 5012b2e899 AntennaTracker: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Randy Mackay b67512aae9 Tracker: send text to notify 2017-01-23 15:07:21 -08:00
Randy Mackay f096234c2a Tracker: pass HIL_GPS to gps driver 2016-12-08 15:52:26 +09:00
Francisco Ferreira 2879e78230 Tracker: support MAV_CMD_ACCELCAL_VEHICLE_POS 2016-11-15 11:42:54 -08:00
Andrew Tridgell 90c4214a3e Tracker: use handle_common_message() 2016-11-09 17:08:09 +11:00
murata cc8dd92a8c Tracker: To nullptr from NULL. 2016-10-28 09:56:07 -07:00
Michael du Breuil 4e86ef9b47 Tracker: Allow compass to manage buffer space for MAG_CAL 2016-10-27 14:04:34 +11:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 27d50988ca Tracker: deprecate RC_CHANNELS_RAW 2016-10-13 21:24:09 +11:00
Michael du Breuil c255aea358 Tracker: Support GPS_RTCM_DATA (as well as GPS_INPUT) 2016-10-11 11:00:36 +11:00
Matthew Brener 06388b0417 Global: Fix typos 2016-09-17 00:36:36 -03:00
Randy Mackay 20ade3bb17 Tracker: minor formatting fix
No functional change
2016-08-08 12:01:51 +09:00
Randy Mackay 0e5a91bb1b Tracker: fix return results from preflight calibration
Was always returning success even in cases where it failed
Issue found by Coverity
2016-08-08 12:01:21 +09:00
Lucas De Marchi d854b55b9f AntennaTracker: Remove i2c lockup count
This was returned only for a single bus and on all supported platforms
this is hardcoded to 0.
2016-07-28 18:03:09 -03:00
Andrew Tridgell 53e71ccf12 AntennaTracker: adjust for 16 channels in SERVO_OUTPUT_RAW 2016-07-25 10:06:02 +10:00
Randy Mackay 50bfd6e7fd Tracker: set armed state in mavlink heartbeat 2016-07-06 12:01:12 +09:00
Tom Pittenger 24b7f69dad Tracker: ignore ADSB_VEHICLE packet handling 2016-06-19 11:24:32 -07:00
Randy Mackay 9bdbf7785f Tracker: minor parameter description and comment fix 2016-06-15 18:23:48 +09:00
stefanlynka 6f88da07aa Tracker: Adding alt_source enum 2016-06-15 18:16:59 +09:00
stefanlynka 17355baa83 Tracker: Added parameter for mavlink update rate 2016-06-15 18:16:55 +09:00
Peter Barker ddd956f8e1 Tracker: move adjust_rate_for_stream up 2016-05-29 21:24:41 +10:00
Peter Barker df190d1e86 Tracker: subclass GCS_MAVLink in place of defining its functions for it 2016-05-29 16:21:21 +10:00
stefanlynka 1293b16589 Tracker: Allows choice of altitude source 2016-05-25 09:51:30 +09:00
stefanlynka fd61a903f9 Tracker: Changing name of altitude_difference to alt_difference_baro 2016-05-25 09:51:30 +09:00
Andrew Tridgell 8c3bbdaf73 AntennaTracker: don't stall EKF during baro cal 2016-05-24 17:00:55 +10:00
Andrew Tridgell 57c39cbfa0 AntennaTracker: use send_heartbeat wrapper 2016-05-21 15:25:18 +10:00
Andrew Tridgell 16901ffb2b AntennaTracker: use HAVE_PAYLOAD_SPACE() 2016-05-21 15:25:17 +10:00
Andrew Tridgell 181eb9e4ef AntennaTracker: always build with MAVLink2 headers 2016-05-21 15:25:15 +10:00
Andrew Tridgell d4cb7b8970 AntennaTracker: use GCS_MAVLINK::packet_overhead_chan() 2016-05-21 15:25:14 +10:00
Andrew Tridgell b5d1dc6643 AntennaTracker: handle SETUP_SIGNING message 2016-05-21 15:25:12 +10:00
Andrew Tridgell 23197b0689 AntennaTracker: cleanup unnecessarily complex gcs[] usage 2016-05-17 08:27:01 +10:00
Ricardo de Almeida Gonzaga 6b93f974d3 AntennaTracker: Fix typos 2016-05-13 19:20:07 -03:00
Leandro Pereira f23bd7e09d GCS_MAVLink: Use a single stream_trigger() implementation
This has no side effects, but since all implementations were basically
the same, move the implementation to GCS_Common and the only part that
adjusts the rate based on which which stream to each individual
GCS_MAVLINK implementation.
2016-05-07 23:49:35 -03:00
Lucas De Marchi 49a46e463f AntennaTracker: use separate header for version macro
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.

Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Michael du Breuil 06b9fa293c AntennaTracker: Ignore POSITION_TARGET_GLOBAL_INT 2016-05-01 07:38:23 +10:00