Skip to content

Conversation

@rmackay9
Copy link
Contributor

This is a follow-up to #31970 and #31978 and addresses another part of issue #31562

This renames and rescales CIRCLE_RADIUS (in cm) to CIRCLE_RADIUS_M (in meters).

As a bit of a drive-by cleanup I've also moved some definitions from the AC_Circle.h file to the AC_Circle.cpp file to reduce their scope.

This has been tested in SITL to confirm the behaviour is as expected and also that the parameter conversion works correctly for both Copter and Sub.

@rmackay9 rmackay9 force-pushed the copter47-param-conv-part3 branch from 0d46d99 to 52713c3 Compare January 22, 2026 11:57
@rmackay9 rmackay9 requested a review from Copilot January 22, 2026 11:57
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@rmackay9
Copy link
Contributor Author

I've tested this for Copter and Sub and have added a fix to Sub to allow it to detect changes to the CIRCLE_RADIUS_M parameter. This issue exists in master as well

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@rmackay9 rmackay9 force-pushed the copter47-param-conv-part3 branch from f3ff835 to c05fb3f Compare January 26, 2026 05:36
@Hwurzburg Hwurzburg added the WikiNeeded needs wiki update label Jan 26, 2026
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rmackay9 rmackay9 merged commit 495cbfd into ArduPilot:master Jan 27, 2026
112 of 113 checks passed
@rmackay9 rmackay9 deleted the copter47-param-conv-part3 branch January 27, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants