Octopus!!

Dependencies:   2017NHKpin_config FEP HMC6352 PID QEI R1307 ikarashiMDC omni_wheel

Fork of KANIv3 by NagaokaRoboticsClub_mbedTeam

main.cpp

Committer:
number_key
Date:
2017-11-13
Revision:
50:3a7c858aa0f9
Parent:
49:69a7235d837a
Child:
51:64534e908d5c
Child:
52:320f910ca6ca

File content as of revision 50:3a7c858aa0f9:

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