Project

General

Profile

Revision 1879

tested validTurns.c and made it more compatible with the upcoming database.

View differences:

validTurns.h
1 1
#ifndef _VALID_TURNS_
2 2
#define _VALID_TURNS_
3 3

  
4
#include "../linefollowing/lineFollow.h"
5
#include "../linefollowing/lineDrive.h"
6 4

  
5
#include "lineDrive.h"
6

  
7 7
//To differenciate between T and Cross Intersections
8 8
#define DOUBLE_C	4
9 9
#define DOUBLE_T	5
......
54 54

  
55 55
int getCrossPos(int barcode, int max);
56 56

  
57
int getTurnType();
57
int validateTurn(int barcode, int turn_type);
58 58

  
59
int validateTurn(int barcode);
60

  
61 59
#endif

Also available in: Unified diff