Rover API Documentation
|
#include <roverapi/rover_gy521.hpp>
#include <wiringPi.h>
#include <wiringPiI2C.h>
#include <cmath>
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
Macros | |
#define | MPU6050_GYRO_XOUT_H 0x43 |
#define | MPU6050_GYRO_YOUT_H 0x45 |
#define | MPU6050_GYRO_ZOUT_H 0x47 |
#define | MPU6050_ACCEL_XOUT_H 0x3B |
#define | MPU6050_ACCEL_YOUT_H 0x3D |
#define | MPU6050_ACCEL_ZOUT_H 0x3F |
#define | MPU6050_PWR_MGMT_1 0x6B |
#define | MPU6050_I2C_ADDRESS 0x68 |
Variables | |
static int | gy521_fd = -1 |
#define MPU6050_ACCEL_XOUT_H 0x3B |
#define MPU6050_ACCEL_YOUT_H 0x3D |
#define MPU6050_ACCEL_ZOUT_H 0x3F |
#define MPU6050_GYRO_XOUT_H 0x43 |
#define MPU6050_GYRO_YOUT_H 0x45 |
#define MPU6050_GYRO_ZOUT_H 0x47 |
#define MPU6050_I2C_ADDRESS 0x68 |
#define MPU6050_PWR_MGMT_1 0x6B |
|
static |