Skip to content

Correctly detect empty messages#33

Merged
ivanpauno merged 1 commit intomasterfrom
asorbini/fix-empty-message-detection
Apr 15, 2021
Merged

Correctly detect empty messages#33
ivanpauno merged 1 commit intomasterfrom
asorbini/fix-empty-message-detection

Conversation

@asorbini
Copy link
Collaborator

This PR fixes a bug in RMW_Connext_MessageTypeSupport::type_info() which prevents correct detection of empty messages when querying the fastrtps type support.

No test is currently failing because of this (AFAIK), but it seems a critical fix to properly support empty messages.

This bug was spotted by @MiguelCompany and it is already fixed in #14, but since that PR might be delayed to H-turtle, we should probably commit the fix separately.

Signed-off-by: Andrea Sorbini <asorbini@rti.com>
@asorbini asorbini added bug Something isn't working foxy-backports PR should be backported to Foxy eloquent-backports PR should be backported to Eloquent dashing-backports PR should be backported to Dashing galactic PR pertaining the Galactic release labels Apr 14, 2021
@asorbini asorbini requested review from hidmic and ivanpauno April 14, 2021 19:07
@asorbini
Copy link
Collaborator Author

Full CI:

  • ci_linux: Build Status
  • ci_osx: Build Status
  • ci_windows: Build Status

asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
asorbini added a commit that referenced this pull request Apr 14, 2021
* Correctly detect empty messages (#33)

Signed-off-by: Andrea Sorbini <asorbini@rti.com>

* Change index.ros.org -> docs.ros.org. (#23)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@asorbini
Copy link
Collaborator Author

@hidmic @ivanpauno thank you for the reviews! Is it ok if I merge the PR myself or should I let someone else do it?

@ivanpauno ivanpauno merged commit d3c3265 into master Apr 15, 2021
@delete-merged-branch delete-merged-branch bot deleted the asorbini/fix-empty-message-detection branch April 15, 2021 19:02
@ivanpauno
Copy link
Member

ivanpauno commented Apr 15, 2021

@hidmic @ivanpauno thank you for the reviews! Is it ok if I merge the PR myself or should I let someone else do it?

If it's approved (two approvals during the galactic freeze) and there was no comment saying it should be merged after the galactic freeze finishes, you can merge it yourself.

(edit) with CI passing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working dashing-backports PR should be backported to Dashing eloquent-backports PR should be backported to Eloquent foxy-backports PR should be backported to Foxy galactic PR pertaining the Galactic release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants