Commit Graph

57409 Commits

Author SHA1 Message Date
Randy Mackay
5528817de4 Rover: update 4.4.2-beta1 release notes 2023-10-13 16:28:52 +09:00
Randy Mackay
ad9dc1be30 Copter: version to 4.4.2-beta1 2023-10-13 16:28:52 +09:00
Randy Mackay
93122648f5 Copter: 4.4.2-beta1 release notes 2023-10-13 16:28:52 +09:00
Randy Mackay
cb547f02fc Rover: version to 4.4.0-beta8 2023-10-13 16:28:52 +09:00
Randy Mackay
984c7ce428 Rover: 4.4.0-beta8 release notes 2023-10-13 16:28:52 +09:00
Randy Mackay
abfc0f1095 Plane: version to 4.4.2-beta1 2023-10-13 16:28:52 +09:00
Randy Mackay
1deb657e48 Plane: 4.4.2-beta1 release notes 2023-10-13 16:28:52 +09:00
Andrew Tridgell
76ad87e5cc Plane: use deadzone in stick mixing
this prevents small RC input deviations from impacting non-pilot
controlled modes via stick mixing
2023-10-13 16:28:52 +09:00
Andrew Tridgell
b6f9863ea4 AP_GPS: allow GPS moving baseline rover at 3Hz
users with busy CAN bus often get significiantly lower GPS rates on a
moving baseline rover, preventing arming. This PR relaxes the required
frame rate as the EKF is quite happy with 3Hz yaw and the yaw is the
only data consumed from a moving baseline rover
2023-10-13 16:28:52 +09:00
Andrew Tridgell
19ca00afde AP_Logger: added build directory to VER message
this allows log review tools to use right parameter and mode map when vendor has changed the
vehicle type strings
2023-10-13 16:28:52 +09:00
Andrew Tridgell
943d01b83b Tools: rebuild IO firmware for SBUS change 2023-10-13 16:28:52 +09:00
Andrew Tridgell
b0683ad07d AP_RCProtocol: protect against invalid data in SBUS 2023-10-13 16:28:52 +09:00
Andrew Tridgell
c656120a6e Plane: fixed terrain RTL with rally points
this fixes a bug where if the terrain database cache does not have the
tile for the location of a rally point then RTL to the rally point
with TERRAIN_FOLLOW=1 will not track terrain

The underlying issue is that Location::loc.change_alt_frame() will
return false if the location is not in the terrain memory cache. We
can't just extrapolate as the rally point could be in a totally
different terrain area to the current location. So instead we set it
as terrain_following_pending and fix it as soon as the terrain cache
is filled.

fixes https://github.com/ArduPilot/ardupilot/issues/25157
2023-10-13 16:28:52 +09:00
Andrew Tridgell
f9aa81b78e AP_OpenDroneID: only load from persistent memory in init()
we do not want to do this from update() as it is an expensive call
2023-10-13 16:28:52 +09:00
Henry Wurzburg
6f80bc33b5 AP_OSD:Update/correct DisplayPort BF MSP symbols 2023-10-13 16:28:52 +09:00
Henry Wurzburg
b18ae9ffa9 AP_OSD:add option to convert home,wind,waypoint and gndspd arrows for BF font set 2023-10-13 16:28:52 +09:00
Andrew Tridgell
74224421d5 AP_BattMonitor: added SHUNT parameter to INS2xx driver
some vendors want different shunt resistors
2023-10-13 16:28:52 +09:00
Andrew Tridgell
886280a8f1 Tools: allow Ohm units in parameters
# Conflicts:
#	Tools/autotest/param_metadata/param.py
#	libraries/AP_BattMonitor/AP_BattMonitor_INA2xx.cpp
2023-10-13 16:28:52 +09:00
Andrew Tridgell
d7bfb1cf27 AP_InertialSensor: fixed the error value for BMI088
the bad value is -32768 not 0xffff (which is -1)

-32768 badly corrupts the low-pass filter, and is what we see in logs
(a large negative spike on all 3 axes)

update to bug fix from:
https://github.com/ArduPilot/ardupilot/pull/23033
2023-10-13 16:28:52 +09:00
alexklimaj
4292021144 hwdef: arkv6x default to no IO MCU 2023-10-13 16:28:52 +09:00
Henry Wurzburg
193fd3315e hwdef:add VTX power control to SpeedyBeeF405-Wing 2023-10-13 16:28:52 +09:00
Peter Barker
3a37b61cae AP_TECS: ensure good TECS state before running update_pitch_throttle
update_pitch_throttle can be called when update_50hz hasn't run in a very long time, or ever.  This requires a main loop rate >50Hz, and for the mode change to occur in the same loop that update_50Hz doesn't run but update_pitch_throttle does.
2023-10-13 16:28:52 +09:00
Andrew Tridgell
5d76b4e9fc AP_TECS: fixed descent or lack of climb bug
this fixes a state where we either cannot climb or descend in an
uncontrolled manner in a TECS controlled mode

