Commit Graph

290 Commits

Author SHA1 Message Date
Peter Barker bbc040d807 ArduSub: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION 2022-02-10 12:13:43 +11:00
Joshua Henderson 2836ec4ae0 Sub: SET_POSITION_TARGET_LOCAL_NED above origin 2022-02-08 12:14:10 +11:00
Peter Barker 2372a4f3b6 ArduSub: 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 4640ef9a66 ArduSub: rename AP_AHRS::get_position to get_location 2022-01-25 10:47:22 +11:00
Josh Henderson bdac4a2416 Sub: INAV rename for neu & cm/cms 2021-11-30 10:08:07 +11:00
Andrew Tridgell fd758113ce Sub: no need to fabs() get_default_speed_down() as it does fabs already 2021-09-07 18:55:00 +09:00
Andrew Tridgell 4daedd4572 Sub: added MCU_STATUS message 2021-08-25 07:11:31 +10:00
Andrew Tridgell bf7f140052 Sub: added slew rate and Dmod for PID_TUNING message 2021-08-19 12:08:54 +10:00
Peter Barker aa22126355 ArduSub: 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 ed0b0451cf ArduSub: remove AC_TERRAIN compilation option
Use AP_TERRAIN_AVAILABLE instead
2021-07-12 17:34:44 +10:00
Peter Barker bc4ee95004 ArduSub: remove misleading NOINLINE comment
NOINLINE hasn't been used in years in these files
2021-07-08 21:28:38 +10:00
Stephen Dade 2a1f6e1b31 ArduSub: Add support for HIGH_LATENCY2 messages 2021-07-07 17:10:05 +10:00
Leonard Hall 266bd22df3 Sub: Use PosControl fixes 2021-05-24 20:13:37 +10:00
Peter Barker 2e23822b27 ArduSub: move handling of last-seen-SYSID_MYGCS up to GCS base class 2021-04-07 17:54:21 +10:00
Tom Pittenger 5b684e5e2b Sub: change SRx_ docs value 1 50 2021-03-03 18:17:22 +11:00
Peter Barker 840bdbba62 Sub: show frame class as part of banner
Similar to how Copter does in its equivalent method.

frame type is not used on Sub ATM
2021-02-12 08:37:20 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 664b181d16 ArduSub: Adapt to upstream mavlink changes to the SCALED_PRESSURE* messages 2020-07-29 14:34:22 +10:00
Randy Mackay b73d8b32de Sub: do not send ahrs3 mavlink message 2020-04-22 14:11:17 +09:00
Peter Barker 33f00c0051 ArduSub: 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
Willian Galvani ba415c99fe Sub: send Roll/Pitch Toggle flag 2020-03-30 11:19:45 -07:00
Peter Barker 4d0c61970d ArduSub: log disarm method 2020-02-22 12:16:29 +11:00
Peter Barker e97582add0 Sub: let AP_Vehicle base class worry about scheduler delay callback 2020-01-21 11:37:28 +11:00
Peter Barker 12cccac361 Sub: let GCS base class handle proximity and rangefinder messages 2019-12-24 12:08:54 +11:00
Willian Galvani c509b1caa2 Sub: Accept position_target_global_int for depth control in ALT_HOLD 2019-12-03 10:57:47 -05:00
Peter Barker 38a0fe4564 Sub: rename system_status as it won't be called from base class 2019-11-27 14:27:53 +11:00
Peter Barker 5ebf27ac61 Sub: rename parameter to avoid name conflict with lock 2019-11-12 16:33:12 +11:00
Peter Barker 5a28aa9c1b Sub: move dummy methods into system.cpp 2019-11-12 13:48:09 +11:00
Peter Barker 795afdd259 Sub: let GCS superclass specify param float capabilitiy 2019-11-05 11:26:23 +11:00
Michael du Breuil 3f94f0d517 Sub: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Peter Barker 6deac0fa42 Sub: implement dummy afs singleton getting to avoid linking AFS 2019-09-17 09:13:43 +10:00
Peter Barker 45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 68edf6351d Sub: tighten type on mavlink_coordinate_frame_to_location_alt_frame 2019-08-01 17:45:30 +10:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Pierre Kancir 147a678569 ArduSub: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker 0af3ecca70 Sub: split RC_CHANNELS messages onto separate ap_message ids 2019-07-09 13:08: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
Michael du Breuil ba65b163f7 Sub: Remove wrapper around MAVLink send heartbeat 2019-06-18 13:59:52 +01:00
Peter Barker 8566a17a1d Sub: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up

arming switch may be forced off using BRD parameter
2019-05-30 07:37:30 +09:00
Pierre Kancir 8425a58585 ArduSub: move check_latlng to Location 2019-04-08 12:56:01 -07:00
Peter Barker b3f76e39ec Sub: move command-long DO_SET_HOME up 2019-03-19 19:56:13 +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 eb7cf9843e Sub: use enum class for AltFrame enumeration 2019-03-19 10:31:18 +11:00
Peter Barker b1c789f73d Sub: move sending of RPM message up 2019-03-16 10:33:01 +09:00
Peter Barker c48042424b Sub: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker b04d084a50 Sub: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
Peter Barker 1ce80e1f17 Sub: remove stale STREAM_RAW_CONTROLLER_msgs variable 2019-02-20 19:23:54 +11:00
Peter Barker 57e8528a96 Sub: move update_sensor_flags to GCS_Sub.cpp 2019-02-20 11:57:00 +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