Skip to content

Timestamp resolution/conversion (ROS) #48

Description

@ashnarayan13

Hi,

I want to convert the timestamps provided into ROS time stamp format (seconds, nanoseconds)

But if I use a standard conversion using rospy from_seconds() throws error with the timestamps.

If I try to convert the timestamp to human readable date time using python time.ctime, I get strange dates
Thu Jan 9 23:25:05 44368617 Fri Jan 10 04:58:15 44368617 Fri Jan 10 10:32:04 44368617 Fri Jan 10 16:06:19 44368617 Fri Jan 10 21:40:35 44368617 Sat Jan 11 03:14:47 44368617

Anyone else have issues with this?
I would like to know the resolution of the timestamps so I can split it into seconds/microseconds from the unix timestamp provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions