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

ROS2 Control Argument not available

asked 2022-09-26 10:07:28 -0600

dnhrtmn gravatar image

updated 2022-09-26 10:25:56 -0600

ravijoshi gravatar image

I'm trying to run ROS 2 Rolling on Ubuntu 22.04. I'm building the Debian Package via sudo apt install ros-rolling-desktop. The installation process is fine, but after sourcing the installation, there is no control package so it's not possible to run e.g. ros2 control list_controllers.

Output is the following:

ros2 control list_controllers
usage: ros2 [-h] [--use-python-default-buffering]
            Call `ros2 <command> -h` for more detailed usage. ...
ros2: error: argument Call `ros2 <command> -h` for more detailed usage.: invalid choice: 'control' (choose from 'action', 'bag', 'component', 'daemon', 'doctor', 'extension_points', 'extensions', 'interface', 'launch', 'lifecycle', 'multicast', 'node', 'param', 'pkg', 'run', 'security', 'service', 'topic', 'wtf')

ROS_VERSION=2
ROS_PYTHON_VERSION=3
ROS_LOCALHOST_ONLY=0
ROS_DISTRO=rolling
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-09-26 11:52:11 -0600

shonigmann gravatar image

I think I am missing your question, but for reference, this is to be expected if all you did was install ros-rolling-desktop. The ros-DISTRO-desktop installation does not include ros2_control - it includes core ROS packages, some tutorials, and some tools. You can see exactly what gets installed with apt info ros-rolling-desktop.

ros2_control and ros2_controllers are considered too application specific to be included with the desktop installation. That being said, they are very easily installed with sudo apt install ros-rolling-ros2-control ros-rolling-ros2-controllers

edit flag offensive delete link more

Comments

Well, that was quiet easy but solved a lot of problems. Thank you so much for your time and help. :-)

dnhrtmn gravatar image dnhrtmn  ( 2022-09-26 13:11:22 -0600 )edit
1

always nice when it's an easy fix right? :)

shonigmann gravatar image shonigmann  ( 2022-09-26 13:59:32 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2022-09-26 10:07:28 -0600

Seen: 1,208 times

Last updated: Sep 26 '22