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

add IdlOnlyTypes - even though they are commented out atm #6

Merged
merged 1 commit into from
Jun 5, 2019

Conversation

dirk-thomas
Copy link
Member

Related to ros2/rosidl#383.

This was mostly used to test long double and wchar types with FastRTPS. Until the other RMW impl. support this (ros2/rosidl_typesupport_connext#33, ros2/rosidl_typesupport_opensplice#31) the .idl file is commented out.

So currently this is a no-op but it allows to easily enable the file for testing in the future.

Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM though assuming that support in other RMW impl. will be added shortly, would it make sense to not merge this commented out till then?

@dirk-thomas
Copy link
Member Author

I doubt that it will be added shortly. Therefore I think it makes sense to merge this as is.

@hidmic
Copy link
Contributor

hidmic commented Jun 5, 2019

Hmm shouldn't it be added at least to all Tier 1 RMWs?

@dirk-thomas
Copy link
Member Author

Hmm shouldn't it be added at least to all Tier 1 RMWs?

That would be nice. But even then we wouldn't be able to enable it. If at least one RMW impl. doesn't support it the build would fail.

@hidmic
Copy link
Contributor

hidmic commented Jun 5, 2019

Hmm, I see, we don't have a mechanism to selectively preclude message builds for some RMW typesupports. Alright, fair enough.

Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

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

LGTM

@jacobperron
Copy link
Member

Well, really the file get's built by whoever chooses to use variable test_interface_files_IDL_FILES (e.g. test_msgs), so it could alternatively be omitted in the consumer packages, possible based on the current RMW implementation.

@dirk-thomas dirk-thomas merged commit e36d623 into master Jun 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the dirk-thomas/idl-only-types branch June 5, 2019 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants