Commit Graph

38891 Commits

Author SHA1 Message Date
Peter Barker ab9614a3de Tracker: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 48a1b2f436 Copter: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Peter Barker 7e5a6f1895 Plane: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +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 b070945319 uavcan: reference commit adding overrides to many methods 2019-08-14 16:33:29 +10:00
Peter Barker 13c22c667d AP_UAVCAN: add missing override keywords 2019-08-14 16:33:29 +10:00
Peter Barker 54b200a777 AP_HAL_ChibiOS: add missing uavcan-related override keywords 2019-08-14 16:33:29 +10:00
Peter Barker be173a9514 Tools: waf: stop adding -Wno-error=suggest-override for CAN boards 2019-08-14 16:33:29 +10:00
Randy Mackay a3bde4f054 Copter: pre-arm check for ToshibaCAN ESC pwm range 2019-08-14 13:29:14 +09:00
Randy Mackay 973caf26f7 AP_ToshibaCAN: constify some local variables 2019-08-14 13:29:14 +09:00
Randy Mackay fbf5ecfe8c AP_ToshibaCAN: ensure motors are off when vehicle is disarmed 2019-08-14 13:29:14 +09:00
Peter Hall ac237eea4b Tools: autotest: update sailboat default params and add sailboat-motor frame 2019-08-14 09:26:01 +09:00
Peter Hall 4afcc9c289 SITL: sailboat allow motor sailing 2019-08-14 09:26:01 +09:00
Peter Barker 20be080325 AP_Logger: correct example to add required override keywords 2019-08-14 09:41:54 +10:00
Peter Barker 1574464543 waf: do not -Werror=suggest-override on uavcan-enabled boards
uavcan doesn't have all of the required override keywords

SITL will still die without the keyword
2019-08-13 23:19:45 +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
Andrew Tridgell 5e40921b42 HAL_ChibiOS: fixed reboot hold in bootloader
thanks to Tom for noticing this
2019-08-12 22:21:13 -07:00
Peter Barker e18174e4ac AP_Logger: correct use of uninitialised stack value 2019-08-13 10:43:05 +10:00
Anthony Velte 5d2f114947 AP_HAL_SITL: Add scrimmage simulator support 2019-08-13 10:07:26 +10:00
Anthony Velte 892ad11552 Tools: Add scrimmage simulator to sim_vehicle.py 2019-08-13 10:07:26 +10:00
Anthony Velte 92a9ab6c6d SITL: Add scrimmage simulator support 2019-08-13 10:07:26 +10:00
Peter Barker 92dde5b111 Tools: Replay: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 03e6065380 Sub: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 20626a1fe1 Plane: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 4fa83ed40d Copter: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 2428487383 Tracker: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 9d54b4820f Rover: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker 1adda1ccf0 AP_Compass: move automatic declination setting into AP_Compass itself 2019-08-13 10:02:13 +10:00
Peter Barker c339d18ee6 Tools: add -Werror=suggest-override for gcc 2019-08-13 09:46:20 +10:00
Peter Barker b61bfd663f Tools: autotest: wait for EKF to be happy after returning its GPS 2019-08-12 13:12:11 +10:00
Peter Barker 6d6eb1f751 Tools: move coverage analysis into Tools/scripts/run-coverage 2019-08-12 12:29:51 +10:00
Peter Barker 36387b5a21 waf: move coverage out into separate shell script 2019-08-12 12:29:51 +10:00
Andrew Tridgell bd11c26495 mavlink: added yaw to GPS_INPUT msg 2019-08-12 10:25:40 +10:00
Andrew Tridgell 8d7262994b AP_GPS: support yaw in GPS_INPUT mavlink GPS
useful for Vicon setups
2019-08-12 10:25:40 +10:00
Andrew Tridgell dbc1cd2b96 Tools: support GPS yaw in Vicon script 2019-08-12 10:25:40 +10:00
Randy Mackay c7ca9c04f8 AP_Math: add comment to vector2f::point_on_segment 2019-08-10 12:21:01 +09:00
Randy Mackay 8912e2f98e Rover: simplify DEVO_TELEM_ENABLED definition 2019-08-09 23:07:08 +09:00
Randy Mackay 41f538e039 Copter: simplify DEVO_TELEM_ENABLED definition 2019-08-09 23:07:06 +09:00
Randy Mackay a1a2733926 AC_Avoidance: reduce OA path planner look ahead and margin param defaults 2019-08-09 15:51:26 +09:00
Peter Barker a5ec64fc99 AC_Fence: tidy get_breach_distance
The polygon fence will soon be able to supply a breach distance -
prepare for that.
2019-08-08 16:47:41 +09:00
Peter Barker 6a241cc3e9 AC_Fence: remove pointless sanity check 2019-08-08 16:47:41 +09:00
Randy Mackay 2bfc26621a AP_Arming: resolve check_failed compiler warning 2019-08-08 12:53:51 +09:00
Peter Barker bf0a947317 Tools: autotest: improve test diagnostics 2019-08-08 08:35:52 +10:00
Peter Hall 2a3676003a SITL: sailboat add tide 2019-08-07 14:34:07 +09:00
Peter Hall 90bf224e7f SITL: sailboat add wave simulation and parameters 2019-08-07 14:34:07 +09:00
Peter Barker 4b331419e3 Tools: autotest: improve mission download diagnostics 2019-08-07 14:15:47 +10:00
Peter Barker 9aa5cedd2a Tools: autotest: increase timeout on mission_item_int
We may spend so much time parsing messages this deadline passes
2019-08-07 12:29:14 +10:00
Peter Barker 472d98dcb7 Tools: autotest: wait longer for mission acks
Nothing is adjusting the streamrates on our second mavlink port, meaning
we have to get through a lot of traffic before getting acks.
2019-08-07 12:28:57 +10:00