How to use RTKSharp for post processing
This is a port of LibRTK on C#, and into a small c/c++ library.
Status: Beta
Brought to you by:
uruzuki
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.