mirror of
https://github.com/berthubert/galmon.git
synced 2026-05-15 21:56:54 -04:00
Compare commits
No commits in common. "master" and "string2vec" have entirely different histories.
master
...
string2vec
4 changed files with 2 additions and 6 deletions
|
|
@ -328,7 +328,7 @@ Documents
|
||||||
* [GLONASS CDMA](http://russianspacesystems.ru/wp-content/uploads/2016/08/ICD-GLONASS-CDMA-General.-Edition-1.0-2016.pdf)
|
* [GLONASS CDMA](http://russianspacesystems.ru/wp-content/uploads/2016/08/ICD-GLONASS-CDMA-General.-Edition-1.0-2016.pdf)
|
||||||
not actually relevant for the CDMA aspects, but has appendices on more
|
not actually relevant for the CDMA aspects, but has appendices on more
|
||||||
precise orbit determinations.
|
precise orbit determinations.
|
||||||
* [GPS](https://www.navcen.uscg.gov/sites/default/files/pdf/gps/IS-GPS-200N.pdf)
|
* [GPS](https://www.gps.gov/technical/icwg/IS-GPS-200K.pdf)
|
||||||
* [U-blox 8 interface specification](https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf)
|
* [U-blox 8 interface specification](https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf)
|
||||||
* [U-blox 9 interface specification](https://www.u-blox.com/sites/default/files/u-blox_ZED-F9P_InterfaceDescription_%28UBX-18010854%29.pdf)
|
* [U-blox 9 interface specification](https://www.u-blox.com/sites/default/files/u-blox_ZED-F9P_InterfaceDescription_%28UBX-18010854%29.pdf)
|
||||||
* [U-blox 10 interface specification](https://content.u-blox.com/sites/default/files/documents/u-blox-F10-SPG-6.00_InterfaceDescription_UBX-23002975.pdf)
|
* [U-blox 10 interface specification](https://content.u-blox.com/sites/default/files/documents/u-blox-F10-SPG-6.00_InterfaceDescription_UBX-23002975.pdf)
|
||||||
|
|
|
||||||
2
gps.cc
2
gps.cc
|
|
@ -38,8 +38,6 @@ int GPSState::parseGPSMessage(const std::vector<uint8_t>& cond, uint8_t* pageptr
|
||||||
wn = 2048 + getbitu(&cond[0], 2*24, 10);
|
wn = 2048 + getbitu(&cond[0], 2*24, 10);
|
||||||
ura = getbitu(&cond[0], 2*24+12, 4);
|
ura = getbitu(&cond[0], 2*24+12, 4);
|
||||||
gpshealth = getbitu(&cond[0], 2*24+16, 6);
|
gpshealth = getbitu(&cond[0], 2*24+16, 6);
|
||||||
iodc = getbitu(&cond[0], 2*24 +22, 2) * 256;
|
|
||||||
iodc += getbitu(&cond[0], 7*24, 8);
|
|
||||||
|
|
||||||
// cerr<<"GPS Week Number: "<< wn <<", URA: "<< (int)ura<<", health: "<<
|
// cerr<<"GPS Week Number: "<< wn <<", URA: "<< (int)ura<<", health: "<<
|
||||||
// (int)gpshealth <<endl;
|
// (int)gpshealth <<endl;
|
||||||
|
|
|
||||||
2
gps.hh
2
gps.hh
|
|
@ -134,10 +134,8 @@ struct GPSState : GPSLikeEphemeris
|
||||||
uint16_t wnLSF{0};
|
uint16_t wnLSF{0};
|
||||||
uint8_t dn; // leap second day number
|
uint8_t dn; // leap second day number
|
||||||
// 1 2^-31 2^-43 2^-55 16 second
|
// 1 2^-31 2^-43 2^-55 16 second
|
||||||
int iodc;
|
|
||||||
int ura;
|
int ura;
|
||||||
|
|
||||||
|
|
||||||
int gpsiod{-1};
|
int gpsiod{-1};
|
||||||
|
|
||||||
int getIOD() const
|
int getIOD() const
|
||||||
|
|
|
||||||
|
|
@ -534,7 +534,7 @@ try
|
||||||
|
|
||||||
// cout<<" z-error: "<<dir.inner(v);
|
// cout<<" z-error: "<<dir.inner(v);
|
||||||
|
|
||||||
csv << e.first << " " << id.gnss <<" " << id.sv << " " << id.sigid <<" " << dir.inner(v) << " " << clkoffset << endl;
|
csv << e.first << " " << id.gnss <<" " << id.sv << " " << id.sigid <<" " << dir.inner(v) << endl;
|
||||||
idb.addValue({{"gnssid", id.gnss}, {"sv", id.sv}, {"sp3src", sp3src}},
|
idb.addValue({{"gnssid", id.gnss}, {"sv", id.sv}, {"sp3src", sp3src}},
|
||||||
"sp3delta",
|
"sp3delta",
|
||||||
{{"ecef-dx", v.x}, {"ecef-dy", v.y}, {"ecef-dz", v.z}, {"sv-dz", dir.inner(v)}, {"dclock", clkoffset},
|
{{"ecef-dx", v.x}, {"ecef-dy", v.y}, {"ecef-dz", v.z}, {"sv-dz", dir.inner(v)}, {"dclock", clkoffset},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue