⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ogr_prototypes.h

📁 The OpenGPSRec receiver software runs on the real time operating system RTAI-Linux. It compiles with
💻 H
字号:
/* ************************************************************************    *                                                                      *   *                            OpenGPS Receiver                          *   *                                                                      *   * -------------------------------------------------------------------- *   *                                                                      *   *    Module:   ogr_prototypes.h                                        *   *                                                                      *   *   Version:   0.1                                                     *   *                                                                      *   *      Date:   30.06.02                                                *   *                                                                      *   *    Author:   C. Kelley, G. Beyerle                                   *   *                                                                      *   * -------------------------------------------------------------------- *   *                                                                      *   * Copyright (C) 2001-2002  C. Kelley                                   *   *                                                                      *   * This program is free software; you can redistribute it and/or modify *   * it under the terms of the GNU General Public License as published by *   * the Free Software Foundation; either version 2 of the License, or    *   * (at your option) any later version.                                  *   *                                                                      *   * This program is distributed in the hope that it will be useful,      *   * but WITHOUT ANY WARRANTY; without even the implied warranty of       *   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *   * GNU General Public License for more details.                         *   *                                                                      *   * You should have received a copy of the GNU General Public License    *   * along with this program; if not, write to the Free Software          *   * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.            *   *                                                                      *   * -------------------------------------------------------------------- *   *                                                                      *   * The files 'gpsfuncs.cpp', 'gpsrcvr.cpp' are modified versions of     *   * the files with the same name from Clifford Kelley's OpenSourceGPS    *   * distribution. The unmodified files can be obtained from              *   *   http://www.home.earthlink.net/~cwkelley                            *   *                                                                      *   * -------------------------------------------------------------------- *   *                                                                      *   *                              Prototypes                              *   *                                                                      *   ************************************************************************ *//* ******************************* changes ********************************   dd.mm.yy -   ************************************************************************ */#if !defined( __OGR_PROTOTYPES_H__)#define __OGR_PROTOTYPES_H__/* ------------------------------ prototypes ------------------------------ */inline INT16   bsign( long);void           calc_elevation_azimuth( double *elevation, double *azimuth,                                        ECEF xpos, ECEF rpos);void           chan_allocate( void);int            check_parity_subframe( INT16 ch);void           close_dump_file( void);void           close_dump_file_ascii( void);void           close_keyboard( void);void           clrscr( void);void           cold_allocate( void);void           delay( double t);void           decode_subframe( INT16 ch);void           display( void);LLH            ecef_to_llh( ECEF);INT16          exor( char, long);void           find_preamble( int ch);inline long    fix_atan2( long, long);void           gmt2julian( double *time_s, INT16 *gps_week, struct tm *gmt);void           gotoxy( int x, int y);void           helpscreen( void);inline long    i_sqrt( long);void           init_keyboard( void);int            kbhit( void);ECEF           llh_to_ecef( LLH);void           nav_fix( void);void           navmsg_decode( int, int);void           navmsg_decode_sf1( int ch);void           navmsg_decode_sf2( int ch);void           navmsg_decode_sf3( int ch);void           navmsg_decode_sf4( int ch);void           navmsg_decode_sf5( int ch);void           ogr_error( char msg[], ...);void           ogr_message( char msg[], ...);void           open_dump_file( void);void           open_dump_file_ascii( void);void           open_fifos( void);void           parity_check( void);void           read_almanac( void);void           read_ephemeris( void);void           read_fifos( void);void           read_initial_data(void);void           read_ion_utc( void);LLH            read_location( void);void           read_msg_navbit( int fd, int len);void           read_msg_psirange( int fd, int len);void           read_rcvr_par( RT_CTRL*, CTRL*);int            readch( void);inline long    rss( long, long );void           sat_azimuth_elevation( ECEF xmit_pos, ECEF rcvr_pos,                                       double *Az, double *El);ECEF           satellite_position( INT16 prn, double Ttr, double *Trel);XMITINFO       satfind( int);inline INT16   sign( long);void           user_exit( int code);void           velocity( LLH rp_llh);void           write_almanac( void);void           write_cor_file_header( FILE *Fp);void           write_dump_file_ascii( INT16 nof_trk, INT16 tr_ch[], ECEF rpos);void           write_ephemeris( void);void           write_frames_to_file( FILE *fp, int ch, int sfm,                                      unsigned long tow, unsigned long sf[]);void           write_info_dump_file( double, double, time_t);void           write_ion_utc( void);void           write_location( void);int            write_msg_0x0e( FILE *fp, struct tm *gmt);int            write_msg_0xff( FILE *fp);int            write_msg_0x11( FILE *fp, double lo, double lat);int            write_msg_0x38( FILE *fp, int ch, double pseudorange,                                unsigned long phase_counter, double tow);#endif/* ------------------------------ end of file ----------------------------- */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -