-
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
Queue overflow problem #98
Comments
In order to publish data to the IMU topic, the driver has to combine data from the INSPVA and CORRIMUDATA logs. It buffers up those logs in a queue as they arrive, and when it is capable of combining them (see the code starting at If the driver is unable to determine your IMU's internal sampling rate, that could cause this issue, although if that happens, earlier in the log it should print an error message containing "Unknown IMU Type". If that is the problem, though, I would expect it to happen every time. Something that would be useful for debugging purposes would be to verify that your device is actually producing both of those messages; when you see that warning happen, if you stop the driver and use a tool like |
Thanks a lot for your help. It's indeed strange that it's only happening sporadically. I will try to get a better bag of what is happening and also save the log better. We use the driver by giving it the novatel IP, so I guess I should use I connect to the Novatel with nc :
I log CORRIMUDATA and INSPVA
And I should have output for both, is that right ? |
I don't think the device resets its logging settings if the TCP connection is dropped, so you should be able to start the driver, stop it, and then use If you need to manually start the logging, try:
That should cause both of them to be printed at 100 Hz. |
@pjreed Thanks for your help again. I finally had time today to investigate this error a bit more and we get this error message at the moment we start the driver : It's strange becaume we always start the driver with the same launchfile and the imu_rate is set to 100. But the Any idea ? |
Hmm, that seems strange. If However, I would expect it to either work or not work every time rather than intermittently. You might try manually setting the |
Hello everyone I have a problem with this novatel driver. It seems that it randomly doesn't start properly and doesn't publish IMU data Here are the errors I get 👍
I dont understand what would cause this problem, when I just restart the driver it works fine. Also what is the purpose of
MAX_BUFFER_SIZE
and why does reaching it prevents to send data to the IMU topic ?Thanks a lot for your help !
The text was updated successfully, but these errors were encountered: