Functions

advanced functions More...

Functions

eTwiWrapperError tucbot_imu_reset (void)
 Reinitializes the IMU. More...
 

Detailed Description

advanced functions

Function Documentation

◆ tucbot_imu_reset()

eTwiWrapperError tucbot_imu_reset ( void  )

Reinitializes the IMU.

This function resets the imu. Afterwards it sets up all the needed registers. E.g. the maximum angular velocity will be set to the default value (kImuGyroResolutionDefault).

Note
This function is automatically called on startup.
Returns
value representing the current error - see also eTwiWrapperError