-
Notifications
You must be signed in to change notification settings - Fork 43
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
Publish dual antenna attitude in "track" field of gpsfix message #78
Comments
Hi there, I must admit that I am not very familiar with the GPSFix message and this was implemented before I joined driver development. Looking at the code for GNSS, track is indeed calculated from course over ground which in my eyes makes sense as it is not under the section |
Hi @thomasemter , I agree with your intuition about the difference between COG and heading (I'm used to work with ground vehicles, for which this difference is much less evident than for aerial platforms). So probably it is okay to leave "track" field as COG. Please let me know what you think about this. |
We had a discussion and do not think that dip is intended to be the heading of the system. Nevertheless, we came to the conclusion that it is the best option to divert it from its intended meaning an populate it with the heading angle and err_dip with its uncertainty respectively. In this way, we don't lose the direction of motion and dip is somewhat ambiguous anyway. You may test it if you like: ROS 1 or ROS 2 Thank you for your feedback and suggestions. |
Hi @thomasemter, |
Hi @andreaeusebi , you are welcome :-) |
Hi all,
We are using Septentrio receivers in dual antenna setup (we use both SB ProDirect and SBi3 Pro+).
We are used to subscribe to /gpsfix topic to get position, velocity and vehicle heading information.
In the configuration file I've set "multi_antenna" to true.
When the vehicle is in motion track is correctly published on the /gpsfix topic, however when the vehicle is standstill track seems to be no more available and the value is set to something like "-200000000000" (I think it is the default value to inform the user that the data is not available).
However, in the "/atteuler" topic the "heading" field is always available (both when the vehicle is in motion and when stanstill). I think that it would be more logic to always supply "track" in /gpfix too since that data is de facto available.
I'm not totally sure if track and heading are retrieved in the same way internally (from what I've seen, track is computed using Course Over Ground, while heading exploiting the presence of the 2 antennas); however I think that heading/track should always be published in the gpsfix topic since the receiver has that information at any time when running in dual antenna setup.
Please let me know what do you think.
The text was updated successfully, but these errors were encountered: