id
stringlengths
15
54
text
stringlengths
3
133k
title
stringclasses
1 value
setupbash/573_333.txt
**[ EricCousineau-TRI ](/EricCousineau-TRI) ** commented Mar 18, 2020
setupbash/InstallingandConfigu_58.txt
It is very common to replace the line ` source /opt/ros/fuerte/setup.bash ` to source the setup.bash in ` ~/fuerte_workspace ` or whichever workspace you use most often.
setupbash/573_117.txt
> Form the name of the source files, I would assume that local_setup.bash is > sourcing every package individually (as observed), but setup.bash should > source the whole workspace at once.
setupbash/573_318.txt
All reactions
setupbash/573_395.txt
All reactions
setupbash/573_110.txt
Is this supposed to happen? Form the name of the source files, I would assume that ` local_setup.bash ` is sourcing every package individually (as observed), but ` setup.bash ` should source the whole workspace at once. --- All reactions
setupbash/573_5.txt
* [ Actions Automate any workflow ](/features/actions) * [ Packages Host and manage packages ](/features/packages) * [ Security Find and fix vulnerabilities ](/features/security) * [ Codespaces Instant dev environments ](/features/codespaces) * [ Copilot Write better code with AI ](/featur...
setupbash/LinuxDevelopmentSetu_10.txt
Table of Contents
setupbash/LinuxDevelopmentSetu_26.txt
* Alternate compilers
setupbash/573_127.txt
* 👍 2 reactions * 👎 6 reactions
setupbash/573_225.txt
edited
setupbash/573_336.txt
#!/bin/bash set -euxo pipefail # Use subshells () to get separate bash processes. # The syntax ${var:-unset value} will print the value of ${var} if set; # otherwise, it will print "unset value" (or whatever else you type there). set-env() { export MY_VARIABLE=hello ...
setupbash/573_406.txt
Member
setupbash/573_222.txt
Copy link
setupbash/573_138.txt
[ ![@routiful](https://avatars.githubusercontent.com/u/7092473?s=80&u=1a16d9551a710b937267a1786567af6407146198&v=4) ](/routiful)
setupbash/573_55.txt
Jump to bottom
setupbash/573_204.txt
**[ felixendres ](/felixendres) ** commented Aug 9, 2019
setupbash/573_168.txt
Sorry, something went wrong.
setupbash/whydoesros2installse_10.txt
edit
setupbash/InstallingandConfigu_23.txt
* ROS packages installed with package managers provide setup.*sh files * [ rosbuild workspaces ](http://www.ros.org/wiki/fuerte/Installation/Overlays) provide setup.*sh files using tools like [ rosws ](/rosws)
setupbash/InstallingandConfigu_34.txt
catkin rosbuild
setupbash/LinuxDevelopmentSetu_75.txt
## Next steps after installing 
setupbash/environmenthtmlworks_7.txt
# Non-primary / additional shells ¶ Other shells which are able to invoke primary shell scripts within their context commonly don’t duplicate their content and logic. Instead they first invoke the primary shell script and then add additional logic to provide specific functionalities like completion.
setupbash/573_144.txt
[ ![@EricCousineau- TRI](https://avatars.githubusercontent.com/u/26719449?s=80&u=85559e6a1fdfc12d6200ad76cc5c26d7928cdc03&v=4) ](/EricCousineau-TRI)
setupbash/LinuxDevelopmentSetu_55.txt
### Install additional DDS implementations (optional) 
setupbash/573_275.txt
[ @Karsten1987 ](https://github.com/Karsten1987) If I recall correctly on your macOS the title bar of your terminal tab was constantly being updated while the sourcing was ongoing. That seems to indicate another problem which is probably slowing down the process. I would suggest to first look into that / resolve that a...
setupbash/573_45.txt
New issue
setupbash/573_16.txt
* [ GitHub Sponsors Fund open source developers ](/sponsors)
setupbash/573_427.txt
15 participants
setupbash/573_121.txt
Copy link
setupbash/whydoesros2installse_47.txt
add a comment
setupbash/573_101.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) added this to the [ crystal ](/ros2/ros2/milestone/4) milestone Sep 13, 2018
setupbash/InstallingandConfigu_16.txt
**Note:** If you installed ROS from a package manager like ` apt ` , then those packages will not be write accessible and should not be edited by you the user. When working with ROS packages from source or when creating a new ROS package, you should always work in a directory that you have access to, like your home fol...
setupbash/573_417.txt
Assignees
setupbash/whydoesros2installse_5.txt
The site is read-only. Please transition to use Robotics Stack Exchange
setupbash/573_22.txt
# Search code, repositories, users, issues, pull requests...
setupbash/573_374.txt
###
setupbash/573_65.txt
[ enhancement ](/ros2/ros2/labels/enhancement) New feature or request
setupbash/573_363.txt
[ @EricCousineau-TRI ](https://github.com/EricCousineau-TRI) I used the first profiling method ( ` set -x ` and ` date ` ) and got the following results:
setupbash/573_348.txt
Sorry, something went wrong.
setupbash/573_304.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=80&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas)
setupbash/573_411.txt
> Is there a way to speed-up the sourcing process in ros2 Eloquent? For > example, is there a way to do the sourcing only once (e.g., at boot time), > rather than repeating the process for all bashes?
setupbash/573_201.txt
[ ![@felixendres](https://avatars.githubusercontent.com/u/6112784?s=80&v=4) ](/felixendres)
setupbash/573_49.txt
Email Address
setupbash/LinuxDevelopmentSetu_34.txt
Tier 3 platforms (not actively tested or supported) include:
setupbash/573_262.txt
Contributor
setupbash/InstallingandConfigu_29.txt
If you installed ROS Kinetic, that would be:
setupbash/LinuxDevelopmentSetu_7.txt
* * *
setupbash/LinuxDevelopmentSetu_56.txt
If you would like to use another DDS or RTPS vendor besides the default, eProsima’s Fast RTPS, you can find instructions [ here ](DDS- Implementations.html) .
setupbash/LinuxDevelopmentSetu_89.txt
## Troubleshooting 
setupbash/573_248.txt
I know. However, as long as the setup scripts take several seconds even for small workspaces (two packages, each includes only one library/executable) on relatively fast systems (recent Core i5, Samsung 850 Pro SSD), these hacks might be an option to setup the environment. Of course, they were not intended to replace a...
setupbash/573_353.txt
edited
setupbash/573_28.txt
Include my email address so I can be contacted
setupbash/LinuxDevelopmentSetu_90.txt
Troubleshooting techniques can be found [ here ](../Troubleshooting/Installation-Troubleshooting.html#linux-troubleshooting) .
setupbash/573_399.txt
[ Sourcing setup script from Debian takes considerably longer than the local_setup script #929 ](/ros2/ros2/issues/929)
setupbash/whydoesros2installse_44.txt
This will only work if the OP hasn't actually already added an auto- ` source ` of both ` setup.bash ` files to his shell configuration.
setupbash/573_337.txt
Running this inside of script:
setupbash/LinuxDevelopmentSetu_47.txt
sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list'
setupbash/573_20.txt
* [ Pricing ](/pricing)
setupbash/573_330.txt
[ ![@EricCousineau- TRI](https://avatars.githubusercontent.com/u/26719449?s=80&u=85559e6a1fdfc12d6200ad76cc5c26d7928cdc03&v=4) ](/EricCousineau-TRI)
setupbash/573_169.txt
[ ![@Levi- Armstrong](https://avatars.githubusercontent.com/u/9803128?s=80&u=f6e9c208021299989b6d8a27c8cf60e69c3340ac&v=4) ](/Levi-Armstrong)
setupbash/573_321.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) closed this as [ completed ](/ros2/ros2/issues?q=is%3Aissue+is%3Aclosed+archived%3Afalse+reason%3Acompleted) Oct 4, 2019
setupbash/573_236.txt
Copy link
setupbash/whydoesros2installse_58.txt
[ ROS2 nodes launched with systemd aren't discovered ](/question/389577/ros2-nodes-launched-with-systemd-arent-discovered/)
setupbash/573_69.txt
###
setupbash/573_362.txt
**[ hdino ](/hdino) ** commented May 6, 2020
setupbash/573_137.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) removed this from the [ crystal ](/ros2/ros2/milestone/4) milestone Jan 17, 2019
setupbash/LinuxDevelopmentSetu_28.txt
* Stay up to date
setupbash/573_233.txt
[ improve performance when setting up environment #764 ](/ros2/ros2/issues/764)
setupbash/573_132.txt
###
setupbash/573_332.txt
###
setupbash/573_12.txt
* [ CI/CD & Automation ](/solutions/ci-cd/) * [ DevOps ](/solutions/devops/) * [ DevSecOps ](https://resources.github.com/devops/fundamentals/devsecops/)
setupbash/LinuxDevelopmentSetu_11.txt
* System requirements
setupbash/573_416.txt
[ Sign up for free ](/join?source=comment-repo) **to join this conversation on GitHub** . Already have an account? [ Sign in to comment ](/login?return_to=https%3A%2F%2Fgithub.com%2Fros2%2Fros2%2Fissues%2F573)
setupbash/InstallingandConfigu_69.txt
Except where otherwise noted, the ROS wiki is licensed under the [ Creative Commons Attribution 3.0 ](http://creativecommons.org/licenses/by/3.0/)
setupbash/573_341.txt
[ ![@hdino](https://avatars.githubusercontent.com/u/7059909?s=80&u=3298ba8a6b0e9797edc44c49055ba37e7fcc123b&v=4) ](/hdino)
setupbash/573_177.txt
###
setupbash/whydoesros2installse_56.txt
## Related questions
setupbash/573_153.txt
* 👍 3 reactions
setupbash/whydoesros2installse_41.txt
[ edit ](/s/answers/389914/edit/) flag offensive delete [ link ](/question/389464/why-does-ros2-installsetupbash-source-ros1-and- ros2/?answer=389914#post-id-389914 "permanent link") more
setupbash/573_167.txt
[1] There are more complicated scenarios where this isn't exactly true, but for the most part it should work and is how I do development. --- All reactions
setupbash/573_274.txt
**[ dirk-thomas ](/dirk-thomas) ** commented Aug 20, 2019
setupbash/573_277.txt
[ ![@hdino](https://avatars.githubusercontent.com/u/7059909?s=80&u=3298ba8a6b0e9797edc44c49055ba37e7fcc123b&v=4) ](/hdino)
setupbash/573_183.txt
Author
setupbash/LinuxDevelopmentSetu_83.txt
### Clang 
setupbash/whydoesros2installse_23.txt
Any help is greatly appreciated!!!
setupbash/573_316.txt
**[ dirk-thomas ](/dirk-thomas) ** commented Oct 4, 2019
setupbash/573_306.txt
Member
setupbash/LinuxDevelopmentSetu_64.txt
Afterwards source the ` local_setup.* ` from the ` install ` folder.
setupbash/environmenthtmlworks_8.txt
Avoid duplicate entries ¶ Several environment variables store multiple values separated by a delimiter. Commonly, duplicate values are not useful and only increase length and decrease readability. Therefore, shell scripts try to avoid adding duplicate values where applicable. With the number of values in such an ...
setupbash/InstallingandConfigu_49.txt
The following command creates a new workspace in ` ~/fuerte_workspace ` which extends the set of packages installed in /opt/ros/fuerte:
setupbash/573_214.txt
###
setupbash/573_232.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) mentioned this issue Aug 20, 2019
setupbash/InstallingandConfigu_7.txt
# User
setupbash/LinuxDevelopmentSetu_71.txt
. ~/ros2_eloquent/install/local_setup.bash ros2 run demo_nodes_cpp talker
setupbash/LinuxDevelopmentSetu_25.txt
* Additional RMW implementations (optional)
setupbash/LinuxDevelopmentSetu_37.txt
* Arch Linux, see [ alternate instructions ](https://wiki.archlinux.org/index.php/ROS#ROS_2)
setupbash/573_63.txt
[ ![@dirk-thomas](https://avatars.githubusercontent.com/u/1335366?s=40&v=4) ](/dirk-thomas)
setupbash/whydoesros2installse_34.txt
[ rodrigo55 ](/users/53015/rodrigo55/) 156 ● 2 ● 9 ● 8
setupbash/573_74.txt
* Operating System: Ubuntu 18.04 * Installation type: binary * Version or commit hash: bouncy