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

To include timestamp field in the micrortps bridge messages. #8888

Merged
merged 1 commit into from
Feb 15, 2018

Conversation

vicentemonge
Copy link

Under petition of community and particularly of @avinash-palleti (Intel). @bkueng

@@ -151,6 +147,7 @@ void serialize_@(topic_name)(const struct @(uorb_struct) *input, char *output, u

resetStaticMicroCDRForSerialize(microCDRWriter);

serializeUnsignedLong(input->timestamp, microCDRWriter);
Copy link
Member

Choose a reason for hiding this comment

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

Should this not be serializeUnsignedLongLong?

Copy link
Author

Choose a reason for hiding this comment

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

No, is the correct one. Please, see the function prototype

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

No, there is no uint64_t type in IDL

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I see, that's IDL. You're right then.

Copy link
Member

@bkueng bkueng left a comment

Choose a reason for hiding this comment

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

Thanks!
@avinash-palleti can you cross-test this please?

@ChristophTobler
Copy link
Contributor

@avinash-palleti and I have already tested this.

@LorenzMeier LorenzMeier merged commit a272cbb into PX4:master Feb 15, 2018
@vicentemonge vicentemonge deleted the micrortps_timestamp branch February 16, 2018 07:20
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