Peter Barker
fdbffd19c6
AP_NavEKF_Source: remove defaults for baro and compass
...
This makes all our defaults "NONE", meaning that a user will not see a
prearm failure for any source other than those in the primary set when
using the default configuration.
2020-11-25 15:19:00 +11:00
Peter Barker
8124c3fea8
AP_NavEKF_Source: set compass_required if we require a compass
2020-11-25 15:19:00 +11:00
Peter Barker
9e20f4a68d
autotest: add a test for compass yaw sources
2020-11-25 15:19:00 +11:00
Tom Pittenger
cf2b3d9bc6
AP_Periph: add AP_BattMonitor support
2020-11-25 14:20:53 +11:00
Tom Pittenger
67405cedb2
AP_HAL_ChibiOS: add AP_BattMonitor support to CubeBlack&Orange-periph
2020-11-25 14:20:53 +11:00
Tom Pittenger
87813b9401
AP_Generator: AP_Periph should not include Generator by default
2020-11-25 14:20:53 +11:00
Tom Pittenger
171a10e117
AP_BattMonitor: Add support for multiple UAVCAN batteries from a single node
2020-11-25 14:20:53 +11:00
Tom Pittenger
48e2b78cab
AP_BattMonitor: fix compile for AP_Periph
2020-11-25 14:20:53 +11:00
Tom Pittenger
089f3aa349
AP_HAL: allow hwdef to define HAL_SUPPORT_RCOUT_SERIAL - must be disabled for AP_Periph
2020-11-25 14:20:53 +11:00
Pierre Kancir
e2a6d13213
.github: add linux sbc testing
...
They don't exist
2020-11-25 10:10:03 +11:00
Pierre Kancir
2e5a5cd43f
Tools: correct comment on SITLtest-can
2020-11-25 10:10:03 +11:00
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