Project

General

Profile

Revision 1972

Traffic Navigation:
Fixed some various issues with the new main (bad calls & added barcode error
handling)
It compiles by default now.

View differences:

traffic_navigation.h
1 1
#ifndef TRAFFIC_NAVIGATION_H
2 2

  
3
/* Debug Options - These must go before includes */
4
#define MAIN_NEW /* compile the new main */
5
#define ORB_INTERSECTION
6

  
3 7
#include <dragonfly_lib.h>
4 8
#include <wl_basic.h>
5 9
#include "../linefollowing/lineDrive.h"
......
7 11
#include "intersectData.h"
8 12
#include "validTurns.h"
9 13

  
10
/* Debug Options */
11
#ifdef DEBUGALL
12
#define ORB_HIGHWAY
13
#define ORB_LINEFOLLOW
14
#define ORB_INTERSECTON
15
#define DEBUG_CA
16
#define DEBUG_INTERSECTION
17
#endif
18

  
19 14
/*States*/
20 15
#define SROAD 0
21 16
#define SINTERSECTION 9 /* for old version */

Also available in: Unified diff