Peter Barker
90f41c72f4
ArduSub: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Ohad Nir
8d366c16fb
Sub:consider RC_CHANNELS_OVERRIDE for pilot_input_failsafe
2022-12-17 11:57:22 +11:00
Peter Barker
78808456af
ArduSub: stop sending BATTERY2 by default
2022-10-18 11:12:49 +11:00
Tom Pittenger
ea27d40cf6
Sub: use new function from TempSensor refactor
2022-10-18 10:05:31 +11:00
Tom Pittenger
be42e53303
Sub: use new AP_TemperatureSensor library
...
Co-authored-by: Joshua Henderson <hendjoshsr71@gmail.com>
2022-10-18 10:05:31 +11:00
Peter Barker
365d2ef3ff
ArduSub: add missing include
2022-09-28 20:10:21 +10:00
Peter Barker
48308b8156
ArduSub: add and use AP_RPM_ENABLED
2022-09-20 09:28:27 +10:00
Michael du Breuil
e5a6e1133f
Sub: Don't send HWSTATUS by default
2022-09-13 14:27:06 +10:00
Andrew Tridgell
b3e4306b70
Sub: removed use of "blended" earth frame accel
2022-08-21 18:51:59 +10:00
Randy Mackay
796b39e908
Sub: replace send-mount-status with send-gimbal-device-attitude-status
2022-08-15 20:29:25 -04:00
Randy Mackay
b0b6d35a5a
Sub: remove unused MSG_GIMBAL_REPORT
2022-06-07 09:27:47 +10:00
Peter Barker
1764dce39e
ArduSub: remove handling of MAVLINK_MSG_ID_SET_HOME_POSITION
...
We decided to remove this after 4.2 was out in favour of
MAV_CMD_DO_SET_HOME which has been available since 2015.
The gcs-maintainers list was notified in Feburary.
2022-05-10 09:46:22 +10:00
ES-Alexander
21cd4f1976
sub: GCS_Mavlink: fix depth hold typemask bug
2022-05-05 17:22:05 -03:00
Peter Barker
42383dd6f2
ArduSub: stop libraries including AP_Logger.h in .h files
...
AP_Logger.h is a nexus of includes; while this is being improved over
time, there's no reason for the library headers to include AP_Logger.h
as the logger itself is access by singleton and the structures are in
LogStructure.h
This necessitated moving The PID_Info structure out of AP_Logger's
namespace. This cleans up a pretty nasty bit - that structure is
definitely not simply used for logging, but also used to pass pid
information around to controllers!
There are a lot of patches in here because AP_Logger.h, acting as a
nexus, was providing transitive header file inclusion in many (some
unlikely!) places.
2022-04-08 19:18:38 +10:00
murata
e52931c692
Sub: Change the process for errors
2022-03-08 14:36:19 -08:00
Peter Barker
c33590a63b
ArduSub: add RebootRequred to stream rate parameters
2022-03-01 11:01:12 +11:00
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