almanac.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2010 Swift Navigation Inc.
00003  * Contact: Fergus Noble <fergus@swift-nav.com>
00004  *
00005  * This source is subject to the license found in the file 'LICENSE' which must
00006  * be be distributed together with this source. All other rights reserved.
00007  *
00008  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00009  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
00010  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00011  */
00012 
00013 #ifndef LIBSWIFTNAV_ALMANAC_H
00014 #define LIBSWIFTNAV_ALMANAC_H
00015 
00016 #include "common.h"
00017 #include "almanac.h"
00018 
00023 typedef struct {
00024   double ecc;   
00025   double toa;   
00026   double inc;   
00027   double rora;  
00028   double a;     
00029   double raaw;  
00030   double argp;  
00031   double ma;    
00032   double af0;   
00033   double af1;   
00034   u16 week;     
00035   u8 prn;       
00036   u8 healthy;   
00037   u8 valid;     
00038 } almanac_t;
00039 
00042 void calc_sat_state_almanac(almanac_t* alm, double t, s16 week,
00043                             double pos[3], double vel[3]);
00044 void calc_sat_az_el_almanac(almanac_t* alm, double t, s16 week,
00045                             double ref[3], double* az, double* el);
00046 double calc_sat_doppler_almanac(almanac_t* alm, double t, s16 week,
00047                                 double ref[3]);
00048 
00049 #endif /* LIBSWIFTNAV_ALMANAC_H */


enu
Author(s): Mike Purvis
autogenerated on Sun Oct 5 2014 23:44:53