Interface to the CMUcam vision system.
More...
#include <stdint.h>
Go to the source code of this file.
Functions |
|
void | cmuCamInit (void) |
| | Initialize the UART for communicating with the CMUcam.
|
| void | cameraWhiteBalance (void) |
| | Optimize the white balance for current conditions.
|
| void | initCamera (void) |
| | Reset the packet receiving state and put the camera into raw send mode.
|
| void | cameraStreamingOff (void) |
| | Stop the CMUcam from streaming data.
|
| void | setVirtualWindow (uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2) |
| | Constrain field of view used for subsequent image processing commands.
|
| void | cameraHighResMode (void) |
| | Set the camera to 176x255 resolution.
|
|
void | cameraLowResMode (void) |
| | Set the camera to 88x143 resolution.
|
Detailed Description
Interface to the CMUcam vision system.
Definition in file camera.h.
Function Documentation
| void cameraHighResMode |
( |
void |
| ) |
|
|
inline |
Set the camera to 176x255 resolution.
- Note
- This resolution is truncated from 176x287
Definition at line 159 of file camera.c.
| void cameraStreamingOff |
( |
void |
| ) |
|
|
inline |
Stop the CMUcam from streaming data.
- See Also
- CMUcam2 manual p.30
Definition at line 147 of file camera.c.
| void cameraWhiteBalance |
( |
void |
| ) |
|
|
inline |
Optimize the white balance for current conditions.
Turn auto-white balance on, give it time to settle, then turn auto-white balance off.
- See Also
- CMUcam2 manual p.31
Definition at line 53 of file camera.c.
Reset the packet receiving state and put the camera into raw send mode.
- See Also
- CMUcam2 manual p.48
Definition at line 65 of file camera.c.
| void setVirtualWindow |
( |
uint8_t |
x1, |
|
|
uint8_t |
y1, |
|
|
uint8_t |
x2, |
|
|
uint8_t |
y2 |
|
) |
| |
|
inline |
Constrain field of view used for subsequent image processing commands.
- See Also
- CMUcam2 manual p.55
Definition at line 154 of file camera.c.