タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

main.cpp

Committer:
takeuchi
Date:
2017-10-22
Revision:
43:c659cd5baa14
Parent:
41:ae6f844facb1
Child:
49:69a7235d837a

File content as of revision 43:c659cd5baa14:

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

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

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