|
canonvcc4.cc File Reference
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <termios.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <math.h>
#include "replace.h"
#include "driver.h"
#include "drivertable.h"
#include "player.h"
Define Documentation
#define CAM_ERROR_NONE 0x30
|
|
#define CAM_ERROR_BUSY 0x31
|
|
#define CAM_ERROR_PARAM 0x35
|
|
#define CAM_ERROR_MODE 0x39
|
|
#define PTZ_SLEEP_TIME_USEC 300000
|
|
#define MAX_PTZ_COMMAND_LENGTH 16
|
|
#define MAX_PTZ_REQUEST_LENGTH 14
|
|
#define COMMAND_RESPONSE_BYTES 6
|
|
#define PTZ_TILT_MAX 88.0
|
|
#define PTZ_TILT_MIN -30.0
|
|
#define PT_BUFFER_INC 512
|
|
#define PT_READ_TIMEOUT 10000
|
|
#define DEFAULT_PTZ_PORT "/dev/ttyS1"
|
|
#define kaska printf("KASKA\n");
|
|
Function Documentation
struct timeval substract_time |
( |
struct timeval * |
, |
|
|
struct timeval * |
|
|
) |
|
|
Generated on Tue May 3 14:15:38 2005 for Player by 1.3.6
|