sampleProgram

Dependencies:   QEI accelerator bit_test cyclic_io cyclic_var cylinder event_var limit mbed mecanum motor_drive pid pid_encoder rs422_put sbdbt servo

Fork of 17robo_fuzi by kusano kiyoshige

Revision:
16:e49df474e4c6
Parent:
15:0fdf483769bf
Child:
17:5c4718c603dc
--- a/main.cpp	Fri Aug 04 01:35:16 2017 +0000
+++ b/main.cpp	Fri Aug 04 01:45:44 2017 +0000
@@ -68,7 +68,7 @@
 void setup();
 void output();
 void motor_cal();
-void cylinder();
+void cylinder_cal();
 void boost();
 void cylinder_origin();
 float yaw, target_yaw;
@@ -107,7 +107,7 @@
 void output()
 {
     motor_cal();
-    cylinder();
+    cylinder_cal();
     boost();
 
     static int counter;
@@ -155,7 +155,7 @@
     }
 }
 
-void cylinder()
+void cylinder_cal()
 {
     cylinder.cyclic(sbdbt.down);
 }