Commit Graph

14 Commits

Author SHA1 Message Date
Peter Barker 076deb4d97 ArduSub: 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
Peter Barker 2c16810493 ArduSub: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Peter Barker e5858555de ArduSub: move initialisation of serial and gcs to AP_Vehicle 2020-02-25 11:50:55 +11:00
Peter Barker 45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker bd2516bc89 Sub: add sanity check when fetching GCS_MAVLink instance 2019-06-27 07:54:45 +10:00
Peter Barker 973222c786 Sub: allow GCS MAVLink base class to handle out-of-time for sending messages 2019-06-25 10:29:40 +10:00
Peter Barker 173611e819 Sub: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker fabf0a10d5 Sub: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker 1ce531b921 Sub: move base_mode and frame_type into GCS from GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker cb95bf7814 Sub: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +11:00
Peter Barker bb706305d0 Sub: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker 233d49797e Sub: remove CLI 2017-08-14 10:23:50 +09:00
Peter Barker e9845fd593 Sub: eliminate global static GCS_MAVLINK::send_home_all 2017-07-11 23:48:39 +01:00
Peter Barker fadff24674 Sub: create GCS subclass, use inheritted methods
This also adds a patch to set up gcs channel 0 early to make
BoardConfig happy
2017-07-07 16:18:37 +01:00