Peter Barker
f8c2ceced7
GCS_MAVLink: add support for MAV_CMD_DO_SET_ROI_NONE
2023-03-07 08:06:01 +09:00
Peter Barker
adb364cd98
GCS_MAVLink: have GCS_MAVLINK::send_message(id, buffer) check size
2023-02-25 17:41:44 +11:00
Peter Barker
035f49c248
GCS_MAVLink: add method to get link (not just channel number) for mavtype and compid
2023-02-24 09:21:09 +11:00
Stephen Dade
a39a933cbd
GCS_Mavlink: Move high_latency_link_enabled to GCS
2023-02-21 22:32:32 +11:00
Peter Barker
8b38cc671a
GCS_MAVLink: add in-progress to formatsdcard process
2023-02-21 17:07:41 +11:00
Peter Barker
11ec22900b
GCS_MAVLink: add support for mavlink in-progress message
2023-02-21 17:07:41 +11:00
Peter Barker
8259f3f870
GCS_MAVLink: add and use AP_ADVANCEDFAILSAFE_ENABLED
2023-02-08 19:00:13 +11:00
Peter Barker
80b781634d
GCS_MAVLink: tidy check of valid channel in get_vfr_hud_throttle
...
do a nullptr check rather than checking against num_gcs
2023-02-07 10:07:39 +11:00
Peter Barker
14d1a075db
GCS_MAVLink: remove internal error from chan(), correct bounds check
...
It's been argued that callers should always be checking for nullptr anyway. This is the method which is best qualified to work out whether the channel actually corresponds to a link, so it makes sense for the check to be here
2023-02-07 10:07:39 +11:00
Peter Barker
c871aaefb7
GCS_MAVLink: 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
Peter Barker
263216669d
GCS_MAVLink: add warning about providing full-sized buffer to send_parameter_value
2023-02-02 11:42:29 +11:00
Peter Barker
1224cde392
GCS_MAVLink: add documentation for logged MAV stats Flags
2023-01-25 19:50:34 +11:00
Andrew Tridgell
57ee3a4e02
GCS_MAVLink: send FTP replies directly from the FTP thread
...
this saves over 700 bytes of memory while also making ftp faster
2023-01-08 15:11:32 +11:00
Andrew Tridgell
b80dca38ff
GCS_MAVLINK: added check_payload_size() method
...
this saves flash by moving common code to cpp
2023-01-06 22:50:42 +11:00
Peter Barker
70a5d8be76
GCS_MAVLink: remove unnecessary include of OpticalFlow header in GCS.h
...
introduces unnecessary dependencies
2022-12-15 21:07:31 +11:00
Peter Barker
4e61de7083
GCS_MAVLink: 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
3bd62c0e68
GCS_MAVLink: factor out handle_manual_control_axes
2022-11-23 19:33:46 +11:00
Peter Barker
850d47752f
GCS_MAVLink: allow FRSky to be compiled out
2022-11-15 18:44:45 +11:00
Peter Barker
06d90b1a1e
GCS_MAVLink: include cleanups
2022-11-08 09:49:19 +11:00
Peter Barker
65a92a481a
GCS_MAVLink: tidy AP_SerialManager.h includes
2022-11-08 09:49:19 +11:00
Peter Barker
4f0d301edb
GCS_MAVLink: move defaulting of HAL_HIGH_LATENCY2_ENABLED to minimize_features.inc
2022-10-25 10:10:44 +11:00
Andrew Tridgell
0858eb0dba
GCS_MAVLink: send HYGROMETER_SENSOR message if data available
2022-10-19 13:17:30 +11:00
Peter Barker
f75f68c2f1
GCS_MAVLink: add AP_MAVLINK_BATTERY2_ENABLED define
...
on by default but can be turned off in next stable
2022-10-18 11:12:49 +11:00
Peter Barker
6c3f9f9778
GCS_MAVLink: fix set-default-rate of a message we don't send by default
...
this fixes a problem where a GCS must know that a message isn't sent by default if they want to set it back to its default rate
2022-10-18 10:11:00 +11:00
Peter Barker
0f359c6a4e
GCS_MAVLink: remove individual static members for fence, mission and rally
2022-10-04 11:17:35 +11:00
Peter Barker
3b3497eba0
GCS_MAVLink: move definition of HAL_GCS_ENABLED to GCS_config.h
2022-09-27 09:26:45 +10:00
Peter Barker
805b2921ed
GCS_MAVLink: fold AP_Filesystem_Available.h into AP_Filesystem_config.h
2022-09-15 10:53:02 +10:00
Peter Barker
c8a1fff8ae
GCS_MAVLink: populate sysid/compid in reboot ACK
2022-09-14 20:16:38 +10:00
olliw42
c034f8a099
GCS_MAVLink: add find_by_mavtype_and_compid
2022-09-12 08:44:38 +09:00
Michael du Breuil
5282dba42a
GCS_MAVLink: Rate limit blocking accel calibrations
...
This allows us to drop any queued commands that may have arrived while
we were calibrating. Rather then entering a second and unexpected
calibration.
2022-09-09 08:52:14 +10:00
Michael du Breuil
ff94ef1c60
GCS_MAVLink: Check for mission space before sending items
2022-09-07 17:52:23 +10:00
Randy Mackay
c8996c04e1
GCS_MAVLink: replace send-mount-status with send-gimbal-device-attitude-status
2022-08-15 20:29:25 -04:00
Roel Schiphorst
3bd792295c
GCS_MAVLINK: add OpenDroneID messages
2022-08-09 14:37:08 +10:00
Iampete1
31bc6d9ec4
GCS_MAVLink: change AC_FENCE to AP_FENCE_ENABLED
2022-07-27 19:04:56 +10:00
Iampete1
5fa29eb01a
GCS_MAVLink: fix complation without fence
2022-07-27 19:04:56 +10:00
Peter Barker
cbd591f2ba
GCS_MAVLink: save some bytes by removing empty methods based on #ifs
2022-07-22 13:49:51 +10:00
Peter Barker
ba2b7b8014
GCS_MAVLink: remove mavlink-specific methods from AP_SerialManager
2022-07-13 18:32:35 +10:00
Peter Barker
38119e17c7
GCS_MAVLink: correct gcs_out_of_space_to_send methodname
...
the "_count" is incorrect given the method which this calles on the link object
2022-07-12 11:10:53 +10:00
Peter Barker
5f095304cf
GCS_MAVLink: add AP_LTM_TELEM_ENABLED
2022-06-28 20:19:41 +10:00
Randy Mackay
f83b4cdb40
GCS_MAVLink: support sending AUTOPILOT_STATE_FOR_GIMBAL_DEVICE
2022-06-15 09:07:14 +09:00
Randy Mackay
3ac5ad8e33
GCS_MAVLink: remove unused send_gimbal_report
2022-06-07 09:27:47 +10:00
Stephen Dade
1344a0f41a
GCS_MAVLink: Add support for High Latency MAVLink protocol
2022-03-03 14:56:15 +11:00
Peter Barker
7638cbf001
GCS_MAVLink: include cleanups
2022-03-01 11:21:33 +11:00
Andrew Tridgell
ba502b462f
GCS_MAVLINK: support CAN_FRAME and MAV_CMD_CAN_FORWARD
2022-02-12 16:36:05 +11:00
Peter Barker
29a469432e
GCS_MAVLink: send deprecated message warning for MAVLINK_MSG_ID_SET_HOME_POSITION
2022-02-10 12:13:43 +11:00
Peter Barker
dffec9325e
GCS_MAVLink: create and use location_from_command_t
2022-02-09 09:15:11 +11:00
Peter Barker
e9358ff491
GCS_MAVLink: 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
Joshua Henderson
f3cac9e1aa
GCS_MAVLink: add send_attitude_target
2022-02-07 08:24:35 +09:00
Josh Henderson
1200f25e05
GCS_MAVLINK: move high_latency_air_temperature up
2022-01-19 18:21:32 +11:00
Peter Barker
948e00a072
GCS_MAVLink: make send_system_time const
...
needed when sending from const functions
2022-01-06 09:14:33 +11:00