Skip to content

Conversation

@henry-sensoriis
Copy link

Removed negative sign when rotating from LOCAL_FRD landing target message positions to NED frame. This was likely introduced due to an underlying bug in the copter autotest.py script where BODY_FRD and LOCAL_FRD (both body yaw-aligned frames) had different direction of rotations.

@rmackay9
Copy link
Contributor

rmackay9 commented Dec 4, 2025

Hi @henry-sensoriis,

Thanks for this. Could you correct the commit title to be prefixed with "AC_PrecLand: "? If you peek at our commit history you'll see we always prefix the commit with the subsystem affected because it makes backporting easier. .. and of course, I mean the commit title not the PR title.

It might also be a good idea to shorten the title and put the extra into the description of the commit.

Corrected both yaw rotation in the AC_PrecLand module, and underlying sign error in autotest/arducopter.py where different rotation directions were used for BODY_FRD and LOCAL_FRD incorrectly.
@henry-sensoriis henry-sensoriis force-pushed the bugfix/precland_local_frd_yaw_invert branch from c07b75d to 6feb9f9 Compare December 4, 2025 11:30
@henry-sensoriis
Copy link
Author

Amended the commit title and description! @rmackay9

@rmackay9
Copy link
Contributor

rmackay9 commented Dec 4, 2025

Thanks for this. As a reminder to myself, this probably means I need to fix the BlueOS precision landing extension as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants