#include <PSDs.h>
Public Member Functions | |
bool | initialize () |
double | readLeft () |
double | readRight () |
double | readFront () |
Static Public Member Functions | |
PSDs * | getPSDs () |
Protected Member Functions | |
PSDs () | |
~PSDs () | |
bool | release () |
Private Attributes | |
PSDHandle | leftPSDHandle |
PSDHandle | rightPSDHandle |
PSDHandle | frontPSDHandle |
Static Private Attributes | |
PSDs | psds [NUMBER_OF_ROBOTS] |
|
|
|
|
|
This method is used to get the instance of this singleton class
|
|
Initializes the sensors for usage. Should automatically be called by the constructor. But as the EyeSim simulator is not able to execute RoBIOS library functions in class constructors, we have declared this method as public and need to call this method manually in main
|
|
|
|
|
|
|
|
Releases the sensors after usage. Is automatically called by the destructor
|
|
Used internally to access the front infra-red sensor |
|
Used internally to access the left infra-red sensor |
|
The single instance that exists of this class
|
|
Used internally to access the right infra-red sensor |