Randy Mackay
188fdfb1b8
GCS_MAVLink: send optflow message even if no height estimate
2020-01-06 11:36:43 +09:00
Andrew Tridgell
1b528137f7
GCS_MAVLINK: cope with AP_Frsky_Telem being created after init
...
may be created by the FPort backend
2020-01-02 09:52:57 +11:00
Andrew Tridgell
c6322c7c98
GCS_MAVLink: send abs throttle in VFR_HUD
2019-12-24 15:14:03 +11:00
Peter Barker
01710c035e
GCS_MAVLink: handle proximity and rangefinder messages
2019-12-24 12:08:54 +11:00
Oliver Walters
5fa54f3986
GCS_MAVLink: added support for Piccolo CAN ESCs
2019-12-22 09:48:40 +11:00
Andrew Tridgell
dd73eac08c
GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW
2019-12-18 17:20:37 +11:00
Peter Barker
ebbcd00873
GCS_MAVLink: send statustext to all GCSs until update_send is called
...
until update_send it called we don't mark channels as streaming, so
send_statustext won't send to that channel.
Calculating the streaming mask could have been done as part of the init
call, but this fix may allow for information getting to the user in the
case that the streaming parameters are all zero, too.
2019-12-18 14:36:58 +11:00
Andrew Tridgell
f8f591c7db
GCS_MAVLink: fixed critical error on prefight cal ops
2019-12-13 09:30:48 +11:00
Peter Barker
314ea32ede
GCS_MAVLink: any internal error means MAV_STATE_CRITICAL
2019-11-27 14:27:53 +11:00
Marian Soban
6e961b55eb
GCS_MAVLink: LTM telemetry support
2019-11-26 12:14:13 +11:00
Andrew Tridgell
2b27cd2ce9
Plane: Add EFI Support
2019-11-17 20:10:54 +11:00
Andrew Tridgell
00e3344321
GCS_MAVLink: add EFI_STATUS message
2019-11-17 20:10:54 +11:00
Peter Barker
7d2557b316
GCS_MAVLink: correct txspace return value issues
...
- checking of space in send_to_active_channels was incorrect - did not
take into account locked status of the channel
- corrected return value on comm_get_txspace - took a uint32_t, cast it
to int16_t, checked it for zero, then cast it to uint16_t on return.
That's just... odd.
2019-11-12 16:33:12 +11:00
Peter Barker
a893a5483c
GCS_MAVLink: support sysid targetting
2019-11-12 07:52:22 +08:00
Peter Barker
ac7111f1d1
GCS_MAVLink: adjust for renaming of RangeFinder files
2019-11-12 07:14:37 +08:00
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
2019-11-05 19:55:45 +11:00
Peter Barker
b9dbfff0d0
GCS_MAVLink: announce capabilities compass-cal and param float for all vehicles
2019-11-05 11:26:23 +11:00
Michael du Breuil
6f538dd45a
GCS_MAVLink: Initial FTP support
2019-11-02 22:52:06 +11:00
Peter Barker
34eff6d1c6
GCS_MAVLink: adjust for proximity status namespace change
2019-10-31 11:58:15 +08:00
Peter Barker
5c3a0926a1
GCS_MAVLink: adjust for proximity rangefinder types changing namespacing
2019-10-31 11:58:15 +08:00
Andrew Tridgell
4593697634
GCS_MAVLink: use new flash_bootloader() API
2019-10-25 21:36:55 +11: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