sensordefs.h File Reference

This file defines symbolic constants and a structure for using IR sensors. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ir_rec_s
 Saves infrared proximity values for all 11 LEDs and the time stamp. More...

Defines

#define SENSORCOUNT   11
 Total number of sensors.
#define SENSOR_BL   0
 Back left sensor (7 o'clock).
#define SENSOR_L   1
 Left sensor (9 o'clock).
#define SENSOR_LF   2
 Left forward sensor (11 o'clock).
#define SENSOR_FL   3
 Forward left sensor (12 o'clock).
#define SENSOR_FR   4
 Forward right sensor (12 o'clock).
#define SENSOR_RF   5
 Right forward sensor (1 o'clock).
#define SENSOR_R   6
 Right sensor (3 o'clock).
#define SENSOR_BR   7
 Back right sensor (5 o'clock).
#define SENSOR_B   8
 Back sensor (6 o'clock).
#define SENSOR_BTL   9
 Bottom left sensor.
#define SENSOR_BTR   10
 Bottom right sensor.

Typedefs

typedef struct ir_rec_s ir_rec_t
 Saves infrared proximity values for all 11 LEDs and the time stamp.


Detailed Description

This file defines symbolic constants and a structure for using IR sensors.

Version:
Id
sensordefs.h,v 1.6 2008/09/18 12:59:02 prokop Exp

Definition in file sensordefs.h.


Define Documentation

#define SENSOR_B   8

Back sensor (6 o'clock).

Definition at line 50 of file sensordefs.h.

#define SENSOR_BL   0

Back left sensor (7 o'clock).

Definition at line 34 of file sensordefs.h.

#define SENSOR_BR   7

Back right sensor (5 o'clock).

Definition at line 48 of file sensordefs.h.

#define SENSOR_BTL   9

Bottom left sensor.

Definition at line 52 of file sensordefs.h.

#define SENSOR_BTR   10

Bottom right sensor.

Definition at line 54 of file sensordefs.h.

#define SENSOR_FL   3

Forward left sensor (12 o'clock).

Definition at line 40 of file sensordefs.h.

#define SENSOR_FR   4

Forward right sensor (12 o'clock).

Definition at line 42 of file sensordefs.h.

#define SENSOR_L   1

Left sensor (9 o'clock).

Definition at line 36 of file sensordefs.h.

#define SENSOR_LF   2

Left forward sensor (11 o'clock).

Definition at line 38 of file sensordefs.h.

#define SENSOR_R   6

Right sensor (3 o'clock).

Definition at line 46 of file sensordefs.h.

#define SENSOR_RF   5

Right forward sensor (1 o'clock).

Definition at line 44 of file sensordefs.h.

#define SENSORCOUNT   11

Total number of sensors.

Definition at line 30 of file sensordefs.h.


Typedef Documentation

typedef struct ir_rec_s ir_rec_t

Saves infrared proximity values for all 11 LEDs and the time stamp.


Generated on Sun Sep 28 21:20:01 2008 for Guard by  doxygen 1.5.6