Menu

#1 How to use RTKSharp for post processing

2.0
open
None
2018-04-03
2018-04-03
No

Please i need on the how to use the library for post processing.

What i have been able to do so far:
-> Edit settings
-> Save all settings
-> Load settings from config file

Things i am not able to do:
Can not get solution from observation file and navigatin file. It doesn't seem to work
Use the code below

         var rtk = new RTK();
         rtk.load(new string[] { "./rtk.conf" });
        rtk.restart();

         rtk.observ(new string[] { "./Base.18O", "./Close.18O" });
        rtk.navidata(new string[] { "./Base.18N" });

        rtk.solution(new string[] { "./Solution.pos" });

Tried this also after failing to get results:

        //result.Text += "Solution: " + rtk.solution() + "\n\n";

        result.Text += "Base Lat: " + rtk.BaseLatitude.ToString() + "\n\n";
        result.Text += "Base Lon: " + rtk.BaseLongitude.ToString() + "\n\n";
        result.Text += "Base Elip H.: " + rtk.BaseHeight.ToString() + "\n\n";

        result.Text += "\n\n";
        result.Text += "Rover Lat: " + rtk.RoverLatitude.ToString() + "\n\n";
        result.Text += "Rover Lon: " + rtk.RoverLongitude.ToString() + "\n\n";
        result.Text += "Rover Elip H.: " + rtk.RoverHeight.ToString() + "\n\n";

        result.Text += "\n\n";
        result.Text += "Base #sat: " + rtk.SatellitesBase.ToString() + "\n\n";
        result.Text += "Rover #sat: " + rtk.SatellitesRover.ToString() + "\n\n";

        rtk.Dispose();

I don't know if i am doing something wrong, everything comes out as 0.
By the way the .conf file was modified from the default save from ;

        rtk.save(new string[] { "./rtk.conf" });

thank you.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.