Project

General

Profile

Revision 1632

Added #define to parameterize time to wait after TAG.

View differences:

trunk/code/behaviors/hunter_prey/john/main.c
16 16

  
17 17
#define WL_CHANNEL 					15
18 18

  
19
#define BACK_THRESHOLD 			-5000
19
#define BACK_THRESHOLD 			-1000
20 20
#define TURN_DIST						1024
21 21
#define IR_DIST_THRESHOLD		200
22
#define WAIT_DELAY_MS				2000
22 23

  
23 24
/* State Macros */
24 25

  
......
202 203
					orbs_set_color(BLUE, BLUE);
203 204
					bom_off();
204 205
					motors_off();
205
					delay_ms(5000);
206
					delay_ms(WAIT_DELAY_MS);
206 207
					state = TOP_HUNTER_HUNT;
207 208
					hunter_state = HUNTER_SPIRAL;
208 209
					break;

Also available in: Unified diff