タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

main.cpp

Committer:
number_key
Date:
2017-11-13
Revision:
51:64534e908d5c
Parent:
50:3a7c858aa0f9

File content as of revision 51:64534e908d5c:

#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.confirmPad1();
        //OCTOPUS.confirmPad2();
        OCTOPUS.controllDrive();
        //OCTOPUS.controllDrive2();
        // OCTOPUS.controllDrive3();
        //OCTOPUS.controllDrive4();
        OCTOPUS.controllMech();
        //OCTOPUS.calibrate();
        //OCTOPUS.checkConnection();
        //OCTOPUS.checkDegree();
        wait(INTERVAL);
    }
}