Skip to content

Typesupport reloaded #302

Closed
Closed

Description

@dirk-thomas

The goal is to avoid the need for separate libraries of * (e.g. rclcpp, user land code) for each typesupport. Also the obscure method to include the "right" headers using include_directories to point to typesupport specific impl folders should be removed. This requires the following high level steps:

  1. Create "meta" typesupport which knows about all other typesupports, all calls go through this, the requested typesupport is dispatched at runtime (opening the specific typesupport with dlopen).
  2. The "meta" typesupport can directly refer to a single specific typesupport if only one is supported by all available rmw implementations.
  3. Create "meta" rmw in a similar fashion

More detailed list of necessary changes:

Activity

  1. added
    in progress
    on Dec 28, 2016
  2. self-assigned this
    on Dec 28, 2016
  3. dirk-thomas commented on Jan 31, 2017

    @dirk-thomas
    MemberAuthor

    I have addresses almost all the bullets by now.

    The two packages test_communication and test_rclcpp build several tests for each RMW impl. But since the gtests use a define of the rmw impl. name to make the results unique they can't be replaced with a single binary easily.

    Regarding the duplicated code in C and C++ typesupport packages (especially the CMake code) I will not try to deduplicate this as part of this endeavor. While it would certainly be nice it has been that way for a long time so I don't want to spend any time on this now.

  4. removed
    in progress
    on Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions