ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
Diff: setting/def.h
- Revision:
- 5:5ff3a7d5d8c2
- Parent:
- 4:52da8da146d4
- Child:
- 6:f9167470d819
--- a/setting/def.h Fri Mar 04 03:39:29 2016 +0000 +++ b/setting/def.h Fri Mar 04 09:01:20 2016 +0000 @@ -71,8 +71,15 @@ #define PID_CYCLE 0.05 //s //ir +//ir_pow_old #define IR_X 0 #define IR_Y 1 +//ir_pow +#define IR_X_DIR 0 +#define IR_Y_DIR 1 +#define IR_X_TURN 2 +#define IR_Y_TURN 3 + #define IR_SHORT 0 #define IR_LONG 1 @@ -191,6 +198,7 @@ uint8_t PidFlag; //motor double s_pow; + double m_pow; double l_pow; int8_t dri_pow; uint8_t ir_pow_table;