Brain inertial sensor keeps changing the heading value even though robot is not moving

Does anyone have an issue around their inertial sensor constantly changing values even when the robot is not moving?

We have been facing accuracy issues with our robot when we use Turn blocks (left, right or heading to X degrees) and wondering if this is a sensor issue.

Attached video for more info

make sure the robot is perfectly stationary when the inertial sensor calibrates (ie. when you call calibrate in your code)

2 Likes

This is in driver mode not autonomous

Why would that matter ? If the robot is not stationary when the IMU calibrates it may drift. Try a manual calibration from the devices screen and check the IMU is ok.

2 Likes

Thanks. I checked in the devices screen and the IMU is okay.
So my takeaway is that, even in Driver control, it makes sense to calibrate brain inertial.
Curious though on why teams would use direction blocks in a driver control mode. Am I missing some benefits of using the inertial sensor in driver control mode?

1 Like

…and Happy birthday. Thanks for taking the time to respond on a busy day :slight_smile:

2 Likes