ライブラリ化を行った後
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_Practice1 by
Diff: main.cpp
- Revision:
- 27:2ffbc5587399
- Parent:
- 26:3280d0300b04
- Child:
- 28:72b9af7e1700
--- a/main.cpp Mon Aug 07 08:56:32 2017 +0000 +++ b/main.cpp Thu Aug 24 16:40:04 2017 +0000 @@ -81,7 +81,7 @@ { setup(); while(1) { - //pc.printf("Pulses is: %i\r\n",sbdbt.down); + pc.printf("Pulses is: %lo\tdeg :%f\r\n",enc_cylinder.pulse(),enc_cylinder.deg()); } } @@ -159,6 +159,7 @@ void cylinder_cal() { cylinder.cyclic(sbdbt.shikaku); + enc_cylinder.deg_cylinder_cal(); } void boost(){