You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
863 B
34 lines
863 B
#ifndef __PATHFINDER_DATA_STREAM_HEADER__
|
|
#define __PATHFINDER_DATA_STREAM_HEADER__
|
|
|
|
#define PF_GPS_DATA 01
|
|
#define PF_LGS_DATA 02
|
|
#define PF_GYRO_DATA 03
|
|
#define PF_ADNS_DATA 04
|
|
#define PF_MUI_DATA 05
|
|
#define PF_MAG_DATA 06
|
|
#define PF_ALT_DATA 07
|
|
#define PF_AXEL_DATA 08
|
|
|
|
|
|
class pathfinderDataStream{
|
|
FILE * m_pFID;
|
|
char m_pName[MAX_PATH];
|
|
public:
|
|
explicit pathfinderDataStream( char *Name = NULL );
|
|
~pathfinderDataStream();
|
|
bool putGPS( float Lat, float Lon, float Alt );
|
|
bool putLGS( int Angle, int Range );
|
|
bool putLGS( int *Ranges, int Size );
|
|
bool putGYRO( float X, float Y, float Z );
|
|
bool putAXEL( float X, float Y, float Z );
|
|
bool putMUI( float X, float Y, float Z );
|
|
bool putADNS( float X, float Y );
|
|
bool putMAG( float X );
|
|
bool putImage( char *ImageName );
|
|
bool open( char *Name );
|
|
bool close();
|
|
};
|
|
|
|
|
|
#endif
|