Posted on 23 Apr, 2012 by RakefetMoor
|Enhanced RINEX file|
( comments ) last update by JizhongChen 17 Nov 2014 - 14:05
|Where can I find in C++ a reader for the enhanced RINEX file. (A product of ResCor?.exe)|
Posted on 01 Nov, 2014 by OndrejDaniel
|Not all apps found in the newest toolkit release|
( comments ) last update by HamidM 11 Nov 2014 - 16:46
|Hello everyone, I could not find several GPSTk applications in the newest version of the toolkit, however, I could find them in an older version. To be more specific, for example the application 'wheresat' is not located in 'bin' directory in gpstk-2.5.linux.x86_64.tar.gz archive, however, I can find this application in gpstk-2.3.linux.x86_64.tar.gz archive. The same holds for other applications.
Could you please clarify what is the reason for that?
(The archives have been downloaded from http://sourceforge.net/projects/gpstk/files/).
Thank you very much!
Posted on 03 Sep, 2014 by SergioSantos
|Broadcast ephemeris problem|
( comments ) last update by SergioSantos 06 Nov 2014 - 11:17
I was trying to extract the satellites position from the broadcast navigation message using an GPSEphemerisStore? object like in example 4. But then when trying to use the function .getXvt(prn, t) the program crashes (although no error is detected in code before compilation), with the following message:
"Non processed exception: InteropServices?.SEHException: The external component activated an exception.
in gpstk.OrbitEph.svXvt(OrbitEph?* , Xvt* , CommonTime?* )
in main() em c:\users\user\documents\visual studio 2012\projects\gnssrelpos\g
Press key to continue . . ."
I already used this approach successfully a few years ago in another project using version 1.6.
I tried to investigate a little bit the origin of the problem by making a few tests:
while (rin_nav >> nav_data) BcEStore?.addEphemeris(nav_data);
SatID? s(23, SatID?::systemGPS);
CommonTime? t = BcEStore?.getInitialTime();
const OrbitEph? *eph = BcEStore?.findOrbitEph(s, t);
cout << "test: " << eph->asString() << endl;
cout << "test2: " << eph->ecc << endl;
cout << "test3: " << eph->svClockBias(t) << endl;
cout << "test4: " << eph->isValid(t) << endl;
Xvt sv = eph->svXvt(t);
cout << "x = " << sv.x << endl;
These tests resulted in the following output:
test: EPH G23 | 2011 74 12:00:00 | 74 12:00:00 | 74 12:00:00 | 74 14:00:00
| 74 12:00:00 | 71 | 71 | 0
All of which are consistent with the nav file. After that the program crashes and the exception message appears.
Does anyone knows what's happening?
Thank you. Regards
Posted on 12 Oct, 2014 by PawelP
|Problem with ModelObs?|
( comments ) last update by PawelP 12 Oct 2014 - 11:57
Hello to all of You.
I getting started with the GPSTk package, but I have encountered a problem at the beginning.
I have tried to follow an example number 7. It is a simple position computation using C1 observations. Unfortunately, I am not able to model observations using ModelObs? class (the same problem exists using ModeObsFixedStation?). Prepare() method gives 0. I followed example 7 exactly and do not why it does not execute this object properly.
Any idea?! I use Ubuntu, gcc compiler, gpstk 2.4 and CodeBlocks? environment.
cout << fixed << setprecision(3);
rinexNav >> rNavHeader;
while(rinexNav >> rNavData)
Position nominalPos(4833520.3800, 41536.8300, 4147461.2800);
MOPSTropModel? mopsTM(nominalPos.getAltitude(), nominalPos.getGeodeticLatitude(), 30);
ModelObs? model(nominalPos, ionoStore, mopsTM, bceStore, TypeID?::C1);
gnssEquationDefinition newEq(TypeID?::prefitC, typeSet);
///////////////////// Processing stage //////////////////////////
while(rinexObs >> gRin)
cout << ydstime.sod << endl;
gRin >> myFilter >> markCSC1 >> smoothC1 >> model >> baseChange >> lms;
cerr << "Exception at epoch: " << gRin.header.epoch << endl;
cout << lms.getSolution(TypeID?::dLat) << " ";
cout << lms.getSolution(TypeID?::dLon) << " ";
cout << lms.getSolution(TypeID?::dH) << " ";
cout << endl;
} // end while(rinexObs >> gRin);
Posted on 01 Oct, 2014 by AliceAFFA
( comments ) last update by AliceAFFA 01 Oct 2014 - 23:10
Does anybody know how to fix more than one station in DDBAse?
Because in DDbase doc they say that it's possible but i'm getting an error when i fix more than one station.