Skip to content

More ROS1-like tab-completion for ros2topic / ros2service #1195

Description

@peci1

Description

In ROS 1, bash completion after rostopic pub /topic suggested the topic type, and after rostopic pub /topic type suggested the message template.

I think this behavior was very convenient. Even though the command has more parameters that could be added.

I don't know if it's possible implementation-wise, but it'd be great to pretend for autocompletion that topic name can only be followed by type and topic type can only be followed by message prototype.

Motivation

Make ros2 CLI more user-friendly.

Design / Implementation Considerations

I know there was recently some motion with fzf, but I haven't tried myself yet, so I can't comment on whether it solves this request or not.

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions