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: Add getting of gyro/accel values #26161

Merged

Conversation

haydendonald
Copy link
Contributor

Added bindings for ins:get_gyro(instance) and ins:get_accel(instance) so that scripting can get the readings from individual sensors. We need this to be able to validate that the IMUs are reading correctly for testing purposes.

This has been tested using the Cube Orange Plus

@bugobliterator bugobliterator force-pushed the pr-add-get-gyroaccel-scripting branch 2 times, most recently from 4fb1516 to da1ce28 Compare February 7, 2024 05:19
@bugobliterator bugobliterator force-pushed the pr-add-get-gyroaccel-scripting branch from 1555138 to f61effa Compare February 7, 2024 08:20
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.

As Amilcar points out - that doesn't look right

Added the ability to get gyro/accel from LUA
@haydendonald haydendonald force-pushed the pr-add-get-gyroaccel-scripting branch from f61effa to 5a50be1 Compare February 7, 2024 22:03
@haydendonald
Copy link
Contributor Author

As Amilcar points out - that doesn't look right

Fixed :)

@tridge tridge merged commit c259d11 into ArduPilot:master Feb 8, 2024
93 checks passed
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.

5 participants