ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ros2 run - invalid choice?

asked 2021-02-03 10:18:54 -0600

upoque gravatar image

Hi, I installed ros2 dashing on NVIDIA Jetson AGX Xavier from source, following this guide.

The installation completed without any issue (or so I thought...).

But I can't get the ros2 run command working.

Any idea how to solve this issue?

me@me-xavier:~$ ros2 run
usage: ros2 [-h] Call `ros2 <command> -h` for more detailed usage. ...
ros2: error: argument Call `ros2 <command> -h` for more detailed usage.: invalid choice: 'run' (choose from 'daemon', ' extension_points', 'extensions', 'launch', 'msg', 'node', 'param', 'pkg', 'service', 'srv', 'test', 'topic')
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-03 14:52:18 -0600

updated 2021-02-03 14:53:57 -0600

Did you create a workspace for ros2 and add source on .bashrc ? if you want to run some package you have to add pack name and script name for example ros2 run my_package node_executable . However if you want to run some pack firstly you have to install it.

Please do not get me wrong you can check in this link.

edit flag offensive delete link more

Question Tools



Asked: 2021-02-03 10:18:54 -0600

Seen: 1,213 times

Last updated: Feb 03 '21