Peter Barker
402f3ec09c
GCS_MAVLink: honour coordinate altitude frames for DO_SET_ROI
...
Also use {} to construct the location.
Note the assumption that the frame is relative-to-home when we receive
the command via COMMAND (as opposed to COMMAND_LONG)
Note that this is a behavioural change as
5 years ago
Peter Barker
b9dbfff0d0
GCS_MAVLink: announce capabilities compass-cal and param float for all vehicles
5 years ago
Michael du Breuil
6f538dd45a
GCS_MAVLink: Initial FTP support
5 years ago
Peter Barker
34eff6d1c6
GCS_MAVLink: adjust for proximity status namespace change
5 years ago
Peter Barker
5c3a0926a1
GCS_MAVLink: adjust for proximity rangefinder types changing namespacing
5 years ago
Andrew Tridgell
4593697634
GCS_MAVLink: use new flash_bootloader() API
5 years ago
Michael du Breuil
cb1b236439
GCS_MAVLink: Use the vehicle singleton to directly set the flight mode
5 years ago
Andrew Tridgell
29e65a7294
GCS_MAVLink: supply IMU temperature in mavlink extensions
5 years ago
Do Carmo Lucas
dc4ad26e96
GCS_MAVLink: updates to support the latest stable mavlink changes (IMU temperature extension)
5 years ago
Randy Mackay
3a113a31bb
GCS_MAVLink: minor fix to set_message_interval
5 years ago
Tatsuya Yamaguchi
9a99d9bff5
GCS_MAVLink: add set_message_interval functions
5 years ago
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
5 years ago
Randy Mackay
5e3c6b4d3a
GCS_MAVLink: allow proximity to send only upward facing distances
...
this removes the requirement that a horizontal proximity sensor be enabled
5 years ago
Peter Barker
2f60b230cd
GCS_MAVLink: use singleton to get AP_AdvancedFailsafe pointer
5 years ago
Peter Barker
8da978b913
GCS_MAVLink: use sending_mavlink1 method in send_rc_channels_raw
6 years ago
Andrew Tridgell
98c2606c0a
GCS_MAVLink: fixed assumption on return of snprintf
6 years ago
Peter Barker
8fc55b9678
GCS_MAVLink: remove comm_get_available
...
available returns an unsigned integer, so this was just weird
6 years ago
Peter Barker
df5921a87c
GCS_MAVLink: gate AP_DEVO_Telem behind !HAL_MINIMIZE_FEATURES
6 years ago
Michael du Breuil
e5eeb6181d
GCS_MAVLink: Remove the usage of force_safety_no_wait
6 years ago
Michael du Breuil
a74f00d045
GCS_MAVLink: Remove single use method
6 years ago
Peter Barker
5d9b332bcb
GCS_MAVLink: log exectuted COMMAND_LONG and COMMAND_INT packets
6 years ago
Andrew Tridgell
cfc37f2089
GCS_MAVLink: log corrected timestamp for vision data
...
this allows for debugging of link lag issues
6 years ago
Peter Barker
052e721622
GCS_MAVLink: tweak timings debug messages
6 years ago
Peter Barker
74670a77be
GCS_MAVLink: avoid allocating a GCS_MAVLINK per mavlink channel
6 years ago
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.
6 years ago
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.
6 years ago
Peter Barker
57528b94cf
GCS_MAVLink: allow complete() call on subclasses to fail
...
Also terminate uploads if any error occurs fetching items
6 years ago
Peter Barker
4b012ab62b
GCS_MAVLink: deny upload of non-MISSION items if not doing mavlink2
6 years ago
Peter Barker
cf0b7cf016
GCS_MAVLink: pass link object in place of channel to compass cal
...
Also eliminate intermediate function as just adding noise
6 years ago
Peter Barker
880e96448b
GCS_MAVLink: tighten type on mavlink_coordinate_frame_to_location_alt_frame
6 years ago
Randy Mackay
767408ffe9
GCS_MAVLink: resolve gcs::send_text compiler warning
6 years ago
Peter Barker
5e55aedd20
GCS_MAVLink: add printf-format attribute to send_text methods
6 years ago
Peter Barker
0bbe049477
GCS_MAVLink: assert max length of statustexts we send to the GCS
6 years ago
Peter Barker
93ca243987
GCS_MAVLink: rearrange mission item handling code
...
This splits the missionitemprotocol handling entirely into separate
header files and separate compilation units.
6 years ago
Pierre Kancir
b1506ca652
GCS_MAVLink: pass mavlink_message_t by const reference
6 years ago
Peter Barker
459680e7c8
GCS_MAVLink: make Avoidance responsible for sending collision message
6 years ago
Michael du Breuil
b3c6d3d75a
GCS_MAVLink: Refactor battery current interface
6 years ago
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
6 years ago
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.
6 years ago
Peter Barker
c8353c1c13
GCS_MAVLink: fill target system and target component in MISSION_ITEM responses
6 years ago
Peter Barker
ebd8170a15
GCS_MAVLink: add missing include for AP_RTC
6 years ago
Michael du Breuil
18e979fd4f
GCS_MAVLink: Include needed AP_Baro.h
6 years ago
Michael du Breuil
f955a4e4d5
GCS_MAVLink: Don't retain a FrSky instance if we aren't using it
...
Saves 96 bytes of RAM
6 years ago
Peter Barker
278ac5e6ed
GCS_MAVLink: correct deferred body timing debug
6 years ago
Peter Barker
feddaabc42
GCS_MAVLink: handle out-of-time to send messages in parent class
6 years ago
Andrew Tridgell
f28df4dff1
GCS_MAVLink: support MAV_CMD_BATTERY_RESET command
6 years ago
Peter Barker
a55c40949b
GCS_MAVLink: remove pointless protocol parameter to setup_uart
6 years ago
Peter Barker
ca449cd979
GCS_MAVLink: stop pointlessly passing serial manager around
6 years ago
Peter Barker
45fab82345
GCS_MAVLink: eliminate redundant static pointer to serialmanager
6 years ago
Peter Barker
c39a622653
GCS_MAVLink: take sw_version from AP_FWVersion struct
6 years ago