Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timestamp resolution/conversion (ROS) #48

Open
ashnarayan13 opened this issue Jan 11, 2022 · 0 comments
Open

Timestamp resolution/conversion (ROS) #48

ashnarayan13 opened this issue Jan 11, 2022 · 0 comments

Comments

@ashnarayan13
Copy link

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.

@ashnarayan13 ashnarayan13 changed the title Timestamp resolution/conversion Timestamp resolution/conversion (ROS) Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant