SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.
Dependencies: TSI USBDevice mbed-dev
Fork of SmartWheels by
Diff: main.cpp
- Revision:
- 66:c9b64f5337cc
- Parent:
- 65:295c222fdf88
- Child:
- 67:1b5c8add3d01
- Child:
- 68:b15cab740371
diff -r 295c222fdf88 -r c9b64f5337cc main.cpp --- a/main.cpp Wed Apr 12 22:16:40 2017 +0000 +++ b/main.cpp Wed Apr 12 22:26:26 2017 +0000 @@ -90,6 +90,9 @@ { ardu_utft_print("F", 230, 100); servo_set_angle(0.0f); + motor_set_right_speed(-1.0f); + motor_set_left_speed(-1.0f); + wait(0.5f); motor_set_right_speed(0.0f); motor_set_left_speed(0.0f); return 0;