NagaokaRoboticsClub_mbedTeam / Mbed 2 deprecated NHK2017_octopus

Dependencies:   2017NHKpin_config mbed FEP ikarashiMDC PID jy901 omni HMC6352 omni_wheel

Fork of KANI2017v2 by NagaokaRoboticsClub_mbedTeam

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "pin_config.h"
00003 #include "bot.h"
00004 
00005 
00006 Bot OCTOPUS;
00007 
00008 int main()
00009 {
00010   //printf("start\r\n");
00011     while(1) {
00012         OCTOPUS.confirmPad1();
00013         OCTOPUS.confirmPad2();
00014         //OCTOPUS.drive();
00015         OCTOPUS.controllDrive();
00016         //OCTOPUS.controllDrive2();
00017         //OCTOPUS.controllDrive3();
00018         OCTOPUS.controllMech();
00019         //OCTOPUS.checkConnection();
00020         //OCTOPUS.debugCompass();
00021         OCTOPUS.calibrate();
00022         wait(INTERVAL);
00023     }
00024 }