library for m3Dpi robot, based on the Pololu 3pi and m3pi. m3Dpi has multiple distance sensors, gyroscope, compass and accelerometer sensor to be fully aware of its environment. With the addition of xbee or nrf24n01 module it has wireless communication capabilities.

Dependencies:   m3pi ADXL345_I2C HMC5583L ITG3200 PCA9547 TLC59116 VL6180x RGB-fun xbee

Dependents:   m3Dpi-helloworld

Committer:
sillevl
Date:
Wed Jan 20 17:54:16 2016 +0000
Revision:
12:4cb092df6958
Parent:
7:448de3b31a48
update library to forked project

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 4:b2fe3a2545bf 1 #pragma once
sillevl 4:b2fe3a2545bf 2
sillevl 4:b2fe3a2545bf 3 namespace m3dpi
sillevl 4:b2fe3a2545bf 4 {
sillevl 4:b2fe3a2545bf 5 struct Distance {
sillevl 4:b2fe3a2545bf 6 int front;
sillevl 4:b2fe3a2545bf 7 int front_right;
sillevl 4:b2fe3a2545bf 8 int right;
sillevl 4:b2fe3a2545bf 9 int back_right;
sillevl 4:b2fe3a2545bf 10 int back;
sillevl 4:b2fe3a2545bf 11 int back_left;
sillevl 4:b2fe3a2545bf 12 int left;
sillevl 4:b2fe3a2545bf 13 int front_left;
sillevl 4:b2fe3a2545bf 14 };
sillevl 4:b2fe3a2545bf 15
sillevl 4:b2fe3a2545bf 16 struct Acceleration{
sillevl 4:b2fe3a2545bf 17 int x;
sillevl 4:b2fe3a2545bf 18 int y;
sillevl 4:b2fe3a2545bf 19 int z;
sillevl 4:b2fe3a2545bf 20 };
sillevl 4:b2fe3a2545bf 21
sillevl 4:b2fe3a2545bf 22 struct Rotation{
sillevl 4:b2fe3a2545bf 23 int x;
sillevl 4:b2fe3a2545bf 24 int y;
sillevl 4:b2fe3a2545bf 25 int z;
sillevl 4:b2fe3a2545bf 26 };
sillevl 4:b2fe3a2545bf 27
sillevl 4:b2fe3a2545bf 28 struct Direction{
sillevl 4:b2fe3a2545bf 29 int x;
sillevl 4:b2fe3a2545bf 30 int y;
sillevl 4:b2fe3a2545bf 31 int z;
sillevl 4:b2fe3a2545bf 32 };
sillevl 4:b2fe3a2545bf 33 }