タコ 駆動側 

Dependencies:   2017NHKpin_config FEP R1307 PID ikarashiMDC omni_wheel

Fork of NHK2017_octopus2 by NagaokaRoboticsClub_mbedTeam

Committer:
number_key
Date:
Mon Nov 13 17:33:30 2017 +0900
Revision:
50:3a7c858aa0f9
Parent:
49:69a7235d837a
Child:
51:64534e908d5c
Child:
52:320f910ca6ca
no arms

Who changed what in which revision?

UserRevisionLine numberNew contents of line
uchitake 1:845af5425eec 1 #include "mbed.h"
uchitake 1:845af5425eec 2 #include "pin_config.h"
uchitake 1:845af5425eec 3 #include "bot.h"
uchitake 1:845af5425eec 4
number_key 49:69a7235d837a 5 Bot OCTOPUS;
uchitake 1:845af5425eec 6 Serial pc(USBTX, USBRX, 115200);
uchitake 1:845af5425eec 7
uchitake 1:845af5425eec 8 int main()
uchitake 1:845af5425eec 9 {
uchitake 1:845af5425eec 10 pc.printf("const\n\r");
uchitake 1:845af5425eec 11 while(1) {
UCHITAKE 15:9aa11febe517 12 printf("loop\n\r");
number_key 49:69a7235d837a 13 OCTOPUS.confirmPad1();
number_key 50:3a7c858aa0f9 14 OCTOPUS.confirmPad2();
number_key 50:3a7c858aa0f9 15 //OCTOPUS.controllDrive();
number_key 50:3a7c858aa0f9 16 OCTOPUS.controllDrive2();
number_key 49:69a7235d837a 17 // OCTOPUS.controllDrive3();
number_key 49:69a7235d837a 18 //OCTOPUS.controllDrive4();
number_key 49:69a7235d837a 19 OCTOPUS.controllMech();
number_key 49:69a7235d837a 20 //OCTOPUS.calibrate();
number_key 49:69a7235d837a 21 //OCTOPUS.checkConnection();
number_key 49:69a7235d837a 22 //OCTOPUS.checkDegree();
number_key 50:3a7c858aa0f9 23 wait(0.01);
uchitake 1:845af5425eec 24 }
uchitake 1:845af5425eec 25 }