Skip to content

Move rosidl specific logic to rosidl_runtime_py #218

@jacobperron

Description

@jacobperron

Feature request

Feature description

There are several TODOs for moving rosidl-related logic to a rosidl package. Now that the rosidl_runtime_py package exists, it seems like a good place.

TODOs:

# TODO(dirk-thomas) this logic should come from a rosidl related package
# Only return messages in msg folder
return list(sorted({
n[4:-4]
for n in interface_names
if n.startswith('msg/') and n[-4:] in ('.idl', '.msg')}))

# TODO(dirk-thomas) this logic should come from a rosidl related package
return os.path.join(
prefix_path, 'share', package_name, 'msg', message_name + '.msg')

# TODO(dirk-thomas) this logic should come from a rosidl related

# TODO(dirk-thomas) this logic should come from a rosidl related package
# Only return services in srv folder
return list(sorted({
n[4:-4]
for n in interface_names
if n.startswith('srv/') and n[-4:] in ('.idl', '.srv')}))

# TODO(dirk-thomas) this logic should come from a rosidl related package
return os.path.join(
prefix_path, 'share', package_name, 'srv', service_name + '.srv')

# TODO(dirk-thomas) this logic should come from a rosidl related
# package

# TODO(wjwwood) this logic should come from a rosidl related package

Also, from ros2action being added in #214

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestin progressActively being worked on (Kanban column)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions