-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
AP_GPS: Support integrated headings from SBF #19165
Conversation
Dear, |
364475b
to
1fc9cf3
Compare
Pushed an update to this that I've ground tested here. Fixed the following issues:
Outside ground tests, dropouts are from me intentionally shading one of the antennas with my hand, the change in heading is a real change from me rotating the table the antennas were on, seperation between antennas was only about 0.6 m, or a lot less then it should have been: Still pending:
|
Also need to apply the attitude offset, to get around the assumption that the antennas are north/south aligned. |
Thank you very much, just finished the Chinese New Year holiday, did not check the update in time, sorry, I will test the update as soon as possible |
Hi @WickedShell
Is this a known issue? Or am I doing something wrong? (your fork does work, so there might be a compatibility issue) |
@WickedShell Hello, I tested it after rebased this to master. |
4b2777e
to
90b5e11
Compare
@WickedShell I have rebased this PR |
90b5e11
to
046b393
Compare
@WickedShell I've rebased this and using the logs from @tatsuy here: |
This is actually exactly expected. BaseVectorGeod is used for handling using 2 different units with one feeding corrections to the other. It's how all the heading information for the moving platform was derived in this. If you are using an actual dual antenna unit that provides |
The GPS_DRV_OPTIONS is set to 0. If we set GPS_TYPE_SBF_DUAL_ANTENNA, should we remove BaseVectorGeod in this case? |
No If it was parsing from AttEuler, then what's the issue with |
Now that you've explained its role and functionality, I see that there may not be any issue with it when parsing from AttEuler. I believe this PR is working as expected. |
Any Update for this PR? |
I am currently an intern at Septentrio. We have tested this pull request and believe it is working accordingly. About the @WickedShell needed test:
Are there any things else we can do or information we can provide to facilitate the merge of this pull request ? |
Hi @WickedShell, my main sponsor EAMS is interested in getting this merged. I know the PR has been languishing a bit but I could help push to get it merged. Maybe you could rebase it? Alternatively I could although I don't immediately have the hardware (but I could get it). |
I met one of the Septentrio folks at ROSCon, Gustavo. He sent me a very nice email. They have a fork of ArduPilot they are maintaining with this merged for their customers, but would like these changes merged upstream. Gustavo is happy to supply anyone in the dev team hardware as-needed for this PR. |
I've got the hardware now and I've checked that it can provide position. It is not providing the attitude yet though for some reason (perhaps it needs a better view of the sky). What we need next is the datasheet detailing the message formats. |
I'd love to hear if anybody knows which message from this GPS includes the antennas relative positions. |
AuxAntPositions (5942) ? |
I've created a new PR which is just a rebased version of this PR #25601. If I can get the other one merged then we can close this one. |
This follow-up PR has been merged so I will close this one. #25601 |
This is an alternate to #18615. (Basically it implements most of my PR requests on that PR). This also takes the step to actually configure GNSS Attitude as enabled via the config strings, as that was being ignored or manually done before. This may introduce a breakage if any older receivers (AsteRx-m is the minimum target here) don't support the command, which will have to be tested. I haven't had a chance to test it any of this PR yet though so that needs doing. (Otherwise I will probably get back to it in early December if no one else has beaten me to it).
Needed Tests:
sga, None