#include <Camera.h>
Public Member Functions | |
bool | initialize () |
void | getFrame (image &aImage) |
void | getColorFrame (colimage &aColorImage) |
Static Public Member Functions | |
Camera * | getCamera () |
Protected Member Functions | |
Camera () | |
~Camera () | |
bool | release () |
Private Attributes | |
ServoHandle | cameraServoHandle |
Static Private Attributes | |
Camera | cameras [NUMBER_OF_ROBOTS] |
|
|
|
|
|
This method is used to get the instance of this singleton class
|
|
This methods takes an image from the color camera
|
|
This methods takes an image from the color camera and converts it to grayscale
|
|
Initializes the camera 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 camera after usage. Is automatically called by the destructor
|
|
The single instance that exists of this class
|
|
Used internally to control the camera servo |