Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

stages creates bag files with a wrong timestamp

hello everyone
in these days, i've tried to create bag files by recording messages generated by STAGE robot simulator.
The problem is that every bag file generated has a timestamp associated to the date of linux's birth (january 1st, 1970). I tried twice and I got same problem. This doesn't happen if i generate a custom topic, write on it by my code and store messages in a bag file. in this case, bag file has a correct timestamp.

could you tell me how to force system to write properly timestamps for bags generated by STAGE?
thanks for support.

stages STAGE creates bag files with a wrong timestamp

hello everyone
in these days, i've tried to create bag files by recording messages generated by STAGE robot simulator.
The problem is that every bag file generated has a timestamp associated to the date of linux's birth (january 1st, 1970). I tried twice and I got same problem. This doesn't happen if i generate a custom topic, write on it by my code and store messages in a bag file. in this case, bag file has a correct timestamp.

could you tell me how to force system to write properly timestamps for bags generated by STAGE?
thanks for support.