1.GPS.GALILEO,可以直接获取从广播星历
2.GLONASS
具体算法实现:
unsigned int t_ephGlo::IOD() const
bncTime tMoscow=_TOC-_gps_utc+3*3600.0;
teturn (unsigned long) tMoscow.daysec()/900;
读取广播星历文件时候:
_gps_utc=gnumleap(year,month,day);
_TOC.set(year,month,day,hour,min,sec);
_TOC=_TOC+_gps_utc;
考虑看了半天,发现还是RTKLIB定义的比较明确:
toc
str2time(buff+sp,0,19,&toc);
tow=time2gpst(toc,&week);
geph->iode=(int)(fmod(tow+10800.0,86400)/900.0+0.5)
3.BDS定义多样,可采用BNC上定义进行更新。