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

Release: ArduPilot-4.6.0-beta2 #28838

Merged
merged 91 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
6a27ce6
AC_Fence: prevent a fetch R/C switch from disabling FENCE_AUTOENABLE=3
tridge Nov 25, 2024
289a398
AC_Fence: fixed pre-arm check for polygon fences
tridge Nov 25, 2024
a500ae6
autotest: fixed test suite for FENCE_AUTOENABLE=2
tridge Nov 30, 2024
476a4b8
AC_Fence: removed _curr_alt from class
tridge Dec 9, 2024
754319e
AC_Fence: removed _auto_enable_mask
tridge Dec 9, 2024
ecb1924
AC_Fence: remember manual disable of fence for min-alt
tridge Dec 9, 2024
59542ca
autotest: update plane switch fence test
tridge Dec 9, 2024
de0cdc4
autotest: fixed race in MinAltFenceAvoid copter test
tridge Dec 9, 2024
f14efee
autotest: fixed race condition in Copter.MinAltFenceAvoid
tridge Dec 10, 2024
f3fdc28
Plane: fixed takeoff direction with no yaw source
tridge Nov 25, 2024
0fbde9f
autotest: added non-compass takeoff test
tridge Nov 25, 2024
58ce1d0
AP_HAL_ChibiOS: TBS LUCID H7
andyp1per Sep 17, 2024
af88459
bootloaders: TBS LUCID H7
andyp1per Sep 17, 2024
ec0850e
hwdef:fixed board AP-H743v2 CAN pin definition.
TompsonTan Oct 31, 2024
552c140
AP_DDS: Add set/get parameters service.
Oct 3, 2024
7771d0a
AP_Vehicle: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
03f062f
AR_Motors: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
a156f4a
SRV_Channel: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
685b4cd
AntennaTracker: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
efb5a02
ArduCopter: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
b2218d8
ArduPlane: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
3d128bd
ArduSub: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
9cb9c02
Blimp: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
f93ab7d
Rover: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
619f923
AP_Periph: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
309ad91
AP_Motors: create and use a singleton for SRV_Channels
peterbarker Nov 9, 2024
0a80e65
AR_Motors: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
e5191a6
SRV_Channel: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
7c6c7ac
ArduCopter: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
5ed608f
ArduPlane: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
b2df549
ArduSub: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
7b49ba4
Blimp: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
2b72994
Tools: make SRV_Channels::cork non-static
peterbarker Nov 12, 2024
663656a
.github: remove mantic test from environnement testing EOL
khancyr Nov 25, 2024
a97b721
Ap_Frsky_Telem: fix for apparent wind passthrough telemetry frame
yaapu Nov 15, 2024
0a6f810
hwdef: add SPA06 to Kakute hwdef
vincentpoont2 Nov 19, 2024
afed217
AP_Airspeed: don't send AIRSPEED_AUTOCAL message when disabled
tridge Dec 1, 2024
4a4e0f7
hwdef: SkySakura H743 fc Support
BloodSakura3774 Sep 13, 2024
86b0d91
hwdef: use V-UAV in place of VIEWPRO for link text
peterbarker Nov 6, 2024
395fb27
AP_Boootloader: board_types.txt: correct company name for V-UAV reser…
peterbarker Nov 6, 2024
0d714d1
.github: update actions/cache to v4 to remove node version warning
khancyr Nov 22, 2024
3510b8e
AP_HAL_ChibiOS: support BMP280 on FoxeerF405v2
andyp1per Oct 2, 2024
db3b6c9
Copter: rename ADVANCED_FAILSAFE to AP_COPTER_ADVANCED_FAILSAFE_ENABLED
peterbarker Nov 6, 2024
4e72585
Tools: add entry for Copter advanced failsafe to custom build server
peterbarker Nov 6, 2024
aea7264
Plane: QuadPlane: Clear pilot corrections on mode change to avoid get…
IamPete1 Nov 9, 2024
9609e35
AP_Mount: topotek: Change the type of gimbal angle acquisition
laozhou-fujian Oct 23, 2024
b656ebf
AP_Tramp: Fix _configuration_finished indication
menschel Nov 11, 2024
43be3e9
AP_RTC: allow time to shift forward when disarmed
peterbarker Mar 7, 2023
d2548b5
AP_Logger: log RTC into PM message
peterbarker Nov 19, 2024
f35fcfd
AP_Scheduler: log RTC into PM message
peterbarker Nov 19, 2024
6fd1c2c
autotest: Added TECS test for constantly changing home alt
Georacer Nov 25, 2024
aae1e77
AP_TECS: Delete redundant _hgt_afe setting
Georacer Nov 19, 2024
49e39d1
AP_TECS: Added method to handle home altitude change
Georacer Nov 19, 2024
79f8fb5
Plane: Call new TECS method in case of altitude change
Georacer Nov 19, 2024
ce5e619
autotest: add test for storing many fence items on SD card
peterbarker Nov 20, 2024
d95f336
autotest: add offset_location_heading_distance
peterbarker Nov 20, 2024
1422c9b
AC_Fence: correct handling of more than 256 fence items
peterbarker Nov 20, 2024
4213bb1
GCS_MAVLink: correct handling of more than 256 fence items
peterbarker Nov 20, 2024
0b42d2e
AC_Fence: specify storage type for AC_PolyFenceType
peterbarker Nov 20, 2024
697dc73
GCS_MAVLink: Fence: correct mission_type in mission_item_int conversion
peterbarker Nov 20, 2024
46cac0f
GCS_MAVLink: Rally: correct mission_type in mission_item_int conversion
peterbarker Nov 20, 2024
59b9eec
GCS_MAVLink: validate vertex count before assignment
peterbarker Nov 20, 2024
454ed68
AP_NavEKF3: pos vel resets default to user defined source
rmackay9 Nov 20, 2024
311ca15
AP_InertialSensor: fixed check for changes to notch filters
tridge Nov 29, 2024
90eb4ca
AP_HAL: enable up to 3 CAN callbacks
tridge Nov 30, 2024
6cc5f05
AP_Logger: logging structures from AP_CANManager
tridge Nov 30, 2024
380977f
AP_CANManager: support CAN frame logging
tridge Nov 30, 2024
8b083c8
Tools: added option for CAN logging
tridge Nov 30, 2024
e85c762
Tools: support CANFD log playback in CAN_playback.py
tridge Nov 30, 2024
ef1dc16
AP_InertialSensor: stop sensors converging if motors arm
tridge Nov 29, 2024
8315934
AP_RCTelemetry: add missing CRSF scheduler table entry
andyp1per Dec 5, 2024
5f734c9
AC_AutoTune: fix tracking of maximum angular acceleration
tpwrules Dec 4, 2024
21e0d97
AP_Camera: set-stream-information loses send-text
rmackay9 Nov 14, 2024
ae317b4
AP_Scripting: set-video-stream-info encoding binding and docs
rmackay9 Nov 14, 2024
0f90782
AP_Scripting: promote video-stream-information to applet
rmackay9 Nov 13, 2024
f5bf481
add bmi270 support to kakuteh7
vincentpoont2 Dec 3, 2024
a62d8aa
AP_HAL: protect against invalid values when calculating Jain's estimator
andyp1per Dec 7, 2024
f919c10
AP_Networking: default IP to 192.168.144.x
rmackay9 Dec 6, 2024
dad3544
AP_DDS: default IP to 192.168.144.x
rmackay9 Dec 6, 2024
088c308
AP_RTC: correct logger documentation
peterbarker Nov 21, 2024
b353071
Tools: logger_metadata: increase diagnostic output on failure
peterbarker Nov 21, 2024
19bcbf0
AP_Logger: correct PM message metadata
peterbarker Nov 21, 2024
0cf29fb
AP_Scripting: Examples: message_interval: give checker a hint about t…
IamPete1 Dec 6, 2024
c378cbe
Tracker: 4.6.0-beta2 release notes
rmackay9 Dec 11, 2024
d5afd06
Tracker: version to 4.6.0-beta2
rmackay9 Dec 11, 2024
cf31685
Rover: 4.6.0-beta2 release notes
rmackay9 Dec 11, 2024
bb41be0
Rover: version to 4.6.0-beta2
rmackay9 Dec 11, 2024
1c70437
Copter: 4.6.0-beta2 release notes
rmackay9 Dec 11, 2024
d7d92cf
Copter: version to 4.6.0-beta2
rmackay9 Dec 11, 2024
c122baf
Plane: 4.6.0-beta2 release notes
rmackay9 Dec 11, 2024
5576b4d
Plane: version to 4.6.0-beta2
rmackay9 Dec 11, 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
2 changes: 0 additions & 2 deletions .github/workflows/test_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
name: focal
- os: ubuntu
name: jammy
- os: ubuntu
name: mantic
- os: ubuntu
name: noble
- os: archlinux
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_blimp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down Expand Up @@ -343,7 +343,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
NOW=$(date -u +"%F-%T")
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
- name: ccache cache files
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
with:
path: ~/.ccache
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
Expand Down
49 changes: 48 additions & 1 deletion AntennaTracker/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,53 @@
Antenna Tracker Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta 13 Nov 2024
Release 4.6.0-beta2 11 Dec 2024

Changes from 4.6.0-beta1

1) Board specfic changes

- FoxeerF405v2 supports BMP280 baro
- KakuteH7, H7-Mini, H7-Wing, F4 support SPA06 baro
- MUPilot support
- SkySakura H743 support
- TBS Lucid H7 support
- VUAV-V7pro README documentation fixed
- X-MAV AP-H743v2 CAN pin definition fixed

2) Copter specific enhancements and bug fixes

- AutoTune fix for calc of maximum angular acceleration
- Advanced Failsafe customer build server option

3) Plane related enhancements and bug fixes

- QuadPlane fix for QLand getting stuck in pilot repositioning
- QuikTune C++ conversion (allow running quiktun on F4 and f7 boards)
- Takeoff direction fixed when no yaw source
- TECS correctly handles home altitude changes

4) Bug Fixes and minor enhancements

- AIRSPEED_AUTOCAL mavlink message only sent when required and fixed for 2nd sensor
- CAN frame logging added to ease support
- CRSF reconnection after failsafe fixed
- EKF3 position and velocity resets default to user defined source
- Ethernet IP address default 192.168.144.x
- Fence autoenable fix when both RCn_OPTION=11/Fence and FENCE_AUTOENABLE = 3 (AutoEnableOnlyWhenArmed)
- Fence pre-arm check that vehicle is within polygon fence
- Fence handling of more than 256 items fixed
- FFT protection against divide-by-zero in Jain estimator
- Frsky telemetry apparent wind speed fixed
- Inertial sensors stop sensor converging if motors arm
- Inertial sensors check for changes to notch filters fixed
- Real Time Clock allowed to shift forward when disarmed
- ROS2/DDS get/set parameter service added
- Scripting gets memory handling improvements
- Scripting promote video-stream-information to applet
- Topotek gimbal driver uses GIA message to retrieve current angle
- Tramp VTX OSD power indicator fixed
------------------------------------------------------------------
Release 4.6.0-beta1 13 Nov 2024

Changes from 4.5.7

Expand Down
2 changes: 1 addition & 1 deletion AntennaTracker/Tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void Tracker::one_second_loop()
mavlink_system.sysid = g.sysid_this_mav;

// update assigned functions and enable auxiliary servos
SRV_Channels::enable_aux_servos();
AP::srv().enable_aux_servos();

// updated armed/disarmed status LEDs
update_armed_disarmed();
Expand Down
2 changes: 1 addition & 1 deletion AntennaTracker/servos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
void Tracker::init_servos()
{
// update assigned functions and enable auxiliary servos
SRV_Channels::enable_aux_servos();
AP::srv().enable_aux_servos();

SRV_Channels::set_default_function(CH_YAW, SRV_Channel::k_tracker_yaw);
SRV_Channels::set_default_function(CH_PITCH, SRV_Channel::k_tracker_pitch);
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-beta1"
#define THISFIRMWARE "AntennaTracker V4.6.0-beta2"

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

#define FW_MAJOR 4
#define FW_MINOR 6
Expand Down
2 changes: 1 addition & 1 deletion ArduCopter/APM_Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// features below are disabled by default on all boards
//#define CAL_ALWAYS_REBOOT // flight controller will reboot after compass or accelerometer calibration completes
//#define DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE // disable mode changes from GCS during Radio failsafes. Avoids a race condition for vehicle like Solo in which the RC and telemetry travel along the same link
//#define ADVANCED_FAILSAFE 1 // enabled advanced failsafe which allows running a portion of the mission in failsafe events
//#define AP_COPTER_ADVANCED_FAILSAFE_ENABLED 1 // enabled advanced failsafe which allows running a portion of the mission in failsafe events

// other settings
//#define THROTTLE_IN_DEADBAND 100 // redefine size of throttle deadband in pwm (0 ~ 1000)
Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/Copter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const AP_Scheduler::Task Copter::scheduler_tasks[] = {
#if HAL_ADSB_ENABLED
SCHED_TASK(avoidance_adsb_update, 10, 100, 138),
#endif
#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
SCHED_TASK(afs_fs_check, 10, 100, 141),
#endif
#if AP_TERRAIN_AVAILABLE
Expand Down Expand Up @@ -710,7 +710,7 @@ void Copter::one_hz_loop()
}

// update assigned functions and enable auxiliary servos
SRV_Channels::enable_aux_servos();
AP::srv().enable_aux_servos();

#if HAL_LOGGING_ENABLED
// log terrain data
Expand Down
6 changes: 3 additions & 3 deletions ArduCopter/Copter.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
#include <AP_OSD/AP_OSD.h>
#endif

#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
# include "afs_copter.h"
#endif
#if TOY_MODE_ENABLED
Expand Down Expand Up @@ -183,7 +183,7 @@ class Copter : public AP_Vehicle {
friend class ParametersG2;
friend class AP_Avoidance_Copter;

#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
friend class AP_AdvancedFailsafe_Copter;
#endif
friend class AP_Arming_Copter;
Expand Down Expand Up @@ -802,7 +802,7 @@ class Copter : public AP_Vehicle {
// failsafe.cpp
void failsafe_enable();
void failsafe_disable();
#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
void afs_fs_check(void);
#endif

Expand Down
2 changes: 1 addition & 1 deletion ArduCopter/GCS_Mavlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ void GCS_MAVLINK_Copter::handle_message(const mavlink_message_t &msg)
}

MAV_RESULT GCS_MAVLINK_Copter::handle_flight_termination(const mavlink_command_int_t &packet) {
#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
if (GCS_MAVLINK::handle_flight_termination(packet) == MAV_RESULT_ACCEPTED) {
return MAV_RESULT_ACCEPTED;
}
Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ const AP_Param::GroupInfo ParametersG2::var_info[] = {
// @User: Advanced
AP_GROUPINFO("GND_EFFECT_COMP", 5, ParametersG2, gndeffect_comp_enabled, 1),

#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
// @Group: AFS_
// @Path: ../libraries/AP_AdvancedFailsafe/AP_AdvancedFailsafe.cpp
AP_SUBGROUPINFO(afs, "AFS_", 6, ParametersG2, AP_AdvancedFailsafe),
Expand Down Expand Up @@ -1251,7 +1251,7 @@ ParametersG2::ParametersG2(void)
#if HAL_PROXIMITY_ENABLED
, proximity()
#endif
#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
,afs()
#endif
#if MODE_SMARTRTL_ENABLED
Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/Parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,8 @@ class ParametersG2 {

// whether to enforce acceptance of packets only from sysid_my_gcs
AP_Int8 sysid_enforce;
#if ADVANCED_FAILSAFE

#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
// advanced failsafe library
AP_AdvancedFailsafe_Copter afs;
#endif
Expand Down
49 changes: 48 additions & 1 deletion ArduCopter/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,53 @@
ArduPilot Copter Release Notes:
------------------------------------------------------------------
Release 4.6.0-beta 13 Nov 2024
Release 4.6.0-beta2 11 Dec 2024

Changes from 4.6.0-beta1

1) Board specfic changes

- FoxeerF405v2 supports BMP280 baro
- KakuteH7, H7-Mini, H7-Wing, F4 support SPA06 baro
- MUPilot support
- SkySakura H743 support
- TBS Lucid H7 support
- VUAV-V7pro README documentation fixed
- X-MAV AP-H743v2 CAN pin definition fixed

2) Copter specific enhancements and bug fixes

- AutoTune fix for calc of maximum angular acceleration
- Advanced Failsafe customer build server option

3) Plane related enhancements and bug fixes

- QuadPlane fix for QLand getting stuck in pilot repositioning
- QuikTune C++ conversion (allow running quiktun on F4 and f7 boards)
- Takeoff direction fixed when no yaw source
- TECS correctly handles home altitude changes

4) Bug Fixes and minor enhancements

- AIRSPEED_AUTOCAL mavlink message only sent when required and fixed for 2nd sensor
- CAN frame logging added to ease support
- CRSF reconnection after failsafe fixed
- EKF3 position and velocity resets default to user defined source
- Ethernet IP address default 192.168.144.x
- Fence autoenable fix when both RCn_OPTION=11/Fence and FENCE_AUTOENABLE = 3 (AutoEnableOnlyWhenArmed)
- Fence pre-arm check that vehicle is within polygon fence
- Fence handling of more than 256 items fixed
- FFT protection against divide-by-zero in Jain estimator
- Frsky telemetry apparent wind speed fixed
- Inertial sensors stop sensor converging if motors arm
- Inertial sensors check for changes to notch filters fixed
- Real Time Clock allowed to shift forward when disarmed
- ROS2/DDS get/set parameter service added
- Scripting gets memory handling improvements
- Scripting promote video-stream-information to applet
- Topotek gimbal driver uses GIA message to retrieve current angle
- Tramp VTX OSD power indicator fixed
------------------------------------------------------------------
Release 4.6.0-beta1 13 Nov 2024

Changes from 4.5.7

Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/afs_copter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "Copter.h"

#if ADVANCED_FAILSAFE
#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED

/*
setup radio_out values for all channels to termination values
Expand Down Expand Up @@ -63,4 +63,4 @@ AP_AdvancedFailsafe::control_mode AP_AdvancedFailsafe_Copter::afs_mode(void)
{
copter.set_mode(Mode::Number::AUTO,ModeReason::GCS_FAILSAFE);
}
#endif // ADVANCED_FAILSAFE
#endif // AP_COPTER_ADVANCED_FAILSAFE_ENABLED
6 changes: 4 additions & 2 deletions ArduCopter/afs_copter.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
advanced failsafe support for copter
*/

#if ADVANCED_FAILSAFE
#include "config.h"

#if AP_COPTER_ADVANCED_FAILSAFE_ENABLED
#include <AP_AdvancedFailsafe/AP_AdvancedFailsafe.h>

/*
Expand All @@ -44,5 +46,5 @@ class AP_AdvancedFailsafe_Copter : public AP_AdvancedFailsafe
void set_mode_auto(void) override;
};

#endif // ADVANCED_FAILSAFE
#endif // AP_COPTER_ADVANCED_FAILSAFE_ENABLED

5 changes: 3 additions & 2 deletions ArduCopter/compassmot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ MAV_RESULT Copter::mavlink_compassmot(const GCS_MAVLINK &gcs_chan)
read_radio();

// pass through throttle to motors
SRV_Channels::cork();
auto &srv = AP::srv();
srv.cork();
motors->set_throttle_passthrough_for_esc_calibration(channel_throttle->get_control_in() * 0.001f);
SRV_Channels::push();
srv.push();

// read some compass values
compass.read();
Expand Down
4 changes: 2 additions & 2 deletions ArduCopter/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -574,8 +574,8 @@
// Developer Items
//

#ifndef ADVANCED_FAILSAFE
# define ADVANCED_FAILSAFE 0
#ifndef AP_COPTER_ADVANCED_FAILSAFE_ENABLED
# define AP_COPTER_ADVANCED_FAILSAFE_ENABLED 0
#endif

#ifndef CH_MODE_DEFAULT
Expand Down
Loading
Loading