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

AP_Scripting: Fix Location desc method needing AHRS #25225

Closed

Conversation

magicrub
Copy link
Contributor

This fixes a build error where Scripting is enabled but AHRS is not.. such as AP_Periph

Location::get_vector_from_origin_NEU(Vector3f) is wrapped in AP_AHRS_ENABLED which it needs.

@magicrub
Copy link
Contributor Author

This is blocking PR #25226

@IamPete1
Copy link
Member

This fix is included in #25183 I would think you would need the depends on the whole AHRS singleton also (as in my PR)?

@magicrub
Copy link
Contributor Author

@IamPete1 your change looks good and adding it to AHRS itself is not a bad idea but not required to fix the periph-heavy build that this minor change is solving.

@magicrub magicrub force-pushed the pr/scripting_desc_location_ahrs branch from 72acd79 to 4d035be Compare October 13, 2023 01:12
@magicrub magicrub closed this Oct 19, 2023
@magicrub
Copy link
Contributor Author

already part of PR #25183 which has merged

@magicrub magicrub deleted the pr/scripting_desc_location_ahrs branch October 19, 2023 21:29
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.

None yet

2 participants