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

ros2: command not found Ubuntu 22.04 ros_humble [SOLVED]

asked 2023-01-31 08:12:12 -0600

DrBwts gravatar image

updated 2023-02-06 08:23:51 -0600

In WSL2 I installed ROS2 - Humble for Ubuntu 22.04 from source.

All the packages have installed, there were some depreciated library warnings but nothing that stopped any packages installing.

So to check the installation,

. ~/ros2_humble/install/local_setup.bash
ros2 run demo_nodes_cpp talker

Which sadly returned,

ros2: command not found

Anybody any idea why?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-02-01 08:07:30 -0600

Ammar Albakri gravatar image

Did you source the ros2 installation? command is: source /opt/ros/humble/setup.bash

edit flag offensive delete link more

Comments

Thanks that did it

DrBwts gravatar image DrBwts  ( 2023-02-06 08:23:28 -0600 )edit

Then accept please his answer by clicking the green check mark on the left side of his post. So you can mark this question as answered. Thanks

Andromeda gravatar image Andromeda  ( 2023-02-08 12:27:38 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2023-01-31 08:12:12 -0600

Seen: 15,198 times

Last updated: Feb 06 '23