Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Make identifier consistent with package name #151

Merged
merged 1 commit into from
Apr 15, 2016

Conversation

jacquelinekay
Copy link
Contributor

Make the hardcoded string identifier consistent with the package name. This is to avoid a hardcoded map in any situation where we want to match the identifier to the rmw implementation package name, e.g. https://github.com/ros2/rosidl/blob/master/rosidl_generator_py/rosidl_generator_py/import_type_support_impl.py#L17-L20

Perhaps the most proper thing to do would be to register an ament index entry to be used as the identifier (I discussed this with @wjwwood a while ago). This is a simpler fix for now (and avoids introducing a dependency on the ament index and introducing file IO).

@jacquelinekay jacquelinekay added the in progress Actively being worked on (Kanban column) label Apr 15, 2016
@jacquelinekay jacquelinekay self-assigned this Apr 15, 2016
@jacquelinekay jacquelinekay added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Apr 15, 2016
@tfoote
Copy link
Contributor

tfoote commented Apr 15, 2016

+1

declaring it in the ament index might make sense too for external tool visibility, but I don't think it should have to look up it's own name in the ament index.

@jacquelinekay jacquelinekay merged commit 6f5f072 into master Apr 15, 2016
@jacquelinekay jacquelinekay deleted the consistent_identifier branch April 15, 2016 18:31
@jacquelinekay jacquelinekay removed the in review Waiting for review (Kanban column) label Apr 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants