#include <Camera.h>
| ADBLib::Camera::Camera |
( |
string |
newName | ) |
|
Creates a new camera with a name ID'd by the roboRIO.
- Parameters
-
| newName | The name of the camera, found through the roboRIO. |
| bool ADBLib::Camera::getEnabled |
( |
| ) |
|
Gets the status of the camera.
- Returns
- True if enabled, false otherwise.
| Image * ADBLib::Camera::getImage |
( |
| ) |
|
Gets an image from the camera.
- Returns
- An IMAQ_IMAGE_RGB image object thingy.
- Note
- Camera MUST be enabled for this to work!
| bool ADBLib::Camera::start |
( |
| ) |
|
Starts the camera.
- Returns
- True if successful, false otherwise.
- Note
- This function MUST be called before the camera can be used!
| bool ADBLib::Camera::stop |
( |
| ) |
|
Stops the camera.
- Returns
- True if successful, false otherwise.
- Note
- Camera must be started again before it can be used after this function is called!
| IMAQdxSession ADBLib::Camera::camSession |
|
protected |
| bool ADBLib::Camera::enabled |
|
protected |
| Image* ADBLib::Camera::frame |
|
protected |
| string ADBLib::Camera::name |
|
protected |
The documentation for this class was generated from the following files: