未完成

Dependencies:   linemiconget petbottle_Loadin5port Kinect OmniPosition PID QEI led R1307 S-ShapeModel SerialMultiByte TFmini fep2 ikarashiMDC linesSnsor omni_wheel solenoid_valve

main.cpp

Committer:
tanabe2000
Date:
2018-10-12
Revision:
0:7822f4172b0c
Child:
2:c501f6845500

File content as of revision 0:7822f4172b0c:

#include "mbed.h"
#include "pin_config.h"
#include "gakubot.h"
//#include "petbottleLoading.h"

GakuBot gakugaku;
//petbottleLoading loading;
Serial pc(USBTX, USBRX, 115200);
Timer mainT;

int main()
{
//    mainT.start();
    while(1) {
//        mainT.reset();
//        pc.printf("%f\r\n",mainT.read());
        gakugaku.botConfirm();
//        gakugaku.controllerMode1();
//        gakugaku.controllMech1();
        gakugaku.autoMode1();
//        wait(0.01);
        

//        loading.petbottlemode();

    }

}