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 version of create_subscription which just takes queue size and not a qos profile #128

Merged
merged 1 commit into from
Oct 14, 2015

Conversation

wjwwood
Copy link
Member

@wjwwood wjwwood commented Oct 14, 2015

Connects to ros2/design#56.

@wjwwood wjwwood added the in progress Actively being worked on (Kanban column) label Oct 14, 2015
@wjwwood
Copy link
Member Author

wjwwood commented Oct 14, 2015

CI is good, up for review.

@wjwwood wjwwood added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Oct 14, 2015
@wjwwood
Copy link
Member Author

wjwwood commented Oct 14, 2015

Also up for review is this one: ros2/system_tests#56

@dirk-thomas
Copy link
Member

+1

In the future I think we should have a one set of method (which is as small as possible) providing the core functionality. And beside that a separate set of methods which are only syntactic sugar and reusing the core functionality internally but expose a different interface.

wjwwood added a commit that referenced this pull request Oct 14, 2015
add version of create_subscription which just takes queue size and not a qos profile
@wjwwood wjwwood merged commit a61e375 into master Oct 14, 2015
@wjwwood wjwwood removed the in review Waiting for review (Kanban column) label Oct 14, 2015
@wjwwood wjwwood deleted the create_subscription_with_queue_size branch October 14, 2015 23:13
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* ros2GH-112 Open storage for reading handing in rmw_identifier

* ros2GH-113 Cleanup: better naming

* ros2GH-113 Introduce interface for StorageFactory to allow mocks in tests

* ros2GH-113 Add test for SequentialReader for using converters

- Added mocks for storage and converters (and factories)

* ros2GH-113 Implement skeleton convert function

- Use convert only if necessary (different input and output formats),
  converters are only loaded if really necessary.
- Allocate_ros2_message is public to enable extensive tests for this function.
- Helper function to get any typesupport by name
- Helper function for empty ros2_message

* ros2GH-113 Implement allocate_ros2_message

- Treats most messages already.
- Some combinations of nested messages with arrays are still missing
- Cleanup of DynamicArrayNested messages is failing
- Main difficulty is the cleanup of the allocated ros2_message which
needs to be done manually
- The test_ros2_message is intended to be run with valgrind and there
should be no leaks or problems with free!

* ros2GH-113 Fix DynamicArrayNested deallocation

Swapping with empty container seems more stable than deleting the data
pointer of the container.

* ros2GH-113 Add test for BoundedArrayNested deallocation

* ros2GH-113 Refactoring of deallocation code

* ros2GH-113 Fix string initialization in all types

* ros2GH-113 Fix vector<bool> initialization

* ros2GH-113 Add test for deallocation of topic name + Refactoring

* ros2GH-113 Minor refactoring of converter

* ros2GH-113 Make sure to throw an error if converters do not exist

* ros2GH-113 Delete superfluous imports

* ros2GH-113 Small fix for deleting vectors

* ros2GH-113 Fix build after rebase

* ros2GH-30 Minor refactoring

- The TODO comments have been removed because they're no longer relevant: they have been discussed in the PR review

* ros2GH-30 Give an allocator as parameter to allocate_ros2_message()

* ros2GH-111 Add missing test dependencies for CDR converter test

* ros2GH-128 Extend message allocation test to also cover big strings

- Big strings are not treated with small string optimization and need
  to be checked, too.

* ros2GH-128 Add tests for nested arrays

* ros2GH-128 always initialize vectors with a placement new

* pass by ref

* use new getter functions

* consistent function naming

*  uncrustify

* ros2GH-30 Fix windows build

* use visibility macros on all functions
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
* Add support for parsing middle module name from type
Allows support for message types generated from both msg and idl files.

Signed-off-by: David Hodo <david.hodo@is4s.com>

* test fixups and default behavior

Signed-off-by: Karsten Knese <karsten@openrobotics.org>

* deprecate legacy type extraction and add new

Signed-off-by: David Hodo <david.hodo@is4s.com>

* use pragma to avoid deprecation in test

Signed-off-by: Karsten Knese <karsten@openrobotics.org>
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.

2 participants