Ulog time stamp problem

Hi all,

I have modified the existing code of ms5611 for a new pressure sensor ms5837. For data from that sensor, I have created a new pressure.msg.

For logging data from that sensor, I have modified logger.cpp by adding
add_topic(“pressure”);

And I also add /etc/config.txt to micro sd card of pixhawk with:
param set SYS_LOGGER 1
param set SDLOG_MODE 1
in order to automatically log when powering on the pixhawk.

I got a log file, e.g 13_19_36.ulg. Then using pyulog to convert to .csv file.
ulog2csv /media/nguyen/3D11-B0A4/log/2017-06-29/13_19_36.ulg

I got a list of about 20 .csv files, including 13_19_36_pressure_0.csv. By opening by LibreOffice Calc or gedit,

timestamp ,pressure_mbar,temperature_degC
2569 ,1031.2,26.06
2628 ,1030.7,26.07
2679 ,1032.0,26.07
2733 ,1030.7,26.07
2783 ,1031.2,26.06
2834 ,1030.1,26.06
2887 ,1031.3,26.07
2942 ,1030.7,26.07
2994 ,1032.4,26.06
3048 ,1030.7,26.07
3100 ,1030.9,26.07
3155 ,1032.2,26.07
4831852956 ,1031.1,26.06
3257 ,1030.7,26.07
3308 ,1030.5,26.07
3360 ,1031.1,26.07
4831852956 ,1031.1,26.07
3467 ,1031.5,26.07
3521 ,1030.9,26.07
3574 ,1029.5,26.07
3631 ,1030.9,26.07
3682 ,1030.7,26.07
3735 ,1030.9,26.07
3786 ,1031.6,26.07
3841 ,1031.1,26.07
3892 ,1031.4,26.06
3945 ,1031.1,26.08
6989586621813322192,1031.1,26.07
4052 ,1031.6,26.07
4103 ,1031.5,26.08
4154 ,1031.1,26.07
4208 ,1030.7,26.08
4831852956 ,1030.5,26.07

As can be seen, there is problem with the timestamp for my logging file. However, for other uORB message, e.g 13_19_36_sensor_combined_0.csv, there is no problem at all.

What shoud I do to set up the timestamp? Any advice or help are wellcome. Thank you