FtcRobotController icon indicating copy to clipboard operation
FtcRobotController copied to clipboard

New IMU API angular velocity wraps around

Open rbrott opened this issue 2 years ago • 1 comments

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).

rbrott avatar Mar 02 '23 04:03 rbrott

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

gearsincorg avatar Sep 22 '23 03:09 gearsincorg

This was fixed in v10.0

Windwoes avatar Sep 14 '24 16:09 Windwoes