YRL Maze lab made more script-y
Dependencies: PsiSwarmLab-ScriptingBased mbed
Fork of UKESF_Lab by
Diff: main.h
- Revision:
- 7:ef9ab01b9e26
- Parent:
- 6:ff3c66f7372b
- Child:
- 9:085e090e1ec1
diff -r ff3c66f7372b -r ef9ab01b9e26 main.h --- a/main.h Thu Oct 22 00:46:14 2015 +0000 +++ b/main.h Thu Oct 22 13:28:17 2015 +0000 @@ -22,7 +22,7 @@ extern char beacon_found; // This will be a 1 if beacon is detected, 0 if it isn't extern int beacon_heading; // The heading from the last time the beacon was detected extern char robots_found[8]; // These will be a 1 when the respective robot [excluding self] was detected during the previous 500ms window -extern char robots_heading[8]; // These are the headings from the last time the respective robots were detected +extern int robots_heading[8]; // These are the headings from the last time the respective robots were detected extern unsigned short robots_distance[8]; // This is the maximum sensor value from the last time the respective robot was detected extern unsigned short reflected_sensor_data[8]; // The reflected IR values when this robots emitters are on extern unsigned short background_sensor_data[8];// The raw IR values when no robot (or beacon) should have its IR on