ros2 / ros2cli

ROS 2 command line interface tools
Apache License 2.0
166 stars 158 forks source link

support `ros2 action type <action name>`. #894

Closed fujitatomoya closed 3 months ago

fujitatomoya commented 3 months ago

address https://github.com/ros2/ros2cli/issues/891

mjcarroll commented 3 months ago

Does it work for other people?

Do you maybe need to source/re-source the workspace?

$ ros2 action
usage: ros2 action [-h] Call `ros2 action <command> -h` for more detailed usage. ...

Various action related sub-commands

options:
  -h, --help            show this help message and exit

Commands:
  info       Print information about an action
  list       Output a list of action names
  send_goal  Send an action goal
  type       Print a action's type

  Call `ros2 action <command> -h` for more detailed usage.
$ ros2 action type
usage: ros2 action type [-h] action_name
ros2 action type: error: the following arguments are required: action_name
clalancette commented 3 months ago

Do you maybe need to source/re-source the workspace?

Yeah, it is working now. I don't know why I could get it working yesterday.

fujitatomoya commented 3 months ago

CI:

fujitatomoya commented 3 months ago

note for myself: we need to add this to https://github.com/ros2/ros2_documentation/blob/rolling/source/Releases/Release-Jazzy-Jalisco.rst