タコ 駆動側
Dependencies: 2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel
Fork of NHK2017_octopus2 by
main.cpp
- Committer:
- number_key
- Date:
- 2017-11-28
- Revision:
- 56:e9a5cfd23833
- Parent:
- 54:7176e6a08600
File content as of revision 56:e9a5cfd23833:
#include "mbed.h" #include "pin_config.h" #include "bot.h" Bot OCTOPUS; Serial pc(usbTX, usbRX, 115200); // Timer t; // DigitalOut led(LED1); int main() { //pc.printf("const\n\r"); // led = true; while(1) { // led = !led; //pc.printf("loop\n\r"); // t.start(); OCTOPUS.confirmPad(); // t.stop(); // pc.printf("%f\r\n",t.read()); //OCTOPUS.controllDrive(); // t.reset(); OCTOPUS.controllDrive2(); // OCTOPUS.controllDrive3(); // OCTOPUS.controllDrive4(); // OCTOPUS.controllDrive5(); wait(INTERVAL); } }