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.

33 lines
863 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __PATHFINDER_DATA_STREAM_HEADER__
  2. #define __PATHFINDER_DATA_STREAM_HEADER__
  3. #define PF_GPS_DATA 01
  4. #define PF_LGS_DATA 02
  5. #define PF_GYRO_DATA 03
  6. #define PF_ADNS_DATA 04
  7. #define PF_MUI_DATA 05
  8. #define PF_MAG_DATA 06
  9. #define PF_ALT_DATA 07
  10. #define PF_AXEL_DATA 08
  11. class pathfinderDataStream{
  12. FILE * m_pFID;
  13. char m_pName[MAX_PATH];
  14. public:
  15. explicit pathfinderDataStream( char *Name = NULL );
  16. ~pathfinderDataStream();
  17. bool putGPS( float Lat, float Lon, float Alt );
  18. bool putLGS( int Angle, int Range );
  19. bool putLGS( int *Ranges, int Size );
  20. bool putGYRO( float X, float Y, float Z );
  21. bool putAXEL( float X, float Y, float Z );
  22. bool putMUI( float X, float Y, float Z );
  23. bool putADNS( float X, float Y );
  24. bool putMAG( float X );
  25. bool putImage( char *ImageName );
  26. bool open( char *Name );
  27. bool close();
  28. };
  29. #endif