-
Notifications
You must be signed in to change notification settings - Fork 132
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
Parsing GPGSV logs with 0 satellites fails #75
Comments
I think this is probably a bug in the GPGSV parser. For some reason if the number of satellites in the message is 0, it assumes it's actually 4 and tries to parse it accordingly... I'm actually not sure why the code in the parser would do that; I didn't write that originally and there's no comment indicating why it's being done. I wonder if maybe there was some receiver producing GPGSV logs that indicated they had 0 satellites but actually had 4? In any case, I'll change that -- although for what it's worth, you're not going to get any useful information out of that log, anyway. |
I see what was going on; if a GPGSV message has 0 satellites, it still has enough blank fields for 1 satellite (4), but the code was then incorrectly expecting 4 blank satellites rather than 4 blank fields. Should be an easy fix. |
but I get the same error with sample It might sound kinda dumb, but do I always have to connect my GPS antenna to the receiver for not seeing such errors? I added
My web UI still works (showing no useful info) even though antenna is disconnected! |
Yes, if you don't have an antenna connected to your GPS, it is unlikely that you'll get any useful data. Do you know if the pcap file you're using has valid data in it? If you point me at it, I can take a look at it. If you are seeing an error like |
The publish rate failure is probably to be expected as long as you're using ASCII format logs. Try switching to binary logs and see if that helps. The status code is a bit field that indicates the receiver status; you can find a table with all of the possible values here: https://docs.novatel.com/OEM7/Content/Logs/RXSTATUS.htm#Table_ReceiverStatus If ROS diagnostics are enabled, the driver also publishes all of those values as part of its diagnostics, so it's easiest to use something like rqt_runtime_monitor to see why it's reporting that status. |
The Although it looks like the status code you're seeing is because clock steering is currently disabled. You can manually use the CLOCKADJUST command to fix that, or just ignore the warning if you don't care about it. |
I tried both
serial
andpcap
connection types in my following launch file:But I get the following error for
serial
with all three/dev/ttyUSB0
,/dev/ttyUSB1
,/dev/ttyUSB2
:and the following error for
pcap
:[ERROR] [1575570352.028343228]: Error reading from device <pcap:/home/xenial/catkin_ws/src/novatel/Highway.pcap>: Parse failure extracting sentences.
Is there anything I am missing in my setup?
Device:
pwrpack7
PC:
ubuntu 16.04
Cheers,
The text was updated successfully, but these errors were encountered: