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-21
Revision:
41:ae6f844facb1
Parent:
29:41f6fc4c8962
Child:
43:c659cd5baa14

File content as of revision 41:ae6f844facb1:

#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);
    }
}