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

New IMU API angular velocity wraps around #617

Closed
rbrott opened this issue Mar 2, 2023 · 2 comments
Closed

New IMU API angular velocity wraps around #617

rbrott opened this issue Mar 2, 2023 · 2 comments

Comments

@rbrott
Copy link
Member

rbrott commented Mar 2, 2023

I have an op mode that essentially calls imu.getRobotAngularVelocity(AngleUnit.RADIANS) in a loop as voltage applied to the motors slowly ramps. Here's the plot:
image
I wouldn't expect the velocity here to wrap around.

I haven't had the chance to investigate in detail. I'm not sure if the issue is with the imu -> robot transform or is with the hardware (I'm actually not sure if this data is from a BNO or BHI).

@gearsincorg
Copy link

Yes. Weird that it seems to be wrapping at PI. Might be normal for angle, but not angular velocity.

@Windwoes
Copy link
Member

This was fixed in v10.0

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

No branches or pull requests

3 participants