ME 405
IMU_Test Namespace Reference

Variables

 uart = pyb.UART(2)
 Creates UART object for sending serial data. More...
 
 i2c = I2C(-1, scl=Pin('PB8'), sda=Pin('PB9'), freq=115200)
 Initializes the I2C bus. More...
 
 start_time = utime.ticks_us()
 Start time of the data collection. More...
 
 imu = BNO055(i2c)
 Initializes the bno055 driver using the I2C object. More...
 
 curr_time = utime.ticks_us()
 
int time = utime.ticks_diff(curr_time, start_time)/1e6
 
 eulr = imu.euler()
 
 omga = imu.gyro()
 

Variable Documentation

◆ curr_time

IMU_Test.curr_time = utime.ticks_us()

◆ eulr

IMU_Test.eulr = imu.euler()

◆ i2c

IMU_Test.i2c = I2C(-1, scl=Pin('PB8'), sda=Pin('PB9'), freq=115200)

Initializes the I2C bus.

◆ imu

IMU_Test.imu = BNO055(i2c)

Initializes the bno055 driver using the I2C object.

◆ omga

IMU_Test.omga = imu.gyro()

◆ start_time

IMU_Test.start_time = utime.ticks_us()

Start time of the data collection.

◆ time

int IMU_Test.time = utime.ticks_diff(curr_time, start_time)/1e6

◆ uart

IMU_Test.uart = pyb.UART(2)

Creates UART object for sending serial data.