EEEN21000
GROUP 30 Line Following Buggy
Loading...
Searching...
No Matches
sensor.h File Reference
#include "debug1.h"
#include "arm_math.h"
#include "mbed.h"
#include "helper.h"
#include <algorithm>
#include <array>
#include <cstdio>
Include dependency graph for sensor.h:

Go to the source code of this file.

Classes

class  Sensor
 Sensor class to handle the sensor readings. More...
 

Macros

#define PRESCALER   10.0f
 Prescaler to normalised the sensor readings. More...
 
#define NO_TRACK   30
 Arbitrary value for out of track detection. More...
 
#define WHITE_TRESHOLD   0.8
 Minimum treshold for white line. More...
 
#define _SENSORS_DEBUG   0
 

Macro Definition Documentation

◆ PRESCALER

#define PRESCALER   10.0f

Prescaler to normalised the sensor readings.

◆ NO_TRACK

#define NO_TRACK   30

Arbitrary value for out of track detection.

◆ WHITE_TRESHOLD

#define WHITE_TRESHOLD   0.8

Minimum treshold for white line.

◆ _SENSORS_DEBUG

#define _SENSORS_DEBUG   0