Skip to content

Commit

Permalink
add actions to interface type completer (#303)
Browse files Browse the repository at this point in the history
Fix #302

Signed-off-by: artivis <[email protected]>
  • Loading branch information
artivis authored and jacobperron committed Jul 19, 2019
1 parent 8841312 commit 96c9ff2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ros2interface/ros2interface/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ def type_completer(**kwargs):
for message_name in message_names:
types.append(
'{package_name}/msg/{message_name}'.format_map(locals()))

for package_name, action_names in get_all_action_types().items():
for action_name in action_names:
types.append(
'{package_name}/action/{action_name}'.format_map(locals()))

return sorted(types)


Expand Down

0 comments on commit 96c9ff2

Please sign in to comment.