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
main.cpp@1:41cee26b35cc, 2014-04-11 (annotated)
- Committer:
- Strikewolf
- Date:
- Fri Apr 11 17:54:21 2014 +0000
- Revision:
- 1:41cee26b35cc
- Parent:
- 0:b6fd1c37944a
- Child:
- 2:56eb726bdb0d
Additional work on functions
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Strikewolf | 0:b6fd1c37944a | 1 | #include "mbed.h" |
Strikewolf | 0:b6fd1c37944a | 2 | #include "RobotControl.h" |
Strikewolf | 0:b6fd1c37944a | 3 | |
Strikewolf | 0:b6fd1c37944a | 4 | int main() { |
Strikewolf | 1:41cee26b35cc | 5 | //Init compass |
Strikewolf | 1:41cee26b35cc | 6 | compass.setOpMode(HMC6352_CONTINUOUS, 1, 20); |
Strikewolf | 1:41cee26b35cc | 7 | wait(2); |
Strikewolf | 1:41cee26b35cc | 8 | //centerTurnLeft(25); |
Strikewolf | 0:b6fd1c37944a | 9 | stop(); |
Strikewolf | 0:b6fd1c37944a | 10 | |
Strikewolf | 0:b6fd1c37944a | 11 | while(1) { |
Strikewolf | 0:b6fd1c37944a | 12 | } |
Strikewolf | 0:b6fd1c37944a | 13 | } |