デバッグモードが適切じゃなかったので削除
This commit is contained in:
parent
8b54b8d017
commit
8cc1013bee
1 changed files with 3 additions and 4 deletions
|
@ -17,7 +17,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define LINE_BLACK //白地・黒ライン有効
|
//#define LINE_BLACK //白地・黒ライン有効
|
||||||
#define DEBUG //デバッグ有効
|
|
||||||
|
|
||||||
#define TARGET_NONE_COUNT 85
|
#define TARGET_NONE_COUNT 85
|
||||||
|
|
||||||
|
@ -268,11 +267,11 @@ void loop(){
|
||||||
switch(mode){
|
switch(mode){
|
||||||
case MODE_TRACE:
|
case MODE_TRACE:
|
||||||
trace(sensor);
|
trace(sensor);
|
||||||
#ifdef DEBUG
|
|
||||||
if( counter > 854*6 - 60 ){
|
if( counter > 854*6 - 60 ){ // 6周(1周854カウント)したら、円筒標的を狙いに行く
|
||||||
mode = MODE_STOP;
|
mode = MODE_STOP;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MODE_STOP:
|
case MODE_STOP:
|
||||||
|
|
Loading…
Add table
Reference in a new issue