Shield Code 6.0
|
Header file for the IMU library for Dartmouth's 317 Lab. More...
#include <Arduino.h>
#include <Wire.h>
#include <LIS3MDL.h>
#include <LSM6.h>
Go to the source code of this file.
Functions | |
void | initIMU (LIS3MDL *compass, LSM6 *gyro) |
Initializes the IMU. Sets settings for all used axes. | |
void | sampleIMU (LIS3MDL *compass, LSM6 *gyro, int16_t *data) |
Gets the IMU data. | |
Header file for the IMU library for Dartmouth's 317 Lab.
This library is used to query the Pololu IMU. This is where we get location, acceleration, and gyroscopic data. This is basically identical to the library used on the Uno based board, which was written by Max Roberts circa 2015, ed. Leah Ryu 2019.
Deprecated code was removed by Sean Wallace 2024-06-20.
Author: Max Roberts Date: 2015-06-22
Definition in file IMU.hpp.
void initIMU | ( | LIS3MDL * | mag, |
LSM6 * | gyro_acc | ||
) |