Commit Graph

43123 Commits

Author SHA1 Message Date
Samuel Tabor bde9ce10e3 autotest: Add wipe as argument. 2020-07-07 11:46:32 +10:00
Andy Piper 90acff647c AP_BLHeli: log telemetry at 10Hz 2020-07-07 11:44:33 +10:00
Peter Barker 2e55584417 AP_NavEKF3: correct comments on getFilterFaults and getFilterTimeouts methods 2020-07-07 10:50:41 +10:00
Peter Barker 081c0bbfe0 AP_NavEKF2: correct comments on getFilterFaults and getFilterTimeouts methods 2020-07-07 10:50:41 +10:00
Peter Barker 741520d598 GCS_MAVLink: find next bucket to send when sending-ids emptied on msg removal
We need to find the next bucket of messages to send when we've removed
the last message id from the current set of IDs we're sending out - not
just when we've empted the bucket the messages came from in the first
place.

An internal check caught this bug - the
'next_deferred_bucket_message_to_send called on empty bucket' error
2020-07-07 10:49:31 +10:00
juvinski fad8ee8384 AP_Relay: Added support to Relay pins on BBBMini
This request add support for Relay Pins on BBBMini:
Pin:
	P8_17: Relay Pin 1
	P8_18: Relay Pin 2
	P8_19: Relay Pin 3
	P8_34: Relay Pin 4
	P8_13: Relay Pin 5
	P8_14: Relay Pin 6
2020-07-06 17:35:27 -07:00
Michael du Breuil 955a05c4d5 Plane: Refactor mav_cmd_do_reposition to be consistent with copter 2020-07-07 10:34:19 +10:00
Michael du Breuil c971fe0ca4 Copter: Support MAV_CMD_DO_REPOSITION on COMMAND_INT 2020-07-07 10:34:19 +10:00
Andrew Tridgell 0c87b2d885 AP_Generator: fixed misaligned access in RicenPower 2020-07-07 10:23:00 +10:00
Andrew Tridgell 90232fa6c0 GCS_MAVLink: fixed alignment errors in FTP server 2020-07-07 10:23:00 +10:00
Andrew Tridgell 21937a7830 AP_RCProtocol: fixed alignment errors in SRXL2
invalid alignment used
2020-07-07 10:23:00 +10:00
Andrew Tridgell c5a60c31a7 HAL_Linux: fixed build warnings in RC input methods 2020-07-07 10:23:00 +10:00
Andrew Tridgell 7138811a57 AP_Common: fixed cast warnings for ExpandingArray 2020-07-07 10:23:00 +10:00
Andrew Tridgell 19093e25be AP_HAL: added ptr accessors to sparse-endian.h 2020-07-07 10:23:00 +10:00
Andy Piper 6162605388 AP_RCProtocol: ignore SRXL2 dbm rssi value like BF does 2020-07-07 09:03:40 +10:00
Mark Whitehorn 285f16e829 AP_Arming: add pre-arm check for VTOL manual forward throttle 2020-07-07 08:37:46 +10:00
Mark Whitehorn 2af6e255d1 RC_Channel: add RC option for VTOL manual forward throttle
fix RC_OPTION metadata for 209: Forward Throttle
2020-07-07 08:37:46 +10:00
Mark Whitehorn d5b1b20274 Plane: implement manual forward throttle for QACRO, QSTABILIZE and QHOVER
add parameter Q_FWD_THR_MAX for scaling manual throttle
allow forward motor tilt when disarmed
add FWD_THR_CH as an RC option
change Q_FWD_THR_MAX to percent
change RC_OPTION FWD_THR to 209
move assignment of rc_fwd_thr_ch to one_second_loop
move arming check from forward_throttle_pct to set_servos
change Q_FWD_THR_MAX TO Q_FWD_MANTHR_MAX
expand description of Q_FWD_MANTHR_MAX
add pre-arm check for VTOL manual forward throttle
change VTOL fwd throttle input to percent
2020-07-07 08:37:46 +10:00
Andrew Tridgell 6bab6d94bf AP_Scripting: fixed equality test for uint32_t 2020-07-06 10:08:19 -07:00
Randy Mackay 613d2c2e0a AP_RangeFinder: LightWareSerial gets small comment 2020-07-06 13:57:43 +09:00
Randy Mackay 2ca0d400a6 AP_Proximity: remove incorrect comment from SF40c 2020-07-06 13:54:17 +09:00
Andrew Tridgell b6a5509409 AP_Math: added test for vector2f rotate 2020-07-06 14:46:48 +10:00
Andrew Tridgell 259cf10373 AP_Scripting: added rotate binding to Vector2f 2020-07-06 14:46:48 +10:00
Andrew Tridgell 24d0804249 AP_Math: added rotate() method to Vector2f 2020-07-06 14:46:48 +10:00
Peter Barker 6c9d756f11 autotest: validate context nesting 2020-07-06 14:21:55 +10:00
murata 98feb06183 AP_RangeFinder: Add GYUS42v2 to the TYPE item 2020-07-05 08:52:03 +10:00
murata b12fcff89a AC_Fence: Matching Message Style 2020-07-04 22:55:35 +10:00
Peter Barker 977ec1a7d6 autotest: SuperSimpleCircle: increase throttle while rolling in stab
We're hitting the ground...
2020-07-04 17:18:37 +10:00
Peter Barker b8c2b16394 autotest: autotest gyus42v2 rangefinder 2020-07-04 13:40:10 +10:00
Peter Barker 9d7fd47267 SITL: add simulated GY-US42-v2 rangefinder 2020-07-04 13:40:10 +10:00
Peter Barker 0b431f3ecd AP_HAL_SITL: add simulated GY-US42-v2 rangefinder 2020-07-04 13:40:10 +10:00
Peter Barker 6ec497229b AP_RangeFinder: add serial support for GY-US42v2 rangefinder 2020-07-04 13:40:10 +10:00
Randy Mackay 443d4186a4 SITL: default vicon to send position and speed 2020-07-04 09:50:28 +09:00
craigy72 6557f3c258 AP_Scripting: fixup serial_test.lua 2020-07-04 09:11:09 +09:00
Justin Clift e1e16bde6d autotest: remove doubled up disable-anti-alias-hud 2020-07-04 09:25:42 +10:00
Peter Barker a0258f351d autotest: disable gdb pagination 2020-07-03 22:07:16 +10:00
Peter Barker 560b4a9847 autotest: fix race condition between switch message and rc output 2020-07-03 22:06:48 +10:00
Patrick José Pereira 8bb74a12d0 AP_Motors: Remove double underscore header guard
The code now uses `#pragma once` and double underscore as a prefix
can result in undefined behaviour.
Ref: https://eel.is/c++draft/lex.name#3.1

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-07-03 14:53:33 +10:00
Peter Barker 96e500fe49 autotest: correct heli rebase issue 2020-07-03 12:07:06 +10:00
Peter Barker b64a34fc38 Copter: add GENERATOR_STATUS to STREAM3 2020-07-03 08:21:42 +09:00
Peter Barker 7b9f75ddbf mavlink: reference new GENERATOR_STATUS message 2020-07-03 08:21:42 +09:00
Peter Barker 4b2851a9b2 RC_Channel: add text for Generator AUX_FUNC 2020-07-03 08:21:42 +09:00
Peter Barker 717dabfe69 autotest: remove heat model for generator 2020-07-03 08:21:42 +09:00
Peter Barker 1639bd7d09 AP_Generator: remove heat model for generator
It was agreed that the existing hyteresis in the H2 controller was
sufficient
2020-07-03 08:21:42 +09:00
Peter Barker c5ac42d985 AP_Generator_RichenPower: allow operation with no generator present 2020-07-03 08:21:42 +09:00
Peter Barker df8d8cefd6 AP_Generator: use new mavlink generator status flags 2020-07-03 08:21:42 +09:00
Peter Barker bac60e0d3a autotest: add simple tests for richenpower generator 2020-07-03 08:21:42 +09:00
Peter Barker 88c8dd8465 SITL: add RichenPower generator simulator 2020-07-03 08:21:42 +09:00
Peter Barker 6056cc9d54 AP_HAL_SITL: add support for simulated RichenPower generator 2020-07-03 08:21:42 +09:00
Peter Barker 8e708a0a32 AP_BattMonitor: add backend for generator supply 2020-07-03 08:21:42 +09:00