SmartVehicle-Basis
SmartFactory
EnvironmentDetection.h
Go to the documentation of this file.
1 
17 #ifndef ENVIRONMENTDETECTION_H
18 #define ENVIRONMENTDETECTION_H
19 #include <Arduino.h>
20 
21 #include "HardwareConfiguration.h"
22 #include "LogConfiguration.h"
23 
25 
31  //=====PUBLIC====================================================================================
32  public:
38 
53  inline const int Linedeviation() {
54  return pLinedetector.deviation();
55  }
56  //=====PRIVATE===================================================================================
57  private:
63 };
64 #endif
const unsigned int PIN_SENSOR_0
Pin number of line detection sensor 0.
The Class LineDetector handels the Line detection-system.
const unsigned int PIN_SENSOR_4
Pin number of line detection sensor 4.
File that contains the configuratioindetails of the different modules.
Class LineDetector handels the Line detection-System.
Definition: LineDetector.h:24
Provides an Interface for all Enviroment detection Systems of the Vehilce.
const unsigned int PIN_SENSOR_3
Pin number of line detection sensor 3.
const int deviation()
Recognise deviation from vehicle to line.
const int Linedeviation()
Recognise deviation from vehicle to line.
const unsigned int PIN_SENSOR_1
Pin number of line detection sensor 1.
LineDetector pLinedetector
Linedetector Object with 5 Sensors.
const unsigned int PIN_SENSOR_2
Pin number of line detection sensor 2.
EnvironmentDetection()
Construct a new Environment Detection object.