Skip to content

Copter, Rover, Plane, Tracker: 4.5.5-beta1 release #27416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 48 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
55a315d
IO_Firmware: fix bdshot DMA channel reset
andyp1per Jun 12, 2024
ddf6549
AP_HAL_ChibiOS: reset pwm peripheral on F1 when deallocating IC DMA
andyp1per May 30, 2024
94ae092
AP_IOMCU: correct TCIE setting and add more debug
andyp1per May 30, 2024
da879aa
hwdef: Fix Aocoda-RC H743Dual motor 5-8 mis-labeled issue
lida2003 Apr 4, 2024
35ab038
Tools: specify pymonocypher version in more places
tridge May 18, 2024
6cacb6a
Plane: ensure the dshot type gets set
andyp1per May 18, 2024
9494d85
Tools: added DroneCAN dependencies
tridge Apr 10, 2024
fb33632
AP_OSD: add BTFL sidebar symbols
rmaia3d Feb 28, 2024
c20d958
AP_NavEKF3: Remove unncessary local position height reporting offset
priseborough May 21, 2024
7974a83
Plane: fix rangefinder correction when terrain follow is off
jschall May 1, 2023
420d0d3
AP_Mount: add Siyi ZT6 support
rmackay9 May 21, 2024
ed9e1d4
AP_Compass: removed IST8310 overrun message
tridge May 21, 2024
4913824
AP_RCTelemetry: only update VTX parameters if CRSF provider was enabled
andyp1per Apr 29, 2024
cdbf73c
AP_VideoTX: add autobauding to Tramp
andyp1per Apr 29, 2024
a1a5bed
AP_NavEKF3: Adjust sensor height when EK3_OGN_HGT_MASK bit 2 is set
priseborough May 21, 2024
47761ea
AP_Networking: enable Socket IP reuse
magicrub May 28, 2024
90cf6f2
SITL: Removed trailing underscore
Georacer May 21, 2024
73aa885
autotest: Removed unnecessary parameter whitelist item
Georacer May 29, 2024
63680d8
AP_Logger: take a blocking semaphore when writing messages using the …
andyp1per Jun 8, 2024
7763526
hwdef: CubeRedPrimary: ICM45686 as ICM20649 alternative
tpwrules Jun 12, 2024
3226f79
AP_Param: added get_eeprom_full()
tridge Jun 14, 2024
d03671f
AP_Arming: added eeprom full arming check
tridge Jun 14, 2024
bf553f4
AP_HAL_ChibiOS: update relay parameter names
IamPete1 Jun 12, 2024
5e64c80
AP_Scripting: correct use-after-free in script statistics
peterbarker Jun 23, 2024
5d1088c
Tools: add extended RC link stats OSD fields
rmaia3d Mar 27, 2024
8a7f984
AP_RCTelemetry: add extended RC link stats OSD fields
rmaia3d Mar 27, 2024
e27daa7
AP_RCProtocol: add extended RC link stats OSD fields
rmaia3d Mar 27, 2024
e500a1b
AP_OSD: add extended RC link stats OSD fields
rmaia3d Mar 27, 2024
e9a1d6e
AP_Mission: emit jump count even if no limit
peterbarker May 7, 2024
49cd828
Quadplane: fix TRIM_PITCH description
robertlong13 Feb 16, 2024
2977213
AP_InertialSensor: Improve bitmask indicating persistent parameters o…
joshanne Mar 25, 2024
70efcee
Plane: correct description of MIN_GROUNDSPEED parameter
peterbarker May 19, 2024
8e182b2
AP_HAL_ChibiOS: added RadiolinkPIX6 support
radiolinkW Feb 4, 2024
a6eebe8
Tools: added RadiolinkPIX6 support
radiolinkW Feb 4, 2024
967bebf
hwdef: add ASP5033 airspeed in minimal builds
Hwurzburg Feb 3, 2024
d0d930f
Copter: fix MAV_CMD_CONDITION_YAW with relative angle when WP_YAW_BEH…
chobitsfan Jun 17, 2024
5dad630
AP_ESC_Telem: add get_max_rpm_esc()
andyp1per May 22, 2024
2e0fd52
AP_OSD: use get_max_rpm_esc()
andyp1per May 22, 2024
5ece4b5
AP_RCTelemetry: use get_max_rpm_esc()
andyp1per May 22, 2024
f4c9bdf
AP_ExternalAHRS: Fix duplicate condition
Ryanf55 May 10, 2024
8522ede
Copter: 4.5.5-beta1 release notes
andyp1per Jun 28, 2024
44cc69f
Plane: 4.5.5-beta1 release notes
andyp1per Jun 28, 2024
ea70945
Rover: 4.5.5-beta1 release notes
andyp1per Jun 28, 2024
b4b8d0f
Tracker: 4.5.5-beta1 release notes
andyp1per Jun 28, 2024
b0c7daf
Copter: prepare for 4.5.5-beta1
andyp1per Jun 28, 2024
fea0d86
Plane: prepare for 4.5.5-beta1
andyp1per Jun 28, 2024
9275dbf
Rover: prepare for 4.5.5-beta1
andyp1per Jun 28, 2024
93c348b
Tracker: prepare for 4.5.5-beta1
andyp1per Jun 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions AntennaTracker/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
Antenna Tracker Release Notes:
------------------------------
Release 4.5.5-beta1 1st July 2024

Changes from 4.5.4

1) Board specific enhancements and bug fixes

- fixed IOMCU transmission errors when using bdshot
- update relay parameter names on various boards
- add ASP5033 airspeed in minimal builds
- added RadiolinkPIX6
- fix Aocoda-RC H743Dual motor issue
- use ICM45686 as an ICM20649 alternative in CubeRedPrimary

2) System level minor enhancements and bug fixes

- correct use-after-free in script statistics
- added arming check for eeprom full
- fixed a block logging issue which caused log messages to be dropped
- enable Socket SO_REUSEADDR on LwIP
- removed IST8310 overrun message
- added Siyi ZT6 support
- added BTFL sidebar symbols to the OSD
- added CRSF extended link stats to the OSD
- use the ESC with the highest RPM in the OSD when only one can be displayed
- support all Tramp power levels on high power VTXs
- emit jump count in missions even if no limit
- improve the bitmask indicating persistent parameters on bootloader flash
- fix duplicate error condition in the MicroStrain7

5) Other minor enhancements and bug fixes

- specify pymonocypher version in more places
- added DroneCAN dependencies to custom builds

------------------------------------------------------------------
Release 4.5.4 12th June 2024

Changes from 4.5.3
Expand Down
8 changes: 4 additions & 4 deletions AntennaTracker/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

#include "ap_version.h"

#define THISFIRMWARE "AntennaTracker V4.5.4"
#define THISFIRMWARE "AntennaTracker V4.5.5-beta1"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,5,4,FIRMWARE_VERSION_TYPE_OFFICIAL
#define FIRMWARE_VERSION 4,5,5,FIRMWARE_VERSION_TYPE_BETA

#define FW_MAJOR 4
#define FW_MINOR 5
#define FW_PATCH 4
#define FW_TYPE FIRMWARE_VERSION_TYPE_OFFICIAL
#define FW_PATCH 5
#define FW_TYPE FIRMWARE_VERSION_TYPE_BETA

#include <AP_Common/AP_FWVersionDefine.h>
43 changes: 43 additions & 0 deletions ArduCopter/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
ArduPilot Copter Release Notes:
-------------------------------
Release 4.5.5-beta1 1st July 2024

Changes from 4.5.4

1) Board specific enhancements and bug fixes

- fixed IOMCU transmission errors when using bdshot
- update relay parameter names on various boards
- add ASP5033 airspeed in minimal builds
- added RadiolinkPIX6
- fix Aocoda-RC H743Dual motor issue
- use ICM45686 as an ICM20649 alternative in CubeRedPrimary

2) System level minor enhancements and bug fixes

- correct use-after-free in script statistics
- added arming check for eeprom full
- fixed a block logging issue which caused log messages to be dropped
- enable Socket SO_REUSEADDR on LwIP
- removed IST8310 overrun message
- added Siyi ZT6 support
- added BTFL sidebar symbols to the OSD
- added CRSF extended link stats to the OSD
- use the ESC with the highest RPM in the OSD when only one can be displayed
- support all Tramp power levels on high power VTXs
- emit jump count in missions even if no limit
- improve the bitmask indicating persistent parameters on bootloader flash
- fix duplicate error condition in the MicroStrain7

3) AHRS / EKF fixes

- fix infinite climb bug when using EK3_OGN_HGT_MASK

4) Copter specific changes

- fix MAV_CMD_CONDITION_YAW with relative angle

5) Other minor enhancements and bug fixes

- specify pymonocypher version in more places
- added DroneCAN dependencies to custom builds

------------------------------------------------------------------
Release 4.5.4 12th June 2024

Changes from 4.5.3
Expand Down
3 changes: 3 additions & 0 deletions ArduCopter/autoyaw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ void Mode::AutoYaw::set_fixed_yaw(float angle_deg, float turn_rate_ds, int8_t di

// calculate final angle as relative to vehicle heading or absolute
if (relative_angle) {
if (_mode == Mode::HOLD) {
_yaw_angle_cd = copter.ahrs.yaw_sensor;
}
_fixed_yaw_offset_cd = angle_deg * 100.0 * (direction >= 0 ? 1.0 : -1.0);
} else {
// absolute angle
Expand Down
8 changes: 4 additions & 4 deletions ArduCopter/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

#include "ap_version.h"

#define THISFIRMWARE "ArduCopter V4.5.4"
#define THISFIRMWARE "ArduCopter V4.5.5-beta1"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,5,4,FIRMWARE_VERSION_TYPE_OFFICIAL
#define FIRMWARE_VERSION 4,5,5,FIRMWARE_VERSION_TYPE_BETA

#define FW_MAJOR 4
#define FW_MINOR 5
#define FW_PATCH 4
#define FW_TYPE FIRMWARE_VERSION_TYPE_OFFICIAL
#define FW_PATCH 5
#define FW_TYPE FIRMWARE_VERSION_TYPE_BETA

#include <AP_Common/AP_FWVersionDefine.h>
2 changes: 1 addition & 1 deletion ArduPlane/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ const AP_Param::Info Plane::var_info[] = {

// @Param: MIN_GROUNDSPEED
// @DisplayName: Minimum ground speed
// @Description: Minimum ground speed in cm/s when under airspeed control
// @Description: Minimum ground speed when under airspeed control
// @Units: m/s
// @User: Advanced
ASCALAR(min_groundspeed, "MIN_GROUNDSPEED", MIN_GROUNDSPEED),
Expand Down
46 changes: 46 additions & 0 deletions ArduPlane/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
ArduPilot Plane Release Notes:
------------------------------
Release 4.5.5-beta1 1st July 2024

Changes from 4.5.4

1) Board specific enhancements and bug fixes

- fixed IOMCU transmission errors when using bdshot
- update relay parameter names on various boards
- add ASP5033 airspeed in minimal builds
- added RadiolinkPIX6
- fix Aocoda-RC H743Dual motor issue
- use ICM45686 as an ICM20649 alternative in CubeRedPrimary

2) System level minor enhancements and bug fixes

- correct use-after-free in script statistics
- added arming check for eeprom full
- fixed a block logging issue which caused log messages to be dropped
- enable Socket SO_REUSEADDR on LwIP
- removed IST8310 overrun message
- added Siyi ZT6 support
- added BTFL sidebar symbols to the OSD
- added CRSF extended link stats to the OSD
- use the ESC with the highest RPM in the OSD when only one can be displayed
- support all Tramp power levels on high power VTXs
- emit jump count in missions even if no limit
- improve the bitmask indicating persistent parameters on bootloader flash
- fix duplicate error condition in the MicroStrain7

3) AHRS / EKF fixes

- fix infinite climb bug when using EK3_OGN_HGT_MASK

4) Plane specific changes

- fix rangefinder correction when terrain following is off
- correct description of MIN_GROUNDSPEED parameter
- correct Q_TRIM_PITCH description
- ensure the dshot type gets set at startup

5) Other minor enhancements and bug fixes

- specify pymonocypher version in more places
- added DroneCAN dependencies to custom builds

------------------------------------------------------------------
Release 4.5.4 12th June 2024

Changes from 4.5.3
Expand Down
5 changes: 2 additions & 3 deletions ArduPlane/altitude.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,8 @@ void Plane::rangefinder_height_update(void)
}

if (rangefinder_state.in_range) {
// base correction is the difference between baro altitude and
// rangefinder estimate
float correction = adjusted_relative_altitude_cm()*0.01 - rangefinder_state.height_estimate;
// If not using terrain data, we expect zero correction when our height above target is equal to our rangefinder measurement
float correction = height_above_target() - rangefinder_state.height_estimate;

#if AP_TERRAIN_AVAILABLE
// if we are terrain following then correction is based on terrain data
Expand Down
2 changes: 1 addition & 1 deletion ArduPlane/quadplane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ const AP_Param::GroupInfo QuadPlane::var_info2[] = {

// @Param: TRIM_PITCH
// @DisplayName: Quadplane AHRS trim pitch
// @Description: This sets the compensation for the pitch angle trim difference between calibrated AHRS level and vertical flight pitch. NOTE! this is relative to calibrated AHRS trim, not forward flight trim which includes TRIM_PITCH. For tailsitters, this is relative to a baseline of 90 degrees in AHRS.
// @Description: This sets the compensation for the pitch angle trim difference between calibrated AHRS level and vertical flight pitch. NOTE! this is relative to calibrated AHRS trim, not forward flight trim which includes PTCH_TRIM_DEG. For tailsitters, this is relative to a baseline of 90 degrees in AHRS.
// @Units: deg
// @Range: -10 +10
// @Increment: 0.1
Expand Down
1 change: 1 addition & 0 deletions ArduPlane/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ void Plane::init_ardupilot()
if (g2.oneshot_mask != 0) {
hal.rcout->set_output_mode(g2.oneshot_mask, AP_HAL::RCOutput::MODE_PWM_ONESHOT);
}
hal.rcout->set_dshot_esc_type(SRV_Channels::get_dshot_esc_type());

set_mode_by_number((enum Mode::Number)g.initial_mode.get(), ModeReason::INITIALISED);

Expand Down
8 changes: 4 additions & 4 deletions ArduPlane/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

#include "ap_version.h"

#define THISFIRMWARE "ArduPlane V4.5.4"
#define THISFIRMWARE "ArduPlane V4.5.5-beta1"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,5,4,FIRMWARE_VERSION_TYPE_OFFICIAL
#define FIRMWARE_VERSION 4,5,5,FIRMWARE_VERSION_TYPE_BETA

#define FW_MAJOR 4
#define FW_MINOR 5
#define FW_PATCH 4
#define FW_TYPE FIRMWARE_VERSION_TYPE_OFFICIAL
#define FW_PATCH 5
#define FW_TYPE FIRMWARE_VERSION_TYPE_BETA

#include <AP_Common/AP_FWVersionDefine.h>
35 changes: 35 additions & 0 deletions Rover/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
Rover Release Notes:
--------------------
Release 4.5.5-beta1 1st July 2024

Changes from 4.5.4

1) Board specific enhancements and bug fixes

- fixed IOMCU transmission errors when using bdshot
- update relay parameter names on various boards
- add ASP5033 airspeed in minimal builds
- added RadiolinkPIX6
- fix Aocoda-RC H743Dual motor issue
- use ICM45686 as an ICM20649 alternative in CubeRedPrimary

2) System level minor enhancements and bug fixes

- correct use-after-free in script statistics
- added arming check for eeprom full
- fixed a block logging issue which caused log messages to be dropped
- enable Socket SO_REUSEADDR on LwIP
- removed IST8310 overrun message
- added Siyi ZT6 support
- added BTFL sidebar symbols to the OSD
- added CRSF extended link stats to the OSD
- use the ESC with the highest RPM in the OSD when only one can be displayed
- support all Tramp power levels on high power VTXs
- emit jump count in missions even if no limit
- improve the bitmask indicating persistent parameters on bootloader flash
- fix duplicate error condition in the MicroStrain7

5) Other minor enhancements and bug fixes

- specify pymonocypher version in more places
- added DroneCAN dependencies to custom builds

------------------------------------------------------------------
Release 4.5.4 12th June 2024

Changes from 4.5.3
Expand Down
8 changes: 4 additions & 4 deletions Rover/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

#include "ap_version.h"

#define THISFIRMWARE "ArduRover V4.5.4"
#define THISFIRMWARE "ArduRover V4.5.5-beta1"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,5,4,FIRMWARE_VERSION_TYPE_OFFICIAL
#define FIRMWARE_VERSION 4,5,5,FIRMWARE_VERSION_TYPE_BETA

#define FW_MAJOR 4
#define FW_MINOR 5
#define FW_PATCH 4
#define FW_TYPE FIRMWARE_VERSION_TYPE_OFFICIAL
#define FW_PATCH 5
#define FW_TYPE FIRMWARE_VERSION_TYPE_BETA

#include <AP_Common/AP_FWVersionDefine.h>
Binary file modified Tools/IO_Firmware/iofirmware_dshot_highpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_dshot_lowpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_8MHz_highpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_8MHz_lowpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_dshot_highpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_dshot_lowpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_highpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_f103_lowpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_highpolh.bin
Binary file not shown.
Binary file modified Tools/IO_Firmware/iofirmware_lowpolh.bin
Binary file not shown.
7 changes: 6 additions & 1 deletion Tools/ardupilotwaf/chibios.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,13 @@ def sign_firmware(image, private_keyfile):
try:
import monocypher
except ImportError:
Logs.error("Please install monocypher with: python3 -m pip install pymonocypher")
Logs.error("Please install monocypher with: python3 -m pip install pymonocypher==3.1.3.2")
return None

if monocypher.__version__ != "3.1.3.2":
Logs.error("must use monocypher 3.1.3.2, please run: python3 -m pip install pymonocypher==3.1.3.2")
return None

try:
key = open(private_keyfile, 'r').read()
except Exception as ex:
Expand Down
1 change: 0 additions & 1 deletion Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,6 @@ def get_sim_parameter_documentation_get_whitelist(self):
"SIM_WAVE_LENGTH",
"SIM_WAVE_SPEED",
"SIM_WIND_DIR_Z",
"SIM_WIND_T",
])

vinfo_key = self.vehicleinfo_key()
Expand Down
Binary file added Tools/bootloaders/RadiolinkPIX6_bl.bin
Binary file not shown.
Loading
Loading