Peter Barker
e313e89d1b
GCS_MAVLink: do not process commands after we have decided to reboot
2020-08-27 20:13:03 +09:00
Andrew Tridgell
8c9efec4e3
GCS_MAVLink: fixed build with updated mavlink xml
2020-05-11 13:59:17 +10:00
Andrew Tridgell
af11a8e572
GCS_MAVLink: consider NO_CHANGE as success for bootloader flash
...
this prevents GCS users from seeing "update failed"
2020-05-11 13:45:08 +10:00
Peter Barker
96c97589ae
GCS_MAVLink: divide time allowed to send messages fairly
2020-05-06 14:34:21 +09:00
Matt Lawrence
0bef5bd9dd
GCS_Mavlink: Add routing for GoPro heartbeat
2020-05-06 14:09:16 +09:00
Andrew Tridgell
d3ee8c8795
GCS_MAVLink: don't send statustext from other than main thread
...
This fixes high stack usage in the RCIN thread when it notifies the
GCS of a new RCIN protocol. The problem is severe when signing is
enabled, as signing adds over 500 bytes to stack cost of sending a
mavlink msg
fixes issue #13615
2020-02-20 12:59:01 +11:00
Randy Mackay
4b684085cc
GCS_MAVLink: send rc output mode banner to GCS
2020-02-20 09:36:53 +09:00
Andrew Tridgell
48e116afca
GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW
2020-01-09 15:18:53 +11:00
Randy Mackay
a727ba6cf7
GCS_MAVLink: send optflow message even if no height estimate
2020-01-07 15:48:06 +09:00
Peter Barker
730257fe26
GCS_MAVLink: adjust for proximity status namespace change
2019-12-16 15:00:03 +09:00
Peter Barker
21a5618517
GCS_MAVLink: adjust for proximity rangefinder types changing namespacing
2019-12-16 14:59:41 +09:00
Andrew Tridgell
418eb48bb2
GCS_MAVLink: fixed critical error on prefight cal ops
2019-12-16 14:18:57 +09:00
Peter Barker
a1a82e998a
GCS_MAVLink: any internal error means MAV_STATE_CRITICAL
2019-12-16 14:02:39 +09:00
Michael du Breuil
bc8175940e
GCS_MAVLink: Initial FTP support
2019-12-16 13:33:08 +09:00
Michael du Breuil
cb1b236439
GCS_MAVLink: Use the vehicle singleton to directly set the flight mode
2019-10-25 08:48:22 +08:00
Andrew Tridgell
29e65a7294
GCS_MAVLink: supply IMU temperature in mavlink extensions
2019-10-10 13:23:03 +11:00
Do Carmo Lucas
dc4ad26e96
GCS_MAVLink: updates to support the latest stable mavlink changes (IMU temperature extension)
2019-10-10 13:23:03 +11:00
Randy Mackay
3a113a31bb
GCS_MAVLink: minor fix to set_message_interval
2019-10-02 16:09:44 +09:00
Tatsuya Yamaguchi
9a99d9bff5
GCS_MAVLink: add set_message_interval functions
2019-10-02 16:09:44 +09:00
Peter Barker
6d0c5da84a
GCS_MAVLink: allow upload of fence using mission item protocol
...
GCS_MAVLink: add support for fence inclusion circles
GCS_MAVLink: factor out a transfer_is_complete; start commenting properly
2019-09-28 07:58:48 +09:00
Randy Mackay
5e3c6b4d3a
GCS_MAVLink: allow proximity to send only upward facing distances
...
this removes the requirement that a horizontal proximity sensor be enabled
2019-09-25 15:22:13 +09:00
Peter Barker
2f60b230cd
GCS_MAVLink: use singleton to get AP_AdvancedFailsafe pointer
2019-09-17 09:13:43 +10:00
Peter Barker
8da978b913
GCS_MAVLink: use sending_mavlink1 method in send_rc_channels_raw
2019-09-12 16:10:23 +10:00
Andrew Tridgell
98c2606c0a
GCS_MAVLink: fixed assumption on return of snprintf
2019-09-12 08:43:31 +10:00
Peter Barker
8fc55b9678
GCS_MAVLink: remove comm_get_available
...
available returns an unsigned integer, so this was just weird
2019-09-10 15:45:27 +10:00
Peter Barker
df5921a87c
GCS_MAVLink: gate AP_DEVO_Telem behind !HAL_MINIMIZE_FEATURES
2019-09-04 17:47:33 +10:00
Michael du Breuil
e5eeb6181d
GCS_MAVLink: Remove the usage of force_safety_no_wait
2019-09-04 07:14:50 +10:00
Michael du Breuil
a74f00d045
GCS_MAVLink: Remove single use method
2019-09-03 14:35:17 +10:00
Peter Barker
5d9b332bcb
GCS_MAVLink: log exectuted COMMAND_LONG and COMMAND_INT packets
2019-08-27 09:32:00 +10:00
Andrew Tridgell
cfc37f2089
GCS_MAVLink: log corrected timestamp for vision data
...
this allows for debugging of link lag issues
2019-08-26 12:27:31 +10:00
Peter Barker
052e721622
GCS_MAVLink: tweak timings debug messages
2019-08-24 15:33:50 +10:00
Peter Barker
74670a77be
GCS_MAVLink: avoid allocating a GCS_MAVLINK per mavlink channel
2019-08-14 18:25:43 +10:00
Peter Barker
67bf00c1c3
GCS_MAVLink: ensure payload space before sending message ack
...
Also add comment about how we shouldn't be sending this message at all.
2019-08-13 16:48:17 +10:00
Peter Barker
bb542ca39a
GCS_MAVLink: queue AUTOPILOT_VERSION for sending instead of direct-send
...
Also allows the message to be requested for streaming or with
REQUEST_MESSAGE
We weren't checking for buffer space before sending this out, so it was
a possible source of corruption.
2019-08-13 16:29:45 +10:00
Peter Barker
57528b94cf
GCS_MAVLink: allow complete() call on subclasses to fail
...
Also terminate uploads if any error occurs fetching items
2019-08-07 12:07:59 +10:00
Peter Barker
4b012ab62b
GCS_MAVLink: deny upload of non-MISSION items if not doing mavlink2
2019-08-06 13:58:44 +10:00
Peter Barker
cf0b7cf016
GCS_MAVLink: pass link object in place of channel to compass cal
...
Also eliminate intermediate function as just adding noise
2019-08-05 09:23:10 +10:00
Peter Barker
880e96448b
GCS_MAVLink: tighten type on mavlink_coordinate_frame_to_location_alt_frame
2019-08-01 17:45:30 +10:00
Randy Mackay
767408ffe9
GCS_MAVLink: resolve gcs::send_text compiler warning
2019-07-30 09:02:39 +09:00
Peter Barker
5e55aedd20
GCS_MAVLink: add printf-format attribute to send_text methods
2019-07-26 10:54:41 +10:00
Peter Barker
0bbe049477
GCS_MAVLink: assert max length of statustexts we send to the GCS
2019-07-22 23:05:15 -07:00
Peter Barker
93ca243987
GCS_MAVLink: rearrange mission item handling code
...
This splits the missionitemprotocol handling entirely into separate
header files and separate compilation units.
2019-07-18 10:48:57 +09:00
Pierre Kancir
b1506ca652
GCS_MAVLink: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Peter Barker
459680e7c8
GCS_MAVLink: make Avoidance responsible for sending collision message
2019-07-16 09:52:54 +10:00
Michael du Breuil
b3c6d3d75a
GCS_MAVLink: Refactor battery current interface
2019-07-14 00:28:00 -07:00
Peter Barker
6cb8fcc466
GCS_MAVLink: move use of AP_AHRS_NAVEKF_AVAILABLE into cpp file
...
This is defined in AP_AHRS which we only get transitively in the header
2019-07-09 22:32:57 +10:00
Peter Barker
1ebbe45fe1
GCS_MAVLink: split sending of RC_CHANNELS and RC_CHANNELS_RAW
...
Before this patch is applied we may never send the second message
because there's not room for it in the buffer and we can't return
failure-to-send (always interpreted as "retry") as we're in a void function.
Further, if you are on a mavlink2 connection we will not send out the
RC_CHANNELS_RAW message, depriving the user of any RC_CHANNELS messages.
This patch does have the drawback of doing more work on a mavlink1
connection - it has to fetch the data twice. On the other hand, it also
allows the GCS to set the message rates independently for both
RC_CHANNELS and RC_CHANNELS_RAW so one or the other can be squelched.
That could be handy for reducing bandwidth if you know you're not using
more than 8 input channels.
2019-07-09 13:08:45 +10:00
Peter Barker
c8353c1c13
GCS_MAVLink: fill target system and target component in MISSION_ITEM responses
2019-07-09 09:25:06 +10:00
Peter Barker
ebd8170a15
GCS_MAVLink: add missing include for AP_RTC
2019-07-04 13:57:40 +10:00
Michael du Breuil
18e979fd4f
GCS_MAVLink: Include needed AP_Baro.h
2019-06-27 14:56:21 +10:00