SmartVehicle-Basis
SmartFactory
|
Provides an Interface for all Enviroment detection Systems of the Vehilce. More...
#include <EnvironmentDetection.h>
Public Member Functions | |
EnvironmentDetection () | |
Construct a new Environment Detection object. More... | |
const int | Linedeviation () |
Recognise deviation from vehicle to line. More... | |
Private Attributes | |
LineDetector | pLinedetector = LineDetector(PIN_SENSOR_0, PIN_SENSOR_1, PIN_SENSOR_2, PIN_SENSOR_3, PIN_SENSOR_4) |
Linedetector Object with 5 Sensors. More... | |
Provides an Interface for all Enviroment detection Systems of the Vehilce.
Definition at line 30 of file EnvironmentDetection.h.
|
inline |
Construct a new Environment Detection object.
Definition at line 37 of file EnvironmentDetection.h.
|
inline |
Recognise deviation from vehicle to line.
-10 Degree turn left
10 Degree turn right
180 full Line detected
200 Line Lost or ErrorValues
4 Line is on the right side
0 Line is in the middle
-4 Line is on the left side
Definition at line 53 of file EnvironmentDetection.h.
|
private |
Linedetector Object with 5 Sensors.
Definition at line 62 of file EnvironmentDetection.h.