タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

main.cpp

Committer:
number_key
Date:
2017-11-23
Revision:
54:7176e6a08600
Parent:
52:320f910ca6ca
Child:
56:e9a5cfd23833

File content as of revision 54:7176e6a08600:

#include "mbed.h"
#include "pin_config.h"
#include "bot.h"

Bot OCTOPUS;
Serial pc(USBTX, USBRX, 115200);

int main()
{
    //pc.printf("const\n\r");
    while(1) {
        //printf("loop\n\r");
        OCTOPUS.confirmPad();
        //OCTOPUS.controllDrive();
        OCTOPUS.controllDrive2();
        // OCTOPUS.controllDrive3();
        //OCTOPUS.controllDrive4();
        wait(INTERVAL);
    }
}