Timestamp issue with sdlogger

Hi,

I tried to review my log file and found out some of the logging duration is extremely long (4457136384:40:28).
https://review.px4.io/plot_app?log=f133144c-9d77-47b6-9029-98e4a53c9bdd

In another case the plots didn’t even show up.
https://review.px4.io/plot_app?log=10472cca-cfec-47fc-aa77-105a1a66cce0

Sometimes it was logged without any problem.
https://review.px4.io/plot_app?log=6fae1770-46aa-4f58-adec-8b3e2c961edf

All of logs above are recorded in the same firmware.
I’m guessing something is wrong with timestamp system, but I’m not sure where to look at.
Can you please tell me a solution or the source code I should look at?

I am using custom v1.9.2 firmware and holybro pixhawk4 set.

Thank you all.

Hi
The problem is that the airspeed driver is publishing an invalid timestamp (16045690984833335023 in the first log). Which sensor are you using?
Does the problem persist on master?

Hi,

Thank you for your response.

I am using ultrasonic airspeed sensor and custom driver, so I investigated the driver and found the cause of invalid timestamp.

Your information led me to look at airspeed. Thanks!

Good to know, you’re welcome