Spring 2014, ECE 4180 project, Georgia Institute of Technolgoy. This is the human driver (RF controller) program for the Robotics Cat and Mouse program.
Dependencies: ADXL345_I2C_NEST HMC6352 IMUfilter ITG3200_NEST USBHost mbed-rtos mbed
Fork of Project by
Diff: main.cpp
- Revision:
- 1:41cee26b35cc
- Parent:
- 0:b6fd1c37944a
- Child:
- 2:56eb726bdb0d
diff -r b6fd1c37944a -r 41cee26b35cc main.cpp --- a/main.cpp Fri Apr 11 17:40:07 2014 +0000 +++ b/main.cpp Fri Apr 11 17:54:21 2014 +0000 @@ -2,10 +2,10 @@ #include "RobotControl.h" int main() { - setDriveStraight(1, false); - wait(1); - setDriveStraight(1, true); - wait(1); + //Init compass + compass.setOpMode(HMC6352_CONTINUOUS, 1, 20); + wait(2); + //centerTurnLeft(25); stop(); while(1) {