Octopus!!

Dependencies:   2017NHKpin_config FEP HMC6352 PID QEI R1307 ikarashiMDC omni_wheel

Fork of KANIv3 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);
    }
}