The subsystem design/basis for the final project
Dependencies: mbed-rtos mbed-src pixylib
Diff: main.cpp
- Revision:
- 4:01252f56e0e5
- Parent:
- 3:dfb6733ae397
- Child:
- 5:f655435d0782
--- a/main.cpp Mon Mar 14 00:40:28 2016 +0000 +++ b/main.cpp Fri Mar 18 17:05:22 2016 +0000 @@ -12,15 +12,14 @@ enum Mode { AUTO_TRACK = '0', MANUAL_CONTROL = '1', - PIXY_SUBSYSTEM = '2', - MOTOR_RESPONSE = '3', - SPEED_RESPONSE = '4', - STEERING_RESPONSE = '5', - TILT_RESPONSE = '6', - MOTOR_TUNING = '7', - SPEED_TUNING = '8', - STEERING_TUNING = '9', - TILT_TUNING = 'a' + MOTOR_RESPONSE = '2', + SPEED_RESPONSE = '3', + STEERING_RESPONSE = '4', + TILT_RESPONSE = '5', + MOTOR_TUNING = '6', + SPEED_TUNING = '7', + STEERING_TUNING = '8', + TILT_TUNING = '9' }; void PrintMenu(Serial *pc); @@ -51,9 +50,6 @@ case MANUAL_CONTROL: ManualControl(); break; - case PIXY_SUBSYSTEM: - PixySubsystem(); - break; case MOTOR_RESPONSE: MotorResponse(); break; @@ -95,15 +91,14 @@ pc->printf("---------------------------------------------------------------- \r\n"); pc->printf("0. Automated Tracking \r\n"); pc->printf("1. Manual Control \r\n"); - pc->printf("2. Pixy Subsystem \r\n"); - pc->printf("3. Motor Response \r\n"); - pc->printf("4. Speed Response \r\n"); - pc->printf("5. Steering Response \r\n"); - pc->printf("6. Tilt Response \r\n"); - pc->printf("7. Motor Tunning \r\n"); - pc->printf("8. Speed Tunning \r\n"); - pc->printf("9. Steeing Tunning \r\n"); - pc->printf("a. Tilit Tunning \r\n"); + pc->printf("2. Motor Response \r\n"); + pc->printf("3. Speed Response \r\n"); + pc->printf("4. Steering Response \r\n"); + pc->printf("5. Tilt Response \r\n"); + pc->printf("6. Motor Tunning \r\n"); + pc->printf("7. Speed Tunning \r\n"); + pc->printf("8. Steeing Tunning \r\n"); + pc->printf("9. Tilit Tunning \r\n"); pc->printf("---------------------------------------------------------------- \r\n\r\n"); pc->printf("=> ");