Commit Graph

1099 Commits

Author SHA1 Message Date
Andrew Tridgell e18e16041f GCS_MAVLink: fixed build with updated mavlink xml 2020-05-11 18:15:42 +10:00
Andrew Tridgell c8b47cfd9b GCS_MAVLink: consider NO_CHANGE as success for bootloader flash
this prevents GCS users from seeing "update failed"
2020-05-11 18:15:40 +10:00
Andrew Tridgell b1c80d7d74 GCS_MAVLink: send only old value for readonly param set
this prevents a condition where the GCS can display the wrong value if
the 2nd PARAM_VALUE is lost

Note that groundstations can tell the set failed due to readonly in
the following ways:

 1) look for the statustext: Param write denied (PARAMNAME)

 2) see that the value came back with the old value, with index of
   65535

 3) can repeat the send, looking for (1) and (2)

Michael has proposed we add a PARAM_VALUE mavlink2 flags
extension. That would be nice, but we should still make this change to
fix the issue with mavlink 1.0
2020-05-11 18:15:39 +10:00
Peter Barker 83ca008f4e GCS_MAVLink: divide time allowed to send messages fairly 2020-05-11 18:15:39 +10:00
Matt Lawrence 9209b5f8dc GCS_Mavlink: Add routing for GoPro heartbeat 2020-05-11 18:15:39 +10:00
Andrew Tridgell e0b849594d 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-23 07:41:59 +11:00
Randy Mackay 7114402d27 GCS_MAVLink: send rc output mode banner to GCS 2020-02-23 07:41:39 +11:00
Andrew Tridgell c3fe7792cc GCS_MAVLink: raise ftp stack size to 3072 from 1024
this prevents memory corruption on directory listing
2020-02-11 13:32:37 +11:00
Randy Mackay 4a22f6b66a GCS_MAVLink: send optflow message even if no height estimate 2020-02-05 10:51:30 +11:00
Peter Barker 28dbfa7860 GCS_MAVLink: adjust for proximity status namespace change 2020-02-05 10:51:30 +11:00
Peter Barker af0e37478f GCS_MAVLink: adjust for proximity rangefinder types changing namespacing 2020-02-05 10:51:30 +11:00
Randy Mackay bbe86c0d5d GCS_MAVLink: remove send-text re allocating for fence 2020-02-05 10:51:30 +11:00
Peter Barker d82f6882b2 GCS_MAVLink: any internal error means MAV_STATE_CRITICAL 2020-02-05 10:51:29 +11:00
Peter Barker 8b72f0324a GCS_MAVLink: correct encoding used for send_to_components
These have to be packed onto the channel - otherwise they may ge
tencoded as mavlink1 instead of mavlink2 (or vice-versa)
2020-02-05 10:51:29 +11:00
Andrew Tridgell 1bba705307 GCS_MAVLink: added ftp_push_replies() 2020-02-05 10:51:29 +11:00
Andrew Tridgell 6f8afe6671 GCS_MAVLink: fixed comment 2020-02-05 10:51:29 +11:00
Andrew Tridgell a685e4cf83 GCS_MAVLink: fixed session handling for ftp 2020-02-05 10:51:29 +11:00
Andrew Tridgell 056afa544d GCS_MAVLink: rename emit_dir_entry to gen_dir_entry
comment from Sid
2020-02-05 10:51:29 +11:00
Andrew Tridgell 19d9de087a GCS_MAVLink: fixes from my review 2020-02-05 10:51:29 +11:00
Michael du Breuil 52e3d3534f GCS_MAVLink: Initial FTP support 2020-02-05 10:51:29 +11:00
Randy Mackay ab87655a13 GCS_MAVLink: mission item support more mav frames 2020-02-05 10:51:29 +11:00
Michael du Breuil 3d8fc54b5d GCS_MAVLink: Use the vehicle singleton to directly set the flight mode 2020-02-05 10:51:28 +11:00
Randy Mackay ba8e916e44 GCS_Mavlink: handle_preflight_reboot made virtual 2020-02-05 10:13:53 +11:00
Andrew Tridgell a832c3bff0 GCS_MAVLink: supply IMU temperature in mavlink extensions 2020-02-05 10:13:52 +11:00
Randy Mackay 9f5d629503 GCS_MAVLink: add comment above set-message-interval 2020-02-05 10:10:37 +11:00
Randy Mackay b3fbceccb2 GCS_MAVLink: minor fix to set_message_interval 2020-02-05 10:10:37 +11:00
Tatsuya Yamaguchi 48307e2268 GCS_MAVLink: add set_message_interval functions 2020-02-05 10:10:37 +11:00
Peter Barker 179db476bf 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
2020-02-05 10:09:54 +11:00
Peter Barker 75b022378a GCS_MAVLink: cope with polyfence holding boundary points 2020-02-05 10:09:54 +11:00
Peter Barker 4e793e7169 GCS_MAVLink: squelched rally-points-received message 2020-02-05 10:09:54 +11:00
Randy Mackay 586b1f3c8c GCS_MAVLink: allow proximity to send only upward facing distances
this removes the requirement that a horizontal proximity sensor be enabled
2020-02-05 10:09:54 +11:00
Michael du Breuil bfe4d6ee82 GCS_MAVLink: remove some unused includes 2020-02-05 10:04:08 +11:00
Peter Barker 882d3b0c0d GCS_MAVLink: use singleton to get AP_AdvancedFailsafe pointer 2020-02-05 10:04:08 +11:00
Andrew Tridgell aea2238936 GCS_MAVLink: support MAV_CMD_FIXED_MAG_CAL_YAW 2020-01-10 18:48:49 +11:00
Andrew Tridgell 87f2839f3e GCS_MAVLink: fixed critical error on prefight cal ops 2019-12-12 20:43:35 +11:00
Andrew Tridgell 595a49eec4 GCS_MAVLink: send temperature for IMUs 2019-12-09 13:25:18 +11:00
Peter Barker fffed10692 GCS_MAVLink: check reply channel for space rather than current channel 2019-11-02 14:08:47 +11:00
Andrew Tridgell 3c1a362d90 GCS_MAVLink: fixed uninitialised bytes in send_named_float()
this fixes an issue with mavproxy with python3
2019-10-17 11:52:53 +11:00
Andrew Tridgell df86990c96 GCS_MAVLink: use HAL_MEM_CLASS for status sizes 2019-10-06 10:58:07 +11: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