Andrew Tridgell
0d97b308b2
GCS_MAVLink: fixed corruption of FTP reply component ID
...
this led to not being able to do FTP transfers with
support.ardupilot.org unless MissionPlanner used the same component ID
as the support engineer GCS
2023-08-14 22:25:23 +10:00
olliw42
2f58d082f0
GCS_Common: brackets missing in switch case
2023-08-11 12:11:43 -07:00
davidsastresas
6a9b457be3
GCS_Common: autopilot_state_for_gimbal_device sends angular_velocity_z
2023-08-10 14:37:30 +09:00
Ryan Friedman
578ba20df0
GCS_MAVLink: Use renamed visual odom function
...
* Now called pose instead of position
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-10 13:58:00 +09:00
Peter Barker
6097f1aa61
GCS_MAVLink: allow removal of preflight commands to fail the autopilot
2023-08-10 07:11:22 +10:00
Peter Barker
77b8c96eae
GCS_MAVLink: add build_options.py option to remove fencepoint protocol
...
also gate more code on defines
Saves ~2kB
2023-08-09 17:53:54 +10:00
Peter Barker
13c83ee9f8
GCS_MAVLink: enable sending of RELAY_STATUS message
2023-08-09 07:44:07 +10:00
Peter Barker
d6979e62f0
GCS_MAVLink: handle mag cal as both COMMAND_LONG and COMMAND_INT
2023-08-08 10:06:13 +10:00
Peter Barker
8d30f84e73
GCS_MAVLink: move definition of HAL_HIGH_LATENCY2_ENABLED into config
2023-08-03 13:09:23 +10:00
Peter Barker
17ec5f7d3b
GCS_MAVLink: use long-to-int conversion code for SET_ROI_SYSID
...
also remove more code based on the mount-enabled define
2023-08-01 10:16:14 +10:00
Peter Barker
274aedeaae
GCS_MAVLink: rely on item conversion to run DO_SET_ROI_NONE when presented in COMMAND_LONG
2023-07-19 17:03:00 +09:00
Peter Barker
ae8d3724cd
GCS_MAVLink: convert to COMMAND_INT to handle MAV_CMD_DO_SET_HOME
2023-07-18 09:10:26 +10:00
Andy Piper
504fdb4ca3
GCS_MAVLink: squash bitwise | operator warnings
2023-07-13 11:02:40 +10:00
Peter Barker
f3e5e28364
GCS_MAVLink: zero structured passed in to convert_COMMAND_LONG_to_COMMAND_INT
2023-07-12 18:51:07 +10:00
Peter Barker
527f3d5728
GCS_MAVLink: add infrastructure to handle command longs as command ints
2023-07-12 18:51:07 +10:00
Andrew Tridgell
62b2fdb8f8
GCS_MAVLink: update to new read_locked() API
2023-07-12 17:06:02 +10:00
Max-001
afc019e1ea
EFI: added efi MavLink class
2023-07-11 12:32:19 +10:00
Iampete1
352f721626
GCS_MAVLink: allow scripting to block commands
2023-07-04 10:20:42 +10:00
Andrew Tridgell
7fa0de37c3
GCS_MAVLink: added mutex deadlock test code
2023-06-27 10:11:46 +10:00
Peter Barker
a2ecaf737d
GCS_MAVLink: correct define around use of ins singleton
2023-06-21 22:28:48 +10:00
Peter Barker
ed96bb6dd4
GCS_MAVLink: rely on HAL_LOGGING_ENABLED for sending logs
2023-06-21 22:28:48 +10:00
Peter Barker
a6a691cce3
GCS_MAVLink: add and use AP_GPS_ENABLED
2023-06-21 22:28:48 +10:00
Peter Barker
61affcf4e4
GCS_MAVLink: add and use AP_BARO_ENABLED
2023-06-21 22:28:48 +10:00
Peter Barker
fc55bf0bc4
GCS_MAVLink: add and use AP_COMPASS_ENABLED
2023-06-21 22:28:48 +10:00
Peter Barker
42e42dc991
GCS_MAVLink: add and use AP_AHRS_ENABLED
2023-06-21 22:28:48 +10:00
Peter Barker
07bf38d7f8
GCS_MAVLink: create and use AP_BATTERY_ENABLED
...
simply as a way to get HAL_PERIPH_ENABLE_BATTERY out of the main code
2023-06-21 22:28:48 +10:00
Peter Barker
e3c4d9fd23
GCS_MAVLink: allocate mavlink status and send buffers dynamically
...
This makes ArduPilot responsible for supplying buffers to the mavlink layer, rather than that layer allocating them based on MAVLINK_COMM_NUM_BUFFERS.
We will want to rename MAVLINK_COMM_NUM_BUFFERS to AP_GCS_MAX_BACKENDS at some stage.
2023-06-21 17:50:31 +10:00
Andrew Tridgell
fc904011fb
GCS_MAVLink: moved MAV_CMD_AIRFRAME_CONFIGURATION from copter
2023-06-21 17:38:28 +10:00
Peter Barker
86d09d9096
GCS_MAVLink: add option to disable relay and servorelay libraries
2023-06-20 09:36:39 +10:00
bugobliterator
e30cc65f14
GCS_MAVLink: move sysid_my_gcs to be public
2023-06-17 14:49:22 +10:00
Randy Mackay
02fdb8272f
GCS_MAVLink: support camera info and settings
2023-06-16 14:30:46 +10:00
davidsastresas
e1e2d68815
GCS_Common: handle CMD_DO_SET_ROI_NONE for command int packets
2023-06-08 21:12:50 +10:00
Peter Barker
312254f761
GCS_MAVLink: correct detection of feature AP_FILESYSTEM_FORMAT_ENABLED
2023-06-08 08:55:26 +10:00
Andrew Tridgell
1ab278d127
GCS_MAVLink: support EXTERNAL_POSITION_ESTIMATE command_int
2023-06-06 15:19:12 +10:00
Peter Barker
4ee58c4496
GCS_MAVLink: remove more compass cal if it is not enabled
2023-05-30 23:05:29 +10:00
Peter Barker
92942137fa
GCS_MAVLink: remove use of AP_Mount.h from headers
2023-05-29 09:08:55 +10:00
bugobliterator
9ce37e5f98
GCS_MAVLink: scripting sends mavlink messages directly
2023-05-24 19:03:28 +10:00
Michael du Breuil
a934c90e69
GCS_MAVLink: Route MAVLink data to/from scripting
2023-05-24 19:03:28 +10:00
Asif Khan
9ef3241949
GCS_MAVLink: add GIMBAL_MANAGER_SET_PITCHYAW message support
2023-05-24 12:36:37 +10:00
davidsastresas
e4428f538d
GCS_MAVLink: support gimbal_manager_status and do_gimbal_manager_configure
...
Co-authored-by: Randy Mackay <rmackay9@yahoo.com>
2023-05-17 12:38:49 +10:00
Peter Barker
d46d2189ec
GCS_MAVLink: replace HAVE_FILESYSTEM_SUPPORT with backend defines
2023-05-17 09:40:39 +10:00
Peter Barker
29d6c51f43
SITL: stop using mavlink channels for packing messages
...
precedent was set in the mavlink rangefinder; we don't need to re-use SITL buffers for this
2023-05-16 10:17:56 +10:00
Randy Mackay
858a1e8b40
GCS_MAVLink: pass image tracking messages to AP_Camera
2023-05-08 21:26:35 +10:00
Peter Barker
feaed97601
GCS_MAVLink: deprecate handling of MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES
...
AUTOPILOT_VERSION - the message this returns - can be requested with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
Peter Barker
d0b96d4cd9
GCS_MAVLink: deprecate handling of AUTOPILOT_VERSION_REQUEST
...
This can be done equivalently with MAV_CMD_REQUEST_MESSAGE
2023-04-26 20:34:42 +10:00
Randy Mackay
bdb3618de7
GCS_MAVLink: support requests for gimbal-manager-information
2023-04-25 15:07:35 +10:00
Michael du Breuil
a9d696752d
GCS_MAVLink: Factor accel cal work out to INS library
2023-04-21 21:33:16 +10:00
Peter Barker
15ec9f6f82
GCS_MAVLink: allow Copter to emit MISSION_STATE_PAUSED when paused in auto
2023-04-21 09:49:55 +10:00
Peter Barker
510ed4cf2f
GCS_MAVLink: add support for more MISSION_CURRENT fields
...
- a state so someone can see if the mission is complete
- total number of waypoints
2023-04-21 09:49:55 +10:00
Peter Barker
a657c6ea75
GCS_MAVLink: remove CANTester
2023-04-18 11:43:58 +10:00