-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
SITL : added a basic simulated SBF GPS receiver #27859
Conversation
cac2512
to
8cb2ae3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice and simple. Always great to see more simulators added!
Did you want this added to the autotest suite? |
- checksum calculation was including header parts in CRC twice - need to send DOP message to make EKF happy - need to supply own number of satellites - must pad packets to a multiple of 4 bytes
@chiara-septentrio I have made this simulator work. Next time you open a PR, please state what testing it has had. @Ryanf55 assumed a minimal level of testing, probably thinking you had at least verified this was working in SITL. Given the several problems I encountered, surely the only level of testing this could have had was "it compiles"? I have added it to the autotest suite, so now we have some level of protection against regressions in the Septentrio driver. I have also made a patch to the Septentrio driver to not raise a numeric exception when the undulation comes in as DNU; the simulator was supplying DNU there. Please verify that that patch is correct. |
470d40c
to
2828657
Compare
It's my bad, I misunderstood how to test for it correctly. I launched a simulation without the console or map and since I didn't see any error, I thought it was fine. I had never used SITL before and I obviously didn't correctly understand to documentation, I'm sorry. |
OK, LGTM. Thanks for re-testing it! I assume you're OK with the change in the actual driver, and I'm marking it MergeOnCIPass. Thanks for coming back and creating this for us! |
Merged, thanks @chiara-septentrio ! |
A basic simulator that returns PVT with the PVTGeodetic v1 SBF block