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

ros2 run - invalid choice?

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

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
1

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

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

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.

https://index.ros.org/doc/ros2/Tutorials/Node-arguments/

edit flag offensive delete link more

Question Tools

2 followers

Stats

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

Seen: 1,425 times

Last updated: Feb 03 '21