Questions tagged [setup.bash]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
27 views

sourcing setup.bash takes time for source install of ros2 humble

I'm working with an Nvidia Jetson Xavier AGX running Ubuntu 20.04.6 LTS (focal) (GNU/Linux 5.10.104-tegra aarch64). Since ROS2 Humble binaries aren't available for Ubuntu 20.04, I had to build it from ...
Aniket Bhushan's user avatar
0 votes
1 answer
30 views

Configuration or best practices wrt. automatic chaining of `setup.bash` prefix paths from `colcon build`

I recently found (to my great surprise) that upon issuing 'source install/setup.bash' for my ROS 2 install (built from source), that both Gazebo Sim and ...
JRTG's user avatar
  • 1,664
0 votes
1 answer
26 views

Do I have to source both ros2_galactic/install/setup.bash and /opt/ros/galactic/setup.bash?

TLDR: Even with a source based install of ROS2, running rosdep will install libraries into /opt/ros/galactic/. To have all packages available in every terminal I ...
ijnek's user avatar
  • 198
0 votes
1 answer
9 views

How do I recover ros root setup.bash?

Hello, I accidentally deleted the setup.bash and all other root files from "/opt/ros/noetic/". Is there any way to recover that without reinstalling the ROS? Originally posted by JoaoPedro ...
user avatar
0 votes
1 answer
4 views

$ ROSDISTRO is rolling, although ROS2 Galactic is installed

I have recently installed ROS2 Galactic from source with instructions from the tutorials (https://docs.ros.org/en/galactic/Installation/Ubuntu-Development-Setup.html) When I open a new terminal, and ...
ijnek's user avatar
  • 198
0 votes
1 answer
321 views

/opt/ros/noetic/setup.bash : No such file or directory found

I have installed ROS Noetic on my Virtualbox with UBUNTU 20.04. Every time I run this command: source /opt/ros/noetic/setup.bash. I get the above mentioned error. I have tried removing this line from ....
user avatar
0 votes
1 answer
38 views

Ros commands no longer working after source catkin_ws/devel/setup.bash

Hi! One day I was suddenly not able to run my ros projects anymore. When I source /opt/ros/melodic/setup.bash the ros commands become available, such as ...
user avatar
0 votes
1 answer
25 views

setup.bash permission denied

Urgent Help, Hello Everyone, So i am new to ROS environment, I started working on an already built ROS environment for a robot So whe i type ...
user avatar
0 votes
1 answer
51 views

despite sourcing workspace, 'roscore' command not found

I used to open terminal and be able to do ros commands such as roscore, rostopic, rosrun, roslaunch and catkin_make. But now, something become broken, and I need to do ...
user avatar
0 votes
1 answer
21 views

How to source setup.bash with catkin build?

Hi, I'm having some problems with catkin build for my workspace. I've followed the next steps: $ mkdir -p ~/catkin_tools_ws/src 1. $ source /opt/ros/melodic/setup.bash $ cd ~/catkin_tools_ws 1. $ ...
user avatar
1 vote
2 answers
239 views

What is the difference between local_setup.bash and setup.bash

In ROS2, we always source the local_setup.bash while working with the original parent workspace. Now lets say if i create an overlay workspace and create my own ...
user avatar
0 votes
2 answers
64 views

For every newly opened terminals, why do I have to source setup.bash and execute catkin_make again?

I' m new to ROS, and running ROS kinetic on a raspberry pi 3B with ubuntu installed. I have noticed that each time I open up a new terminal, I have to source /opt/ros/kinetic/setup.bash and execute ...
user avatar
0 votes
1 answer
12 views

setup.bash every time?

the last few times I have done anything w ROS while doing beginning tutorials, I just say 'roscore' and it seems to all run fine, but now im watching a video and it seems like he's saying I need to do ...
user avatar
0 votes
1 answer
4 views

Problem with sourcing setup.bash

Hi, I have some packages installed with apt, and some from from source in catkin_ws. The problem Im having is that the source /opt/ros/kinetic/setup.bash file and the ~/catkin_ws/devel/setup.bash file ...
user avatar
0 votes
1 answer
2 views

source setup.bash in install space does not work when deployed onto different machine

I install my catkin workspace on machine A to a directory (e.g. /home/usera/catkin_ws/install) and would like to use it on machine B in a different location (let's ...
user avatar
0 votes
1 answer
8 views

/opt/ros/kinetic/setup.bash file missing after reinstall of kinetic

I'm using Ubuntu 16.04 I had ROS Kinetic installed following the tutorial and it was working. I was experiencing errors with a tutorial, covered here, so I removed ROS in order to do a complete fresh ...
user avatar
0 votes
1 answer
6 views

roscd does not return a specific workspace after sourcing setup.bash

Hi all, I run ROS Indigo on Ubuntu 14.04, and I have my catkin_ws in a given path. Everything worked perfectly until yesterday. However, yesterday I tried to set up the Matlab engine to see if it was ...
user avatar
0 votes
1 answer
21 views

difference between devel folder and install folder in catkin_ws

When catkin_make is used , devel folder is generated along with some setup files . However, when catkin_make install is used , a new folder install is generated along with the setup files . How are ...
user avatar
0 votes
1 answer
3 views

/opt/ros/kinetic/setup.bash: No such file or dirctory

I am trying to install ROS on raspberry pi 2 model b. The ubuntu-mate 16.04 OS is installed. During environment setup I am getting /opt/ros/kinetic/setup.bash: No such file or dirctory error. Whats ...
user avatar
0 votes
1 answer
4 views

Why shell is crashing using "source /opt/ros/kinetic/setup.bash" after standard installation approach with ubuntu 16.04 xenial?

Hey everyone, recently i tried to install ros with the standard installation method from http://wiki.ros.org/kinetic/Installation/Ubuntu with the follwing steps: 1) ...
user avatar
0 votes
1 answer
31 views

Why do we echo "source /opt/ros/kinetic/setup/bash"?

This guide here specifies the command $ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc to source the ...
user avatar
0 votes
1 answer
2 views

Navigation nodes aren't found if devel setup.bash sourced in addition to the opt devel

Hi, I have a problem with my navigation nodes in (this is for use with a husky if it matters, but I don't think it does). It came to light when i tried to use mapserver as part of a launch file. ROS ...
user avatar
0 votes
1 answer
6 views

source devel/setup.bash is still using install space

I'm not quite sure what's happening here. From ~/ros_catkin_ws I do source devel_isolated/setup.bash, but when I use things like ...
user avatar
0 votes
1 answer
7 views

roscd not woring

Hello all. I've been trying to get back into ROS but I keep having this issue of roscd not finding catkin_ws. I went as far as removing the catkin_ws folder and copying everything from the Catkin ...
user avatar
0 votes
2 answers
2 views

How to chain three catkin workspaces?

How do you chain three catkin workspaces so that their setup.bash files don't conflict? I tried following the instructions in the wiki, but they're a bit confusing and don't seem to be correct. My ...
user avatar
0 votes
1 answer
6 views

Unexpected behaviour of "source devel/setup.bash"

OS: Ubuntu 14.04 ROS: Indigo Turtle Bash: Terminator Hello, I have encountered an undesirable behaviour while working with ROS related to sourcing workspaces. First of all I have two workspaces which ...
user avatar
0 votes
1 answer
2 views

setup.bash must source again when restart

why I have to source setup.bash again when restart my computer? ...
user avatar
0 votes
2 answers
15 views

How often do I need to source "setup.bash"?

Hello all, I know this is really noob question but here it goes. I saw (while studying the tutorials) that I need to source the devel/setup.bash at every new shell. I would like to ask, what exactly ...
user avatar
0 votes
1 answer
24 views

Sourcing from multiple workspaces

I am just running through the ROS tutorials for Indigo (running on Ubuntu 14.04). In my .bashrc file, I have added the line source ~/catkin_ws/devel/setup.bash, to ...
user avatar
0 votes
1 answer
4 views

bash: /opt/ros/indigo/setup.bash: No such file or director

I have installed ros indigo on ubuntu 14.04.1 following the instructions. But met a problem, details like below: ...
user avatar
0 votes
1 answer
6 views

ROS-Industrial(Hydro) Training Exercises 3.6

Hi, all I'm now following ROS-Industrial(Hydro) Training Exercises 3.6 I can finish the Exercise 3.6.1 which create a random motion for my robot. Now when I try to do the next step, set a specific ...
user avatar
0 votes
1 answer
27 views

how do i make source devel/setup.bash permanent

Every time i open a new terminal i have to type the following to set directories $ ~/catkin_ws/ source $ source devel/setup.bash and for once i forget to set ...
user avatar
0 votes
2 answers
2 views

how to omit the step of setup.bash every time?

I am new in ROS. I have a question. When I use ROS, I have to do like this every time I start new window of Terminal. $ source ~/catkin_ws/devel/setup.bash and this step enable me to use "...
user avatar
0 votes
1 answer
3 views

Messed up workspace - Where to start looking?

Hello together, I have the follwing problem: I have the package ar_track_alvar installed via binary packages. Also I have my own catkin-workspace. Now, when I first ...
user avatar
0 votes
1 answer
6 views

Catkin_make install

Hi, I had some doubts about how catkin_make works, and was hoping someone could explain it all to me. So, i have gone through all the basic ros tutorials, and have the begginer_tutorials package that ...
user avatar
0 votes
1 answer
2 views

setup.bash Not found ros hydro

Hi, I have uninstalled ROS hydro, and tried to install it again but the setup.bash file is missing (i.e. not created). How can i fix that problem? Thnx Originally posted by abd_el_mon3em on ROS ...
user avatar
0 votes
1 answer
2 views

Why can't find /opt/ros/fuerte/setup.bash

Hi, I install ROS again.I have installed Ubutun 12.04 and I follow ROS fuerte installation instructions I do the following: 1.add new source to the software sources - Go to Software Center -> Edit ...
user avatar
1 vote
2 answers
10 views

Order of catkin source setup.bash files matters?

I have these lines in my .bashrc file: ...
user avatar
0 votes
2 answers
11 views

rosls and roscd still missing

I just installed ros-hydro on Ubuntu 12.10 following the tutorial. But when I try to use the command rosls and roscd, it just says command not found. I tried source /opt/ros/hydro/setup.bash a lot of ...
user avatar
0 votes
1 answer
7 views

bash no such file

good afternoon request your assistance already in my ROS installation, I get the following error bash: / opt / ros / hydro / setup.bash: No such file or directory after the following command: echo &...
user avatar
0 votes
2 answers
2 views

what's the meaning of the command: source /opt/ros/groovy/setup.bash

Hello professors, I am so confused about the tutorial of catkin which told us that we should type the command: source /opt/ros/groovy/setup.bash every time.... I have no idea. because before I type ...
user avatar
0 votes
1 answer
1 view

stacks in ROS hydro; roswtf missing /opt/ros/hydro/stacks

Observations: roswtf gives me an error stating that Not all paths in ROS_PACKAGE_PATH point to an existing directory; the missing one is ...
user avatar
0 votes
1 answer
1 view

ROS groovy update screwed up workspace setup in some cases?

After updating ROS groovy from .debs today, the following happens with our software setup: Source groovy setup: source /opt/ros/groovy/setup.bash Output of "...
Stefan Kohlbrecher's user avatar
0 votes
1 answer
1 view

Broken ROS hydro configuration

After during a system update this morning my ROS configuration is not valid anymore. I am using Ubuntu 12.04 and hydro. My config is as follows (which used to work..): ...
user avatar
0 votes
1 answer
1 view

setup.bash error on OSX

I just reinstalled Groovy on OSX 10.8.4 using Homebrew. I moved my old ROS directory from /opt/ros to /opt/ros_old so this is a completely new install. Now when I do: ...
user avatar
0 votes
1 answer
1 view

workspaces broken with latest update (1/28/2013)?

I am using a rosbuild workspace overlayed on top of a catkin workspace according to this tutorial. I only source the rosbuild workspace setup.bash in my ~/.bashrc. The release repository was updated ...
user avatar
0 votes
1 answer
30 views

Delete ros package path

How can we delete the current package paths, create a new package path? Originally posted by sandeep on ROS Answers with karma: 1 on 2012-06-20 Post score: 0
user avatar
0 votes
2 answers
7 views

roscd returns "bash: reldir: unbound variable"

Hi everyone, When going through the tutorial, I get errors with certain ROS (navigation) functions: ...
user avatar
0 votes
1 answer
2 views

respond error of .setup.sh

according to the Ros installing tutorials Installing and Configuring Your ROS Environment when i type $ .setup.sh it gives me the error of "bash: setup.sh: No such file or directory" and when i type $...
user avatar
0 votes
1 answer
2 views

/opt/ros/electric/setup.bash doest exist

Hi to everybody I have installed debian squeeze and I follow ROS Electric installation instructions I do the following: 1.-# apt-get install build-essential python-yaml cmake subversion wget python-...
user avatar