29、GPS L1星历处理定义

news/2024/11/29 13:51:03/

\qquad 下面是HD-GR GNSS导航软件的GPS L1星历处理相关定义:

// gps_ephemeris.h -- Header file for the gps_ephemeris.c file/* * Copyright (C) 2005 Andrew Greenberg* Distributed under the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 (June 1991).* See the "COPYING" file distributed with this software for more information.*//* Namuru GPS receiver project* Original : ephemeris.h* Modes    : None* version  : V1.0* date     : 21st/Dec/2006*//* * HD-GR GNSS receiver project* Modes    : Inherited the definitions of ephemeris.h and ephemeris.c in the *            Namuru GPS receiver project V1.0 and made necessary adjustments *            to adapt to the new RTOS and functions.* version  : V1.0* date     : xx/xx/2015*/#ifndef __GPS_EPHEMERIS_H__
#define __GPS_EPHEMERIS_H__#include "main_ephemeris.h"/******************************************************************************** Definitions******************************************************************************//******************************************************************************** Declarations******************************************************************************/typedef struct {unsigned short  prn;            // which satellite we're talkin' aboutunsigned short  valid;          // Use me, I'm valid.unsigned short  have_subframe;  // 5bits of how many valid subframe we have;// have all = 0x1F (or 0x7 if no 4/5)/* Subframe 1: Clock Corrections for delta t(sv)*             (2C) = Two's complement = signed number*             b = bits */unsigned short  iodc;       // Issue of Data: Clock     (10 bits)unsigned short  ura;        // User Range Accuracy       (4 bits)unsigned short  health;     // Sat vehicle health        (6 bits)double  tgd;        // T(gd): L1-L2 correction            (2C 8b * 2^-31)double  toc;        // t(oc): clock ref. time   (max = 604784, 16b * 2^4) double  af0;        // a(f0): Constant term              (2C 22b * 2^-31)double  af1;        // a(f1): Linear term                (2C 16b * 2^-43)double  af2;        // a(f2): Squared term                (2C 8b * 2^-55)/* Subframe 2: Ephemeris */unsigned short  iode1; // Issue of Data: Ephemeris (10 bits)double  crs;        // C(rs): SIN correction radius      (2C 16b * 2^ -5)double  dn;         // Delta n: mean motion difference   (2C 16b * 2^-43)double  ma;         // M(0): mean anomaly                (2C 32b * 2^-31)double  cuc;        // C(uc): COS correction latitude    (2C 16b * 2^-29)double  ety;        // e: eccentricity of orbit   (max=0.03, 32b * 2^-33)double  cus;        // C(us): SIN correctoin latitude    (2C 16b * 2^-29)double  sqra;       // (A)^1/2: sqrt semimajor axis         (32b * 2^-19)double  toe;        // T(oe):ephemeris ref. time (max=604,784, 16b * 2^4)/* Subframe 3: ephemeris */unsigned short  iode2; // Issue of Data: Ephemeris (10 bits)double  cic;        // C(ic): COS correction inclination (2C 16b * 2^-29)double  w0;         // Omega(0): longitude of asc. node  (2C 32b * 2^-31)double  cis;        // C(is): SIN correction inclination (2C 16b * 2^-29)double  inc0;       // I(0): inclination angle @ ref.    (2C 32b * 2^-31)double  crc;        // C(rc): COS correction radius      (2C 16b * 2^ -5)double  w;          // Omega: arguemnt of perigee        (2C 32b * 2^-31)double  omegadot;   // OMEGADOT: rate of right asc.      (2C 24b * 2^-43)double  idot;       // IDOT: rate of inclination angle   (2C 14b * 2^-43)} gps_ephemeris_t;void gps_clear_ephemeris(unsigned short ch);
void gps_initialize_ephetable( void);
void gps_ephemeris_task(OS_FLAGS channels_ready);/******************************************************************************** Externs******************************************************************************/extern gps_ephemeris_t m_gps_ephetable[GPS_MAX_SATELLITES];
extern unsigned short m_gps_new_almanac;#endif // __GPS_EPHEMERIS_H__

http://www.ppmy.cn/news/194809.html

相关文章

微型计算机惠普1hm20av,微型计算机原理答案(1)

微型计算机原理答案(1) (25页) 本资源提供全文预览,点击全文预览即可全文预览,如果喜欢文档就下载吧,查找使用更方便哦! 14.9 积分 微矍机憑理及接口技术参考篆亲第一章微型计算机系统慨论一、 选择填空题1. B 2. B 3.D 4. C 5.C 6. A 7. A …

Redis学习笔记(1)

1.Redis介绍 1.1什么是Nosql数据库 为了解决高并发、高可用、高可扩展,大数据存储等一系列问题而产生的数据库解决方案,就是NoSql。 NoSql,叫非关系型数据库,它的全名Not only sql。它不能替代关系型数据库,只能作为…

《具体数学》部分习题解答1

习题一 1.2 将原来汉诺塔中,从 A A A直接到 B B B的步骤转化为以 C C C作为过渡进行移动,因此,解出 T ( n ) 3 n − 1 T(n)3^n-1 T(n)3n−1 下面用数学归纳法证明: 当 n 1 n1 n1时,将圆盘从 A A A移到 C C C再到 …

电锯惊魂1-5

电锯惊魂1-5 ed2k://|file|%5B%B5%E7%BE%E2%BE%AA%BB%EA.%A2%F1.2004.%D6%D0%D3%A2%D7%D6%C4%BB%5D.mkv|1838012016|AFDA3A1D84E427A31FA5CFCFBAC6EAA6|/ ed2k://|file|%5B%B5%E7%BE%E2%BE%AA%BB%EA.%A2%F2.2005.%D6%D0%D3%A2%D7%D6%C4%BB%5D.mkv|1763834907|436709A76500F6BD…

asn1parse

用途 asn1parse - 一种用来解析ASN.1的工具。 用法 openssl asn1parse [-inform PEM|DER] [-in filename] [-out filename] [-noout] [-offset number] [-length number] [-i] [-oid filename] [-dump] [-dlimit num] [-strparse offset] [-genstr string] [-genconf file] …

攻防世界MISC刷题1-50

目录 1、ext3 2、base64stego 3、功夫再高也怕菜刀 4、easycap 5、reverseMe 6、Hear-with-your-Eyes 7、What-is-this 8、normal-png 9、something in image 10、wireshark-1 11、 pure_color 12、Aesop_secret 13、a_good_idea 14、simple_transfer 15、Train…

长虹32N1Linux是什么系统,2018最新最全长虹电视型号机芯软件对照表

温馨提示:由于机芯数量众多,建议按“ctrl”“F”,快捷查找! 机芯 软件代号 机型 主芯片:MST6M69L LS20A/i LPC20A-MXX-V1.05-WX-L09 LT42876FHD(L09)、LT40876FHD(L09)、LT32876(L09)、LT32900(L09)、LT37900FHD(L09)、 LT42900FHD(L09)、LT46900FHD(L09)、LT52900FHD(L…

CNN1x1卷积核的作用

1x1卷积核的作用 之前只是知道1x1的卷积核用在Inception模块中具有降维的作用,并没有认真的思考它是怎么样实现降维的,以及它还有哪些作用。于是查阅了一些资料,并记录了它的一些作用,如下: 一、灵活的控制特征图的深…