ublox icon indicating copy to clipboard operation
ublox copied to clipboard

NavPVT timestamp invalid nanosecond data

Open ayushgaud opened this issue 7 years ago • 1 comments

Hi

When I am using ublox_gps with M8P module I get an incorrect timestamp at nsec field every at 5th frame (operating at 5Hz). Although this problem is not frequent and hence not reproducible yet when I looked closely at the bag file I realized that it is reporting something similar to GPS time from NavPVT message in the nsec field instead of nanosecond data. The length of it is also 10 digits instead of 9.

I believe that there is something wrong with the code because of which it uses PVT timestamps seldom. I also felt something odd here in node.h. Shouldn't it be AND instead of OR? Also, is there a check for the nano field data of NavPVT message to be bounded within the range? I am not sure if this is a system issue or a diver issue. Hence I have also attached the bag fille for reference. gps_anomaly.bag.zip

Thanks

ayushgaud avatar Mar 30 '18 11:03 ayushgaud

could you please suggest how to run the application roslaunch launch/ublox_device.launch node_name = ?

benjaminsamsonnettr avatar Apr 04 '18 07:04 benjaminsamsonnettr