Skip to content

Commit

Permalink
fix the missing exported state interface printing
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Oct 16, 2024
1 parent 0ba1428 commit e760fa7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ros2controlcli/ros2controlcli/verb/list_controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,12 @@ def print_controller_state(c, args, col_width_name, col_width_state, col_width_t
print(f"\t\t{reference:20s}")
if args.reference_interfaces or args.verbose:
print("\texported reference interfaces:")
for reference_interfaces in c.reference_interfaces:
print(f"\t\t{reference_interfaces}")
for reference_interface in c.reference_interfaces:
print(f"\t\t{reference_interface}")
if args.reference_interfaces or args.verbose:
print("\texported state interfaces:")
for exported_state_interface in c.exported_state_interfaces:
print(f"\t\t{exported_state_interface}")


class ListControllersVerb(VerbExtension):
Expand Down

0 comments on commit e760fa7

Please sign in to comment.