IMU measurements

Read all the information from the SBC Inertial Measurement Unit and play with its parameters. You can find more information about the Imu class here: IMU – Inertial Measurement Unit.

Change accelerometer frequency and range/resolution

Example to change IMU accelerometers configuration to 200Hz and 6G.

>>> import sbc
>>> imu = sbc.Imu()
>>> imu.acc_config( imu.ACC_CONF_ODR_200, imu.ACC_RANGE_6_G )