tomojitakasu / RTKLIB

2.48k stars 1.58k forks source link

Extracting Almanac using RTKLIB from ublox-M8N #704

Open stephing78 opened 1 year ago

stephing78 commented 1 year ago

I am fairly new to this so please help me out or correct if I am doing anything wrong. I have enabled the UBX-RXM-SFRBX command in the M8N and configured the M8N to output .ubx data, after which I recorded a .ubx file using u-center for about 13 minutes(which should be enough to receive an entire message). Now processing the file using rtkconv, I was able to extract the ephemeris data but I could not extract the almanac data. I opened all of the files generated by rkconv but none of them contained almanac. Am I doing something wrong or is there any other way to extract almanac using rtklib. Any advice or suggestion would help. Thank you.

tomojitakasu commented 1 year ago

RINEX does not support almanac. So RTKCONV can not output any almanac to RINEX. If you want it, you have to add your original codes to decode and output almanac.

stephing78 commented 1 year ago

I don't necessarily need almanac in RINEX format. I just needed to know is it possible to extract almanac from anything in the RTKLIB.

I had noticed something in the RTKLIB source files. Could just clarify it a bit for me? I found decode_alm_sat(), decode_alm_gps() and decode_frame_alm() in rcvraw.c. Is this the almanac data I can use? Thank you.