-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Conversation
@@ -151,6 +147,7 @@ void serialize_@(topic_name)(const struct @(uorb_struct) *input, char *output, u | |||
|
|||
resetStaticMicroCDRForSerialize(microCDRWriter); | |||
|
|||
serializeUnsignedLong(input->timestamp, microCDRWriter); |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then https://github.com/PX4/Firmware/pull/8888/files#diff-8190543ff07160bad612518e04f0e097R73 should be uint64_t
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this 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?
@avinash-palleti and I have already tested this. |
Under petition of community and particularly of @avinash-palleti (Intel). @bkueng