the conditions under which this happened were:

- _use_synthetic_airspeed_once was true due to quadplane takeoff
- we left _thr_clip_status as MAX from previous use of synthetic airspeed
- then run without airspeed

note that this can also impact users with an airspeed sensor if they
disable it or it fails in flight, particularly during a climb
2023-10-13 16:28:52 +09:00
Peter Barker
abfb9cafc7 autotest: CI fixes for 4.4 2023-10-13 16:28:52 +09:00
Peter Barker
6c2a12f5ab SITL: fix balancebot yaw reset to be kinimatically consistent
... or at least closer to it.

We were hard-resetting the yaw to zero when the vehicle was upright.  That makes for huge simulated gyro rates, and that means the differences between the gyros can be huge sample-to-sample, so we can get gyros-inconsistent errors.

Fix things so we don't reset yaw at the same time as pitch, and also twist the vehicle to point North again when disarmed.
Backport of PR https://github.com/ArduPilot/ardupilot/pull/25046
2023-10-13 16:28:51 +09:00
Peter Barker
9d70db6df1 SITL: reset balancebot to vertical in a kinmetically consistent manner
The hard-reset of all state variables means we feed the EKF inconsistent gyro data.  Attempt to upright the vehicle with a simple p-gain when it is disarmed, as if someone is pushing the thing back upright
Backport of PR https://github.com/ArduPilot/ardupilot/pull/24314
2023-10-13 16:28:51 +09:00
Peter Barker
dafebe481e autotest: give Rover longer to arrive home
vagaries of interaction with Python script means we need to give this more time when running balancebot
Backport of PR https://github.com/ArduPilot/ardupilot/pull/23442
2023-10-13 16:28:51 +09:00
Tom Pittenger
e7467ec8ca Tools/autotest: fix Deepstall CI
Backport from PR https://github.com/ArduPilot/ardupilot/pull/24667
2023-10-13 16:28:51 +09:00
Peter Barker
ecfa87c2a9 autotest: allow more time for deepstall text
intermittent failures in CI - perhaps due to Plane dynamics changes
Backport of PR https://github.com/ArduPilot/ardupilot/pull/23524
2023-10-13 16:28:51 +09:00
Peter Barker
c2e45a0f0a autotest: add an epsilon for achieved servo output for speed scaling test
right on the threshold
backport from PR https://github.com/ArduPilot/ardupilot/pull/23823
2023-10-13 16:28:51 +09:00
Peter Barker
610e231f5f autotest: remove unnecessary try/except from Sprayer test
backport from https://github.com/ArduPilot/ardupilot/pull/23823
2023-10-13 16:28:51 +09:00
Tom Pittenger
1eb2568774 Tools/autotest: extend WindEstimates duration
backport from PR https://github.com/ArduPilot/ardupilot/pull/24666
2023-10-13 16:28:51 +09:00
bugobliterator
7f10222a27 AP_OpenDroneID: ensure Persistent memory is not read continuously 2023-10-13 16:28:51 +09:00
bugobliterator
884049bb14 GCS_MAVLink: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
fcd8a12c0d AP_Periph: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
b74d2bff67 Blimp: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
a7f9ec4d7c ArduSub: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
0662cfac07 ArduPlane: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
6902a089ca ArduCopter: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
bf407e8c6c AntennaTracker: move sysid_my_gcs to be public 2023-10-13 16:28:51 +09:00
bugobliterator
809ca6191d AP_HAL_ChibiOS: remove Chip ID as Basic ID mechanism 2023-10-13 16:28:51 +09:00
bugobliterator
38220a8c4d AP_OpenDroneID: remove Chip ID as Basic ID mechanism 2023-10-13 16:28:51 +09:00
bugobliterator
1d7c406d60 AP_HAL_ChibiOS: explain DID_OPTIONS config in CubeOrange-ODID/defaults.parm 2023-10-13 16:28:51 +09:00
bugobliterator
b05df95c3d AP_OpenDroneID: add support for persistent storage of UAS ID 2023-10-13 16:28:51 +09:00
bugobliterator
55504e7fcc AP_HAL: add support for get_persistent_param_by_name 2023-10-13 16:28:51 +09:00
bugobliterator
3f5365ed54 AP_HAL_ChibiOS: add support for get_persistent_param_by_name 2023-10-13 16:28:51 +09:00
bugobliterator
d6f0c1e316 AP_HAL_ChibiOS: add support for storing OpenDroneID in bootloader sector 2023-10-13 16:28:51 +09:00
Andy Piper
1a8ae96b0d hwdef: ensure SpeedyBeeF405Mini builds on plane 2023-10-13 16:28:51 +09:00
Andy Piper
8116812ae8 hwdef: adjust serial protocol defaults on various boards for 4.4 naming scheme 2023-10-13 16:28:51 +09:00
Andy Piper
64db5c8310 hwdef: SpeedyBeeF405Mini 2023-10-13 16:28:51 +09:00