より分かりやすく表現
This commit is contained in:
parent
a1a5a8a431
commit
4fb1e24117
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
#include "Motor.h"
|
#include "Motor.h"
|
||||||
|
|
||||||
const unsigned long LAP_COUNT = 848; //カウント/周
|
const unsigned long LAP_COUNT = 848; //カウント/周
|
||||||
const unsigned long TARGET_NONE_COUNT = LAP_COUNT*90/848; //カーブを出るカウント
|
const unsigned long TARGET_NONE_COUNT = LAP_COUNT*90/848; //カーブ中でのカウント数
|
||||||
|
|
||||||
const int LANCE_ANGLE_PARALLEL1 = 90 - 53; //度
|
const int LANCE_ANGLE_PARALLEL1 = 90 - 53; //度
|
||||||
const int LANCE_ANGLE_PARALLEL2 = 90 - 43; //度
|
const int LANCE_ANGLE_PARALLEL2 = 90 - 43; //度
|
||||||
|
@ -132,7 +132,7 @@ void trace(byte sensor){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MODE_LEFT時の再加速用 */
|
/* MODE_LEFT時の再加速用trace() */
|
||||||
void traceLeft(byte sensor){
|
void traceLeft(byte sensor){
|
||||||
switch(sensor&MASK_MODE_TRACE){
|
switch(sensor&MASK_MODE_TRACE){
|
||||||
case 0b01000000:
|
case 0b01000000:
|
||||||
|
|
Loading…
Add table
Reference in a new issue