Randy Mackay
0ac53a7df4
GCS_MAVLink: mission item support more mav frames
2019-10-31 20:08:01 +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
c03796d7de
GCS_MAVLink: fixed uninitialised bytes in send_named_float()
...
this fixes an issue with mavproxy with python3
2019-10-17 13:50:35 +11:00
Randy Mackay
7ce2fb8783
GCS_Mavlink: handle_preflight_reboot made virtual
2019-10-15 07:41:44 +09: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
8686197c59
GCS_MAVLink: add comment above set-message-interval
2019-10-02 16:17:09 +09: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
Andrew Tridgell
0deef76875
GCS_MAVLink: use HAL_MEM_CLASS for status sizes
2019-10-01 09:29:55 +10: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
Peter Barker
74aed5aef8
GCS_MAVLink: cope with polyfence holding boundary points
2019-09-28 07:58:48 +09:00
Peter Barker
bc8e56966f
GCS_MAVLink: squelched rally-points-received message
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
Michael du Breuil
5000891a76
GCS_MAVLink: remove some unused includes
2019-09-19 10:48:25 +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
8bb6a67b36
GCS_MAVLink: refuse set of read-only parameters
2019-09-12 10:50:30 +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
9da0efaaef
GCS_MAVLink: fill SYS_STATUS bits from AC_Fence
2019-09-03 09:12:24 +10:00
Michael du Breuil
c85c9faa6d
GCS_MAVLink: Directly include needed headers
2019-08-28 13:13:03 +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
2acc53ec17
GCS_MAVLink: break out of loop statement once we have a result
2019-08-24 15:33:50 +10:00
Peter Barker
052e721622
GCS_MAVLink: tweak timings debug messages
2019-08-24 15:33:50 +10:00
Peter Barker
4f9d1ada33
GCS_MAVLink: deny setting MIS_TOTAL parameter
...
Closes #11413
GCS_MAVLink: conform to parameter protocol requirements while ignoring sets
GCS_MAVLink: use internal-use-only param bit
2019-08-22 09:23:56 +10:00
Peter Barker
03c439f9ab
GCS_MAVLink: make update_sensor_status_flags private
2019-08-17 17:45:03 +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
4e95832433
GCS_MAVLink: send mission acks for bad MISSION_ITEM requests
2019-08-06 13:58:44 +10:00
Peter Barker
afd623a6fa
GCS_MAVLink: use send_message to send mission items
...
It is less error-prone to use this new send_message function.
In particular, one of the parameters to these functions was using the
wrong constant when sending a mission item message.
2019-08-06 13:58:44 +10:00
Peter Barker
8fc6e16a4a
GCS_MAVLink: fill missing seq and type fields in MISSION_ITEM
...
GCS_MAVLink: fill mission type in return MISSION_ITEM packets
GCS_MAVLink: fill in return sequence number for MISSION_ITEM messages
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
71533c7c5c
GCS_MAVLink: correct frame on rally mission items
2019-08-02 09:17:04 +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
Peter Barker
979a9fb679
GCS_MAVLink: ensure item being converted is a rally point
2019-08-01 17:44:37 +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
Andrew Tridgell
58b739db18
GCS_MAVLink: allow non-register device access with devop
...
useful for i2c devices such as LW20 lidar
2019-07-19 17:05:23 +10: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
Peter Barker
210c2070a1
GCS_MAVLink: remove include of AP_Param.h in GCS_MAVLink.h
...
This will help break include loops.
2019-07-17 18:05:29 +10:00
Pierre Kancir
b1506ca652
GCS_MAVLink: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00