code of robot bike
Dependencies: SDFileSystem mbed
Fork of Robot_Bicycle by
Diff: main.cpp
- Revision:
- 13:51ef67cd4fd6
- Parent:
- 12:60593247555d
diff -r 60593247555d -r 51ef67cd4fd6 main.cpp --- a/main.cpp Wed Feb 22 09:49:44 2017 +0000 +++ b/main.cpp Wed May 17 15:22:29 2017 +0000 @@ -230,7 +230,7 @@ // yaw_angle_old = yaw_angle; count2ztc_m++; - if(count2ztc_m >= CNT2ZTCm){sys_state = H_PD;} + if(count2ztc_m >= CNT2ZTCm){sys_state = M_ZTC;} } else if(sys_state == M_ZTC) {