MPU6000 hardware interface library.
More...
#include <MPU6000.h>
MPU6000 hardware interface library.
Inherits IMU.
Construct with reference to which SPI.
- Parameters
-
bool MPU6000::init |
( |
uint8_t |
csPin | ) |
|
Call to initialize MPU6000 and start getting data.
- Parameters
-
- Returns
- true if successful
Copyright (C) Ghost Robotics - All Rights Reserved Unauthorized copying of this file, via any medium is strictly prohibited Proprietary and confidential Written by Avik De avik@.nosp@m.ghos.nosp@m.trobo.nosp@m.tics.nosp@m..io
void MPU6000::readSensors |
( |
| ) |
|
|
virtual |
Read IMU hardware and set acc, gyr in units of m/s^2 and rad/s.
This function must be implemented by derived classes
Implements IMU.
The documentation for this class was generated from the following files: