Skip to content

Commit 96c9ff2

Browse files
artivisjacobperron
authored andcommitted
add actions to interface type completer (#303)
Fix #302 Signed-off-by: artivis <[email protected]>
1 parent 8841312 commit 96c9ff2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ros2interface/ros2interface/api/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ def type_completer(**kwargs):
6565
for message_name in message_names:
6666
types.append(
6767
'{package_name}/msg/{message_name}'.format_map(locals()))
68+
69+
for package_name, action_names in get_all_action_types().items():
70+
for action_name in action_names:
71+
types.append(
72+
'{package_name}/action/{action_name}'.format_map(locals()))
73+
6874
return sorted(types)
6975

7076

0 commit comments

Comments
 (0)