r13 - 26 May 2014 - 03:23:30 - RickMachYou are here: TWiki >  Forum Web  > WebHome

Welcome to the GPSTk Forum web

To create a new discussion entry, create a 'New Discussion Forum'. This will create a slashdot.org style main article with the ability to add comments to the posting. If you want a new category of items, you have to add an the category to the 'Form Categories'. Let RickMach know if you have questions or feedback.

New Discussion Forum Forum Categories

Enhanced RINEX file
Posted on 23 Apr, 2012 by RakefetMoor
Where can I find in C++ a reader for the enhanced RINEX file. (A product of ResCor?.exe)
( comments ) last update by JizhongChen 17 Nov 2014 - 14:05

Not all apps found in the newest toolkit release
Posted on 01 Nov, 2014 by OndrejDaniel
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! Best regards Ondrej

( comments ) last update by HamidM 11 Nov 2014 - 16:46

Broadcast ephemeris problem
Posted on 03 Sep, 2014 by SergioSantos
Greetings.

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 nssrelpos\main.cpp:line 143 in mainCRTStartup() 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:

code:

RinexNavStream? rin_nav(nav_path.c_str());

RinexNavData? nav_data;

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[0] << 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

test2: 0.00703742

test3: 0.00032

test4: 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

( comments ) last update by SergioSantos 06 Nov 2014 - 11:17

Problem with ModelObs?
Posted on 12 Oct, 2014 by PawelP
Dear colleagues,

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. Code below:

int main() {

cout << fixed << setprecision(3);

RinexNavData? rNavData; GPSEphemerisStore? bceStore; RinexNavHeader? rNavHeader; IonoModelStore? ionoStore; IonoModel? ionoModel;

RinexObsStream rinexObs("ebre030a.02o"); RinexNavStream? rinexNav("brdc0300.02n");

rinexNav >> rNavHeader;

ionoModel.setModel(rNavHeader.ionAlpha, rNavHeader.ionBeta);

ionoStore.addIonoModel(CommonTime?::BEGINNING_OF_TIME, ionoModel);

while(rinexNav >> rNavData) { bceStore.addEphemeris(rNavData); }

bceStore.SearchUser();

Position nominalPos(4833520.3800, 41536.8300, 4147461.2800);

MOPSTropModel? mopsTM(nominalPos.getAltitude(), nominalPos.getGeodeticLatitude(), 30);

ModelObs? model(nominalPos, ionoStore, mopsTM, bceStore, TypeID?::C1);

SimpleFilter? myFilter;

gnssRinex gRin;

SolverLMS? lms;

XYZ2NEU baseChange(nominalPos);

TypeIDSet? typeSet; typeSet.insert(TypeID?::dLat); typeSet.insert(TypeID?::dLon); typeSet.insert(TypeID?::dH); typeSet.insert(TypeID?::cdt);

gnssEquationDefinition newEq(TypeID?::prefitC, typeSet);

lms.setDefaultEqDefinition(newEq);

OneFreqCSDetector? markCSC1;

CodeSmoother? smoothC1; smoothC1.setMaxWindowSize(8);

///////////////////// Processing stage //////////////////////////

while(rinexObs >> gRin) {

YDSTime ydstime(gRin.header.epoch);

cout << ydstime.sod << endl;

try {

gRin >> myFilter >> markCSC1 >> smoothC1 >> model >> baseChange >> lms;

} catch(...) {

cerr << "Exception at epoch: " << gRin.header.epoch << endl; continue;

}

cout << lms.getSolution(TypeID?::dLat) << " "; cout << lms.getSolution(TypeID?::dLon) << " "; cout << lms.getSolution(TypeID?::dH) << " "; cout << endl;

} // end while(rinexObs >> gRin);

return 0; }

( comments ) last update by PawelP 12 Oct 2014 - 11:57

Posted on 01 Oct, 2014 by AliceAFFA
Dear all, Does anybody know how to fix more than one station in DDBAse? --Fix A1 --Fix A2

Because in DDbase doc they say that it's possible but i'm getting an error when i fix more than one station.

Thank you

( comments ) last update by AliceAFFA 01 Oct 2014 - 23:10

Archive
- Not all apps found in the newest toolkit release
- Problem with ModelObs?
-
- Broadcast ephemeris problem
- AntexReader fails at Multi-Epoch listings
- PRSolve
- TropModel GPS-tk
- novaRinex converter needs updating
- Rinex cut-off angle
- RAIMSolverEmulateSingleFrequencyTrilateration
older articles

Forum Web Utilities

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r13 < r12 < r11 < r10 < r9 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright amp; by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback