having to source seutp.bash every new terminal instance [closed]

asked 2021-08-22 13:58:05 -0500

updated 2021-08-23 01:27:20 -0500

gvdhoorn gravatar image
  • OS / ROS version: Ubuntu 20.1 / ros-noetic 1.5.1
  • Package in question: rosbash package

I've successfully installed ROS and successfully done the hello-world, so I'm receiving the hello world message, but every new terminal i have to type in:

source /opt/ros/noetic/setup.bash

in order to make any tool from rosbash to work, otherwise I get the error:

Command 'rostopic' not found, but can be installed with:

sudo apt install python3-rostopic

So my question is, is that a common procedure or I've missed some step?

Thanks in advance.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by gvdhoorn
close date 2021-08-23 01:22:28.419689

Comments

Please see #q286466 and the myriad of Q&As linked from that one.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-23 01:22:43 -0500 )edit
1

Oh and:

otherwise I get the error:

Command 'rostopic' not found, but can be installed with:

sudo apt install python3-rostopic

do not install those packages, unless you are aware of the pitfalls. See wiki/UpstreamPackages for more information.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-23 01:28:01 -0500 )edit

Thanks, I think this information should be in the tutorials.

srburns gravatar image srburns  ( 2021-08-28 15:15:10 -0500 )edit