Andy Piper
a592d76866
AP_Scripting: fix compile on clang 10
2020-11-25 09:28:06 +11:00
Pierre Kancir
c2a7e3be58
.github: migrate all chibios build to Github Actions
2020-11-24 22:13:07 +11:00
Andrew Tridgell
7eea13f86f
AP_NavEKF3: fixed build of standalone replay link test
...
parameter conversion not needed for replay
2020-11-24 20:46:37 +11:00
Andrew Tridgell
3366ee9496
Tools: fixed replay CI build
2020-11-24 20:46:37 +11:00
Pierre Kancir
52f85e70a8
.github: add test for replay
2020-11-24 20:46:37 +11:00
Hwurzburg
e015956b6e
Copter: move RETRACT_MOUNT option to common for all vehicles
2020-11-24 20:22:02 +11:00
Hwurzburg
ae8fe818c8
RC_Channel: move RETRACT_MOUNT option to common for all vehicles
2020-11-24 20:22:02 +11:00
Peter Barker
3f6b398a01
autotest: include EK2,EK3 and DAL LogStructures in code-defined messages
2020-11-24 15:33:37 +11:00
Peter Barker
42d9727f49
AP_Logger: correct documentation on ARSP message
2020-11-24 15:33:37 +11:00
Brent McLaughlin
04f817020f
Copter: use glitch-protected range from rangefinder for precision landing
...
use glitch protected result from rangefinder so precision landing avoids aggressive maneuvers due to large range spikes
2020-11-24 13:00:41 +09:00
Gone4Dirt
5edae526fd
AP_Math: Add conversion Ams to mAh
2020-11-24 12:54:52 +11:00
Peter Barker
b788a172c8
autotest: add simple test for IE24 generator
...
Tools: Modified richenpower autotest setup
autotest: IE24: Add error code failsafe test
2020-11-24 12:54:52 +11:00
Peter Barker
c52298352a
AP_HAL_SITL: add simulator for IntelligentEnergy 2.4kWh
2020-11-24 12:54:52 +11:00
Peter Barker
f7b2856af0
SITL: add simulator for IntelligentEnergy 2.4kWh
...
SITL: Added setup note to comment
SITL: IE24: Add Error param and cycle battery pwr
2020-11-24 12:54:52 +11:00
Gone4Dirt
a2d2e85ba1
AP_Logger: Reinstate Watt unit
2020-11-24 12:54:52 +11:00
Gone4Dirt
434af4a4d4
Copter: Move AP_Generator to AP_Vehicle
2020-11-24 12:54:52 +11:00
Gone4Dirt
70246059ed
Plane: Move AP_Generator to AP_Vehicle
2020-11-24 12:54:52 +11:00
Gone4Dirt
d25f9d5d3a
AP_Vehicle: Move AP_Generator to all vehicles
2020-11-24 12:54:52 +11:00
Gone4Dirt
2dc684622e
AP_Arming: Add support for AP_Generator frontend
2020-11-24 12:54:52 +11:00
Gone4Dirt
66285b65ce
RC_Channel: Add support for AP_Generator frontend
2020-11-24 12:54:52 +11:00
Gone4Dirt
caf1ad28d5
GCS_Common: AP_Generator_Richenpower is now AP_Generator
2020-11-24 12:54:52 +11:00
Gone4Dirt
836717c0af
AP_BattMonitor: Add support for AP_Generator frontend-backend
2020-11-24 12:54:52 +11:00
Gone4Dirt
8cfe4fc9f7
AP_Generator: Split into frontend-backend and add IE fuel cells
2020-11-24 12:54:52 +11:00
Gone4Dirt
6c136862b8
AP_DAL: Add stdio include
2020-11-24 12:54:52 +11:00
Gone4Dirt
9d90d16c2b
AP_ADSB: Access snprintf from hal
2020-11-24 12:54:52 +11:00
斯东Stone
4990048efb
HAL_ChibiOS: Correct a typo and Update product link url for PH4-mini
2020-11-24 12:48:11 +11:00
Peter Barker
786fd8a2f8
AP_Logger: add and use instance number to ARSP message
2020-11-24 12:19:45 +11:00
Peter Barker
8647dda8a9
AP_Airspeed: add and use instance number to ARSP message
2020-11-24 12:19:45 +11:00
Andy Piper
c291107f50
Filter: correct grammar on HNTCH docs
2020-11-24 10:17:16 +09:00
Andy Piper
726307cb31
Filter: correct harmonic notch docs and provide better defaults.
2020-11-24 10:17:16 +09:00
Peter Barker
3baaa84de1
AP_OSD: remove duplicate parameter definition
2020-11-24 12:15:15 +11:00
Randy Mackay
6c3948f417
AP_NavEKF_Source: optimise configured_in_storage
...
This small CPU optimisation takes advantage of the fact that once configured in storage is true it will always remain true
2020-11-24 12:10:27 +11:00
Andrew Tridgell
bce4fd43a3
SITL: fixed GPS POS parameters
...
SIM_GPS2_POS1_* makes no sense
2020-11-24 12:01:04 +11:00
Andrew Tridgell
05194ed8b6
AP_GPS: don't accept infinite accuracies for blending
...
these result in NaN values for velocities
2020-11-24 12:00:41 +11:00
Andrew Tridgell
83c479bcc2
AP_GPS: prevent UAVCAN GPS from giving infinite accuracy values
...
this can happen due to the complex encodings of accuracies in UAVCAN
2020-11-24 12:00:41 +11:00
Andrew Tridgell
a762926526
AP_GPS: fixed constrained NaN in EKF3 caused by bad GPS blending
...
if the accuracies reported are very low then we can do a division by
zero and this results in a constraining NaN for GPS vertical velocity
filter in NavEKF3_core::calcGpsGoodToAlign
2020-11-24 12:00:41 +11:00
Pierre Kancir
6534557832
Tools: fix replay build on build_ci.sh
2020-11-24 10:10:33 +11:00
Peter Barker
935d39322c
autotest: correct test for mode-change-reason change
2020-11-24 10:09:37 +11:00
Peter Barker
f0c22244a5
GCS_MAVLink: correct response codes when mode change fails
...
Was "UNSUPPORTED", which is supposed to mean, "Command is not supported"
Now is either "DENIED" (Command is invalid (is supported but has invalid
parameters)) or "FAILED" (Command is valid, but execution has failed.)
We should probably returned DENIED if we try to change to a mode which
doesn't exist, but that would require another callback on AP_Vehicle.
It would also lead to questions around what a valid mode is - so
QSTABILIZE if quadplane is disabled in Plane, for example.
2020-11-24 10:09:37 +11:00
Tom Pittenger
f128d8c549
gitignore: ignore .pydevproject from Eclipse Python plugin
2020-11-23 14:55:01 -08:00
Jacob Walser
c2e3520add
Sub: update release notes for 4.0.2
2020-11-23 12:41:39 -05:00
Willian Galvani
4415d4ed56
Sub: update release notes for 4.0.1
2020-11-23 12:41:30 -05:00
Peter Barker
200b085eea
AP_NavEKF3: move XKY0 and XKY1 to be normal log structures (from Log_Write)
2020-11-22 20:47:29 +11:00
Peter Barker
e1a033b296
AP_NavEKF3: make logging a core concern
...
Also dissolve some methods only used for logging
2020-11-22 20:47:29 +11:00
Peter Barker
914629351f
AP_NavEKF3: use scalar rather than array for state-prediction-allowed
...
EKF2 needs this for choosing alternate cores. EKF3 does not.
2020-11-22 14:09:48 +11:00
QioTek
e4f4868d9b
HAL_ChibiOS: add QMC5883L on QioTekZealotF427
...
add QMC5883L on QioTekZealotF427
2020-11-22 06:10:34 +11:00
Jacob Walser
35c2d13e2f
HAL_Linux_Class: specify per board external clock frequency for RCOutput_PCA9685 drivers
2020-11-21 00:25:19 -08:00
Jacob Walser
e64d9816ce
RCOutput_PCA9685: allow different external clock frequencies
...
The PCA9685 may use an external clock 0~50MHz
Specify the external clock frequency in constructor arguments for each board HAL
2020-11-21 00:25:19 -08:00
Paul Riseborough
8561f5239d
AP_NavEKF3: Fix bug preventing yaw alignment to EKF-GSF estimate
2020-11-21 12:56:10 +11:00
Andrew Tridgell
fe81387433
AP_NavEKF: allow init twice
...
this can happen if setup_core() fails with low mem and is called again
2020-11-20 21:56:32 +11:00