Skip to content

Conversation

@Maiort
Copy link

@Maiort Maiort commented Jul 19, 2018

only had a precision of 2 digits for the time_stamp -> now 9

only had a precision of 2 digits for the time_stamp -> now 9
@ethzasl-jenkins
Copy link

Can one of the admins verify this patch?

quaternion = np.array(hamilton_quaternion)
csv_file.write(
str(single_tf.header.stamp.to_sec()) + ', ' +
str("{:.9f}".format(single_tf.header.stamp.to_nsec()/1000000000.0)) + ', ' +

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the to_sec() conversion should work here. so all what you need is:

str("{:.9f}".format(single_tf.header.stamp.to_sec()))

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that works as well

@Kaju-Bubanja
Copy link

Any reason to not merge this?

@andrepfr
Copy link

@ffurrer ptal

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

Successfully merging this pull request may close these issues.

4 participants