Skip to content
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

Plane/Copter/Rover/Tracker: 4.6.0-beta4 release #29289

Merged
merged 33 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
b5ee52b
AP_Mount: CADDX RC rate control fix
rmackay9 Feb 17, 2025
db10688
AP_ADSB: Bugfixes and improvements to ping200X integration
nicholas-inocencio Oct 9, 2024
c2feec9
AP_ADSB: Style fixes
nicholas-inocencio Oct 17, 2024
f2753d6
SRV_Channel: added get_output_pwm_chan() for scripting
tridge Nov 19, 2024
4cad9d5
AP_Scripting: added get_output_pwm_chan
tridge Nov 19, 2024
9299393
AP_Scripting: added UltraMotion servo driver
tridge Nov 19, 2024
9ecb7db
AP_Scripting: added UltraMotion servo driver
tridge Nov 19, 2024
690c16e
AP_HAL_ChibiOS: BARO update for BETAFPV F405
andyp1per Dec 29, 2024
1fcd9de
AP_HAL_ChibiOS: BETAFPV-F405-I2C
andyp1per Jan 11, 2025
6e9f087
bootloaders: BETAFPV-F405-I2C
andyp1per Jan 11, 2025
e6a2bcf
AP_HAL_ChibiOS: add all BETAFPV F405 variants and re-enable baro-less…
andyp1per Jan 25, 2025
28750d6
AP_HAL_ChibiOS: fix docs for BETAFPV-F405-I2C
andyp1per Jan 25, 2025
799ca53
AP_DDS: Add infinite initialization wait
Ryanf55 Jan 19, 2025
91ffa8d
AP_BoardConfig: support flow control on UARTs 6->8
andyp1per Jan 23, 2025
5e822ba
AP_Scripting: video-stream-information param index fix
rmackay9 Jan 15, 2025
0d52192
GCS_MAVLink: correct resetting of parity after passthhru is done
peterbarker Jan 29, 2025
90b4c64
Copter: SystemID: Fix unutilized variables
lthall Jan 30, 2025
15469b4
AP_Arming: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
peterbarker Jan 15, 2025
dc0eda0
ArduCopter: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
peterbarker Jan 15, 2025
7982cf0
Tools: move REQUIRE_POSITION_FROM_ARMING bit to AP_arming
peterbarker Jan 15, 2025
61d5920
AP_Mount: fix object tracking command for ViewPro
eppravitra Feb 6, 2025
c099c38
AP_Baro: Fix BMP581 initialization error
cuav-chen2 Feb 8, 2025
c074dbd
Plane: Quadplane: only log `TILT` on tiltrotors
IamPete1 Feb 7, 2025
56a8ff3
AP_BLHeli: properly deal with interface test when disconnected
andyp1per Jan 8, 2025
192b415
AP_HAL_ChibiOS: reset DMA after exiting soft serial
andyp1per Jan 8, 2025
a2c2290
Tracker: 4.6.0-beta4 release notes
rmackay9 Feb 13, 2025
1292c0f
Tracker: version to 4.6.0-beta4
rmackay9 Feb 13, 2025
5092ff5
Rover: 4.6.0-beta4 release notes
rmackay9 Feb 13, 2025
94e7556
Rover: version to 4.6.0-beta4
rmackay9 Feb 13, 2025
f901ffd
Copter: 4.6.0-beta4 release notes
rmackay9 Feb 13, 2025
db14d5f
Copter: version to 4.6.0-beta4
rmackay9 Feb 13, 2025
80a92cd
Plane: 4.6.0-beta4 release notes
rmackay9 Feb 13, 2025
69b4900
Plane: version to 4.6.0-beta4
rmackay9 Feb 13, 2025
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
37 changes: 36 additions & 1 deletion AntennaTracker/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Antenna Tracker Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta3
Release 4.6.0-beta4 14-Feb-2025

Changes from 4.6.0-beta3

1) Board specfic changes

- BETAFPV F405 supports DPS310 baro
- BETAFPV F405 board variants added

2) Driver enhancements

- CADDX camera gimbal support
- UltraMotion CAN servo support

3) Copter specific fixes and minor enhancements

- SysId mode uninitialised variables fixed
- ARMING_OPTIONS gets "Require position for arming" (was in FLIGHT_OPTIONS)

4) Bug Fixes and minor enhancements

- AM32 ESC passthrough fixed
- BMP581 baro initialisation fix
- DDS/ROS2 driver waits indefinitely until companion computer running ROS2 starts
- Lua script potential deadlock fix when initialising mavlink in script
- Mcast and HW CAN bridging disabled by default
- Plane's TILT log message only logged on tilt-rotors
- ROMFS race condition when opening files that caused apparent script corruption fixed
- Serial flow control support on UARTS 6 to 8
- Serial passthrough fix to restore parity upon completion
- Serial protocol parameter fix to include I-Bus Telemetry
- uAvionix ping200X driver fixes
- Video stream information lua script param index fixed (avoids param conflict with other scripts)
- ViewPro object tracking fixed
------------------------------------------------------------------
Release 4.6.0-beta3 21-Jan-2025

Changes from 4.6.0-beta2

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

#include "ap_version.h"

#define THISFIRMWARE "AntennaTracker V4.6.0-beta3"
#define THISFIRMWARE "AntennaTracker V4.6.0-beta4"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+2
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+3

#define FW_MAJOR 4
#define FW_MINOR 6
Expand Down
2 changes: 1 addition & 1 deletion ArduCopter/AP_Arming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ bool AP_Arming_Copter::mandatory_gps_checks(bool display_failure)
fence_requires_gps = (copter.fence.get_enabled_fences() & (AC_FENCE_TYPE_CIRCLE | AC_FENCE_TYPE_POLYGON)) > 0;
#endif

if (mode_requires_gps || copter.option_is_enabled(Copter::FlightOption::REQUIRE_POSITION_FOR_ARMING)) {
if (mode_requires_gps || require_location == RequireLocation::YES) {
if (!copter.position_ok()) {
// vehicle level position estimate checks
check_failed(display_failure, "Need Position Estimate");
Expand Down
1 change: 0 additions & 1 deletion ArduCopter/Copter.h
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,6 @@ class Copter : public AP_Vehicle {
DISABLE_THRUST_LOSS_CHECK = (1<<0), // 1
DISABLE_YAW_IMBALANCE_WARNING = (1<<1), // 2
RELEASE_GRIPPER_ON_THRUST_LOSS = (1<<2), // 4
REQUIRE_POSITION_FOR_ARMING = (1<<3), // 8
};
// returns true if option is enabled for this vehicle
bool option_is_enabled(FlightOption option) const {
Expand Down
2 changes: 1 addition & 1 deletion ArduCopter/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
// @Param: FLIGHT_OPTIONS
// @DisplayName: Flight mode options
// @Description: Flight mode specific options
// @Bitmask: 0:Disable thrust loss check, 1:Disable yaw imbalance warning, 2:Release gripper on thrust loss, 3:Require position for arming
// @Bitmask: 0:Disable thrust loss check, 1:Disable yaw imbalance warning, 2:Release gripper on thrust loss
// @User: Advanced
AP_GROUPINFO("FLIGHT_OPTIONS", 44, ParametersG2, flight_options, 0),

Expand Down
37 changes: 36 additions & 1 deletion ArduCopter/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
ArduPilot Copter Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta3
Release 4.6.0-beta4 14-Feb-2025

Changes from 4.6.0-beta3

1) Board specfic changes

- BETAFPV F405 supports DPS310 baro
- BETAFPV F405 board variants added

2) Driver enhancements

- CADDX camera gimbal support
- UltraMotion CAN servo support

3) Copter specific fixes and minor enhancements

- SysId mode uninitialised variables fixed
- ARMING_OPTIONS gets "Require position for arming" (was in FLIGHT_OPTIONS)

4) Bug Fixes and minor enhancements

- AM32 ESC passthrough fixed
- BMP581 baro initialisation fix
- DDS/ROS2 driver waits indefinitely until companion computer running ROS2 starts
- Lua script potential deadlock fix when initialising mavlink in script
- Mcast and HW CAN bridging disabled by default
- Plane's TILT log message only logged on tilt-rotors
- ROMFS race condition when opening files that caused apparent script corruption fixed
- Serial flow control support on UARTS 6 to 8
- Serial passthrough fix to restore parity upon completion
- Serial protocol parameter fix to include I-Bus Telemetry
- uAvionix ping200X driver fixes
- Video stream information lua script param index fixed (avoids param conflict with other scripts)
- ViewPro object tracking fixed
------------------------------------------------------------------
Release 4.6.0-beta3 21-Jan-2025

Changes from 4.6.0-beta2

Expand Down
3 changes: 2 additions & 1 deletion ArduCopter/mode_systemid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ void ModeSystemId::exit()
// should be called at 100hz or more
void ModeSystemId::run()
{
float target_roll, target_pitch;
float target_roll = 0.0f;
float target_pitch = 0.0f;
float target_yaw_rate = 0.0f;
float pilot_throttle_scaled = 0.0f;
float target_climb_rate = 0.0f;
Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

#include "ap_version.h"

#define THISFIRMWARE "ArduCopter V4.6.0-beta3"
#define THISFIRMWARE "ArduCopter V4.6.0-beta4"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+2
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+4

#define FW_MAJOR 4
#define FW_MINOR 6
Expand Down
37 changes: 36 additions & 1 deletion ArduPlane/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
ArduPilot Plane Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta3
Release 4.6.0-beta4 14-Feb-2025

Changes from 4.6.0-beta3

1) Board specfic changes

- BETAFPV F405 supports DPS310 baro
- BETAFPV F405 board variants added

2) Driver enhancements

- CADDX camera gimbal support
- UltraMotion CAN servo support

3) Copter specific fixes and minor enhancements

- SysId mode uninitialised variables fixed
- ARMING_OPTIONS gets "Require position for arming" (was in FLIGHT_OPTIONS)

4) Bug Fixes and minor enhancements

- AM32 ESC passthrough fixed
- BMP581 baro initialisation fix
- DDS/ROS2 driver waits indefinitely until companion computer running ROS2 starts
- Lua script potential deadlock fix when initialising mavlink in script
- Mcast and HW CAN bridging disabled by default
- Plane's TILT log message only logged on tilt-rotors
- ROMFS race condition when opening files that caused apparent script corruption fixed
- Serial flow control support on UARTS 6 to 8
- Serial passthrough fix to restore parity upon completion
- Serial protocol parameter fix to include I-Bus Telemetry
- uAvionix ping200X driver fixes
- Video stream information lua script param index fixed (avoids param conflict with other scripts)
- ViewPro object tracking fixed
------------------------------------------------------------------
Release 4.6.0-beta3 21-Jan-2025

Changes from 4.6.0-beta2

Expand Down
5 changes: 5 additions & 0 deletions ArduPlane/tiltrotor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,11 @@ void Tiltrotor::update(void)
// Write tiltrotor specific log
void Tiltrotor::write_log()
{
// Only valid on a tiltrotor
if (!enabled()) {
return;
}

struct log_tiltrotor pkt {
LOG_PACKET_HEADER_INIT(LOG_TILT_MSG),
time_us : AP_HAL::micros64(),
Expand Down
4 changes: 2 additions & 2 deletions ArduPlane/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

#include "ap_version.h"

#define THISFIRMWARE "ArduPlane V4.6.0-beta3"
#define THISFIRMWARE "ArduPlane V4.6.0-beta4"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+2
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+3

#define FW_MAJOR 4
#define FW_MINOR 6
Expand Down
37 changes: 36 additions & 1 deletion Rover/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Rover Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta3
Release 4.6.0-beta4 14-Feb-2025

Changes from 4.6.0-beta3

1) Board specfic changes

- BETAFPV F405 supports DPS310 baro
- BETAFPV F405 board variants added

2) Driver enhancements

- CADDX camera gimbal support
- UltraMotion CAN servo support

3) Copter specific fixes and minor enhancements

- SysId mode uninitialised variables fixed
- ARMING_OPTIONS gets "Require position for arming" (was in FLIGHT_OPTIONS)

4) Bug Fixes and minor enhancements

- AM32 ESC passthrough fixed
- BMP581 baro initialisation fix
- DDS/ROS2 driver waits indefinitely until companion computer running ROS2 starts
- Lua script potential deadlock fix when initialising mavlink in script
- Mcast and HW CAN bridging disabled by default
- Plane's TILT log message only logged on tilt-rotors
- ROMFS race condition when opening files that caused apparent script corruption fixed
- Serial flow control support on UARTS 6 to 8
- Serial passthrough fix to restore parity upon completion
- Serial protocol parameter fix to include I-Bus Telemetry
- uAvionix ping200X driver fixes
- Video stream information lua script param index fixed (avoids param conflict with other scripts)
- ViewPro object tracking fixed
------------------------------------------------------------------
Release 4.6.0-beta3 21-Jan-2025

Changes from 4.6.0-beta2

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

#include "ap_version.h"

#define THISFIRMWARE "ArduRover V4.6.0-beta3"
#define THISFIRMWARE "ArduRover V4.6.0-beta4"

// the following line is parsed by the autotest scripts
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+2
#define FIRMWARE_VERSION 4,6,0,FIRMWARE_VERSION_TYPE_BETA+3

#define FW_MAJOR 4
#define FW_MINOR 6
Expand Down
8 changes: 4 additions & 4 deletions Tools/autotest/arducopter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11949,8 +11949,8 @@ def assert_home_position_not_set(self):

raise NotAchievedException("Home is set when it shouldn't be")

def REQUIRE_POSITION_FOR_ARMING(self):
'''check FlightOption::REQUIRE_POSITION_FOR_ARMING works'''
def REQUIRE_LOCATION_FOR_ARMING(self):
'''check AP_Arming::Option::REQUIRE_LOCATION_FOR_ARMING works'''
self.context_push()
self.set_parameters({
"SIM_GPS_NUMSATS": 3, # EKF does not like < 6
Expand All @@ -11966,7 +11966,7 @@ def REQUIRE_POSITION_FOR_ARMING(self):

self.change_mode('STABILIZE')
self.set_parameters({
"FLIGHT_OPTIONS": 8,
"ARMING_NEED_LOC": 1,
})
self.assert_prearm_failure("Need Position Estimate", other_prearm_failures_fatal=False)
self.context_pop()
Expand Down Expand Up @@ -12278,7 +12278,7 @@ def tests2b(self): # this block currently around 9.5mins here
self.GuidedWeatherVane,
self.Clamp,
self.GripperReleaseOnThrustLoss,
self.REQUIRE_POSITION_FOR_ARMING,
self.REQUIRE_LOCATION_FOR_ARMING,
self.LoggingFormat,
self.MissionRTLYawBehaviour,
self.BatteryInternalUseOnly,
Expand Down
Binary file added Tools/bootloaders/BETAFPV-F405-I2C_bl.bin
Binary file not shown.
Loading
Loading