Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

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"

Defines

#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_PAN_MAX   98.0
#define PTZ_TILT_MAX   88.0
#define PTZ_TILT_MIN   -30.0
#define MAX_ZOOM   2140
#define PT_BUFFER_INC   512
#define PT_READ_TIMEOUT   10000
#define PT_READ_TRIALS   2
#define DEFAULT_PTZ_PORT   "/dev/ttyS1"
#define kaska   printf("KASKA\n");

Functions

timeval substract_time (struct timeval *, struct timeval *)
Drivercanonvcc4_Init (ConfigFile *cf, int section)
void canonvcc4_Register (DriverTable *table)


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_PAN_MAX   98.0
 

#define PTZ_TILT_MAX   88.0
 

#define PTZ_TILT_MIN   -30.0
 

#define MAX_ZOOM   2140
 

#define PT_BUFFER_INC   512
 

#define PT_READ_TIMEOUT   10000
 

#define PT_READ_TRIALS   2
 

#define DEFAULT_PTZ_PORT   "/dev/ttyS1"
 

#define kaska   printf("KASKA\n");
 


Function Documentation

struct timeval substract_time struct timeval *  ,
struct timeval * 
 

Driver* canonvcc4_Init ConfigFile cf,
int  section
 

void canonvcc4_Register DriverTable table  ) 
 


Generated on Tue May 3 14:15:38 2005 for Player by doxygen 1.3.6