Commit Graph

23306 Commits

Author SHA1 Message Date
Paul Riseborough
d1a0c2eb30 AP_NavEKF3: Start EKF-GSF yaw estimator before fixed wing takeoff 2020-07-07 15:33:58 +10:00
Paul Riseborough
b469a80633 AP_NavEKF3: Reset all co-variances when performing a yaw reset 2020-07-07 15:33:58 +10:00
Paul Riseborough
d8c2096ad8 AP_NavEKF3: improve angle accuracy during no mag launch 2020-07-07 15:33:58 +10:00
Paul Riseborough
f7c8ee807c AP_NavEKF3: Reset yaw estimator bias states at start of flight
Enables yaw bias to be learned when sitting stationary on ground.
2020-07-07 15:33:58 +10:00
Paul Riseborough
ea4589ea94 AP_NavEKF2: Reset yaw estimator bias states at start of flight
Enables yaw bias to be learned when sitting stationary on ground.
2020-07-07 15:33:58 +10:00
Paul Riseborough
5ad5498b07 AP_NavEKF: Enable external setting of yaw estimator bias states 2020-07-07 15:33:58 +10:00
Paul Riseborough
709a42cb7f AP_NavEKF: remove unnecessary memcopy 2020-07-07 15:33:58 +10:00
Paul Riseborough
4a743a3827 AP_NavEKF: Remove unnecessary reset operations and class variables
The setting of EKF state variances is only required when commencing or recommencing velocity fusion.
The function that resets the EKF and GSF class variables has been renamed to be more consistent with its function.
2020-07-07 15:33:58 +10:00
Paul Riseborough
b6d9b6f3c7 AP_NavEKF2: Update documentation for non-compass use case
Instruction now explicitly specifies that all COMPASS_USE parameters must be set to 0 and COMPASS_ENABLE must be set to 1
2020-07-07 15:33:58 +10:00
Paul Riseborough
bcd23e1063 AP_NavEKF3: Fix one frame delay in processing yaw estimator velocity data 2020-07-07 15:33:58 +10:00
Paul Riseborough
ccaa4d6aa9 AP_NavEKF2: Fix one frame delay in processing yaw estimator velocity data 2020-07-07 15:33:58 +10:00
Paul Riseborough
0ce4dd457d AP_NavEKF: Fix one frame delay in processing yaw estimator velocity data 2020-07-07 15:33:58 +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
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
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
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
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
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
4b2851a9b2 RC_Channel: add text for Generator AUX_FUNC 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
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
Peter Barker
fce9046dcf AP_Arming: add generator checks 2020-07-03 08:21:42 +09:00
Peter Barker
b2bd8d5759 RC_Channel: add support for RichenPower generator control 2020-07-03 08:21:42 +09:00
Peter Barker
007a85e873 SRV_Channel: grab a servo function to control the RichenPower generators 2020-07-03 08:21:42 +09:00