Skip to content

Commit 9b21391

Browse files
author
Shota Aoki
authored
goAndTurnRight関数をrotationCheck関数に変更 (#10)
1 parent 9b62839 commit 9b21391

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

uROS_STEP13_micromouse/adjust.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void straightCheck(int section_check)
116116
disableMotor();
117117
}
118118

119-
void goAndTurnRight(void)
119+
void rotationCheck(void)
120120
{
121121
enableMotor();
122122
delay(1000);
@@ -173,7 +173,7 @@ unsigned char execByModeAdjust(unsigned char mode)
173173
break;
174174

175175
case 3:
176-
goAndTurnRight();
176+
rotationCheck();
177177
break;
178178
case 4:
179179
copyMap();

uROS_STEP8_micromouse/adjust.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void straightCheck(int section_check)
116116
disableMotor();
117117
}
118118

119-
void goAndTurnRight(void)
119+
void rotationCheck(void)
120120
{
121121
enableMotor();
122122
delay(1000);
@@ -173,7 +173,7 @@ unsigned char execByModeAdjust(unsigned char mode)
173173
break;
174174

175175
case 3:
176-
goAndTurnRight();
176+
rotationCheck();
177177
break;
178178
case 4:
179179
copyMap();

0 commit comments

Comments
 (0)