Skip to content

[Feature Request] : script to repair UBX files #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Eric-FR opened this issue Oct 14, 2021 · 5 comments · Fixed by #73
Closed

[Feature Request] : script to repair UBX files #71

Eric-FR opened this issue Oct 14, 2021 · 5 comments · Fixed by #73

Comments

@Eric-FR
Copy link

Eric-FR commented Oct 14, 2021

Sometime, the Sparkfun Express is producing slightly corrupted files : https://github.com/sparkfun/SparkFun_RTK_Firmware/issues/49

Similar to the UBX_Integrity_Checker script, I would appreciate a script that can repair damaged files i.e. that remove incorrect sentences.

@PaulZC
Copy link
Collaborator

PaulZC commented Oct 16, 2021

Hi Eric (@Eric-FR ),

We should be able to adapt the UBX_Integrity_Checker so it can 'snip out' bad sentences. Would that meet your needs? (Is Python code OK for you?)

Best wishes,
Paul

@Eric-FR
Copy link
Author

Eric-FR commented Oct 16, 2021

Yes, of course, it can be done with Python. I did a try on your Checker two days and it was successful. It confirmed me that there was some corrupted sentences ;-).

@PaulZC
Copy link
Collaborator

PaulZC commented Oct 17, 2021

Hi Eric (@Eric-FR ),

Please try this version of the integrity checker. Please let me know if it repairs your files correctly. If it works for you, I will merge it into the main branch of the library.

Very best wishes,
Paul

@Eric-FR
Copy link
Author

Eric-FR commented Oct 17, 2021

I successfully tried. First file made with Express v1.8 firmware with 1 error. Second file made with an older version of firmware with 57 errors.

After repair, the integrity checker didn't detected error.
I also checked with Stefal ubx_converter. Both scripts agree on the number of errors before repair. After repair, the converter didn't detected any error.
I was able to open the repair files in RTKPLOT and RTKCONV parts of RTKLIB (although uncorrected files are also opened without problem).

So, I think, that's all right.

@PaulZC
Copy link
Collaborator

PaulZC commented Oct 18, 2021

Thank you @Eric-FR ,

I am releasing the new integrity checker in v2.0.16 of the library. Thanks again for the suggestion!

Best wishes,
Paul

@PaulZC PaulZC linked a pull request Oct 18, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants