Camera.h
631 Bytes
#ifndef __CAMERA_H
#define __CAMERA_H
#include "bsp.h"
typedef struct
{
int XCoordingData;
int YCoordingData;
float X_pixel;
float Y_pixel;
float Y_pixe2;
float X_pixe2;
float angle;
float CenterOffset;
float lastCurAngle;
unsigned char LocationSig;
unsigned char UpdataFlag;
unsigned char UpdataFlag1;
unsigned char OffCount;
int Number;
}CameraParameter;
extern CameraParameter Camera,CameraTwo;
extern void UpdateCameraData();
extern void UpdateCameraData2();
extern void ProcessCameraData(unsigned char *data,unsigned int length);
extern void ProcessCameraData2(unsigned char *data,unsigned int length);
#endif