Module imu

Source
Expand description

§Inertial Sensor API

Structs§

Acceleration
Raw Accelerometer values

Functions§

get_accel
Gets the Inertial Sensor’s raw accelerometer values
get_heading
Gets the Inertial Sensor’s heading relative to the initial direction of it’s x-axis
get_pitch
Gets the Inertial Sensor’s heading relative to the initial direction of it’s x-axis
get_roll
Gets the Inertial Sensor’s heading relative to the initial direction of it’s x-axis
get_yaw
Gets the Inertial Sensor’s heading relative to the initial direction of it’s x-axis
reset
Calibrate the IMU Sensor
set_data_rate
Sets the Inertial Sensor’s refresh interval in milliseconds
tare
Resets all 5 values of the Interial Sensor to 0