id
stringlengths
15
54
text
stringlengths
3
133k
title
stringclasses
1 value
setupbash/573_198.txt
edited
setupbash/LinuxDevelopmentSetu_48.txt
### Install development tools and ROS tools 
setupbash/573_21.txt
Search or jump to...
setupbash/573_421.txt
Projects
setupbash/573_182.txt
Copy link
setupbash/InstallingandConfigu_2.txt
The ROS Wiki is for ROS 1. Are you using ROS 2 ( [ Humble ](http://docs.ros.org/en/humble/) , [ Iron ](http://docs.ros.org/en/iron/) , or [ Rolling ](http://docs.ros.org/en/rolling/) )? [ Check out the ROS 2 Project Documentation ](http://docs.ros.org) Package specific documentation can be found on [ index.ros.org ...
setupbash/whydoesros2installse_36.txt
I don't know why your ` setup.bash ` file in your ` ros2_ws ` has references to noetic, it was probably done while following a tutorial on sourcing two distributions in one workspace?
setupbash/573_216.txt
edited
setupbash/573_378.txt
# time source /opt/ros/eloquent/setup.bash real 0m1.491s user 0m0.727s sys 0m0.814s
setupbash/573_142.txt
Does anybody handle this bug? --- All reactions
setupbash/573_116.txt
**[ wjwwood ](/wjwwood) ** commented Sep 17, 2018
setupbash/LinuxDevelopmentSetu_36.txt
* Fedora 30, see [ alternate instructions ](Fedora-Development-Setup.html)
setupbash/LinuxDevelopmentSetu_99.txt
Releases
setupbash/LinuxDevelopmentSetu_61.txt
Optionally install all packages into a combined directory (rather than each package in a separate subdirectory). On Windows due to limitations of the length of environment variables you should use this option when building workspaces with many (~ >> 100 packages).
setupbash/573_231.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) added [ enhancement ](/ros2/ros2/labels/enhancement) New feature or request and removed [ bug ](/ros2/ros2/labels/bug) Something isn't working labels A...
setupbash/573_294.txt
These results sound pretty common. --- All reactions
setupbash/LinuxDevelopmentSetu_79.txt
## Additional RMW implementations (optional) 
setupbash/whydoesros2installse_11.txt
* [ ros2 ](/questions/scope:all/sort:activity-desc/tags:ros2/page:1/)
setupbash/573_114.txt
Member
setupbash/573_56.txt
# Sourcing setup.bash on ROS2 takes considerably longer compared to ROS1 #573
setupbash/573_119.txt
Sorry, something went wrong.
setupbash/573_40.txt
[ ros2 ](/ros2) / **[ ros2 ](/ros2/ros2) ** Public
setupbash/573_430.txt
[ ](https://github.com "GitHub") © 2024 GitHub, Inc.
setupbash/whydoesros2installse_48.txt
## Question Tools
setupbash/whydoesros2installse_51.txt
[ subscribe to rss feed ](/feeds/question/389464/ "subscribe to the rss feed")
setupbash/LinuxDevelopmentSetu_5.txt
__ [ ROS 2 Documentation: Eloquent ](../index.html)
setupbash/573_33.txt
Query
setupbash/573_235.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=80&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas)
setupbash/InstallingandConfigu_48.txt
### Creating a new workspace
setupbash/environmenthtmlworks_0.txt
[ ![Logo](../_static/colcon.svg) ](../index.html) released User Documentation * [ Installation ](../user/installation.html) * [ Quick start ](../user/quick-start.html) * [ Configuration ](../user/configuration.html) * [ How to ](../user/how-to.html) * [ What is a Workspace? ](../user/what-is-a-workspace.ht...
setupbash/573_54.txt
Already on GitHub? [ Sign in ](/login?return_to=%2Fros2%2Fros2%2Fissues%2Fnew%2Fchoose) to your account
setupbash/InstallingandConfigu_65.txt
Now that your environment is setup, continue with the [ ROS file system tutorial ](/ROS/Tutorials/NavigatingTheFilesystem) .
setupbash/573_115.txt
###
setupbash/573_354.txt
[ @hdino ](https://github.com/hdino) Just curious; would you be up for trying to profile the execution? A quite comprehensive sampling of different profile methods: [ https://stackoverflow.com/a/20855353/7829525 ](https://stackoverflow.com/a/20855353/7829525) That might help to pinpoint the bottlenecks.
setupbash/whydoesros2installse_39.txt
If you then look at the ` setup.bash ` from this new workspace, it won't have noetic sourced, and you can add this one to your ` bashrc ` .
setupbash/LinuxDevelopmentSetu_43.txt
### Add the ROS 2 apt repository 
setupbash/LinuxDevelopmentSetu_14.txt
* Add the ROS 2 apt repository
setupbash/573_253.txt
###
setupbash/573_402.txt
[ (1) ROS2 Apps takes way too long to start [0] robotics-4-all/device-app- manager#25 ](/robotics-4-all/device-app-manager/issues/25)
setupbash/573_309.txt
I understand your point of view. That is why work is ongoing to improve the performance.
setupbash/573_190.txt
Instead of recursively gathering environment variables from all shell scripts, wouldn't it be possible to cache these variables (as shown above) once a new package gets installed and only use a simple source script with this cache environment from there one? Alternatively, there should be an option to not recursively...
setupbash/573_120.txt
[ ![@Seanmatthews](https://avatars.githubusercontent.com/u/5208933?s=80&u=aefe9cb33106bf693478e4aaaaf9399ed5db0503&v=4) ](/Seanmatthews)
setupbash/whydoesros2installse_19.txt
ROS_DISTRO was set to 'foxy' before. Please make sure that the environment does not mix paths from different distributions. ROS_DISTRO was set to 'noetic' before. Please make sure that the environment does not mix paths from different distributions.
setupbash/InstallingandConfigu_27.txt
$ source /opt/ros/<distro>/setup.bash
setupbash/573_331.txt
Copy link
setupbash/573_310.txt
But in the conversation you mentioned "several seconds even for ... two packages". I just asked for the additional context to clarify that it is actually not the time for only two packages but numerous (likely hundreds) installed Dashing packages. Otherwise we would needed to troubleshoot why your performance was diffe...
setupbash/InstallingandConfigu_4.txt
* [ Distributions ](/Distributions) * [ ROS/Installation ](/ROS/Installation) * [ ROS/Tutorials ](/ROS/Tutorials) * [ RecentChanges ](/RecentChanges) * [ Installinga...Environment ](/ROS/Tutorials/InstallingandConfiguringROSEnvironment)
setupbash/InstallingandConfigu_66.txt
## Video Demonstration
setupbash/573_128.txt
Sorry, something went wrong.
setupbash/whydoesros2installse_35.txt
If you have both distributions already installed correctly, you can just create a new workspace and that will only source foxy.
setupbash/573_381.txt
since this is closed, is there any related issue? --- All reactions
setupbash/environmenthtmlworks_12.txt
Free document hosting provided by [ Read the Docs ](http://www.readthedocs.org) .
setupbash/573_345.txt
I just did a fresh install of Ubuntu 18.04 and Eloquent from the official repository, i.e. ` ros-eloquent-ros-workspace ` version ` 0.8.0-1bionic.20191213.040754 ` is installed.
setupbash/573_180.txt
Sorry, something went wrong.
setupbash/573_313.txt
Copy link
setupbash/573_146.txt
###
setupbash/whydoesros2installse_2.txt
[ Hi there! Please sign in ](/account/signin/?next=/question/389464/why-does- ros2-installsetupbash-source-ros1-and-ros2/) [ help ](/help/ "help")
setupbash/573_155.txt
[ ![@Levi- Armstrong](https://avatars.githubusercontent.com/u/9803128?s=80&u=f6e9c208021299989b6d8a27c8cf60e69c3340ac&v=4) ](/Levi-Armstrong)
setupbash/573_92.txt
Copy link
setupbash/573_397.txt
Sorry, something went wrong.
setupbash/whydoesros2installse_16.txt
I have installed ROS1 **noetic** and ROS2 **foxy** on my system. I switch between them by commenting out the sourcing of either in my .bashrc file as follows:
setupbash/573_352.txt
**[ EricCousineau-TRI ](/EricCousineau-TRI) ** commented May 5, 2020 •
setupbash/573_322.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=40&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas) removed the [ in progress ](/ros2/ros2/labels/in%20progress) Actively being worked on (Kanban column) label Oct 4, 2019
setupbash/LinuxDevelopmentSetu_82.txt
Using a different compiler besides gcc to compile ROS 2 is easy. If you set the environment variables ` CC ` and ` CXX ` to executables for a working C and C++ compiler, respectively, and retrigger CMake configuration (by using ` --force-cmake-config ` or by deleting the packages you want to be affected), CMake will...
setupbash/InstallingandConfigu_32.txt
On other platforms you will find these setup.*sh files wherever you installed ROS.
setupbash/573_410.txt
[ @fujitatomoya ](https://github.com/fujitatomoya) I think everyone agrees that faster would be desired. If you have specific suggestion to improve the time please don't hesitate to open a new ticket or even better pull request.
setupbash/573_173.txt
[ @clalancette ](https://github.com/clalancette) thank you for the feedback. That is typically been my experience too when developing. What I will do is add an option to the setting which enables auto sourcing workspace and have this on by default. I will then add a button to the project build setting that when clicked...
setupbash/LinuxDevelopmentSetu_78.txt
The ROS 1 bridge can connect topics from ROS 1 to ROS 2 and vice-versa. See the dedicated [ documentation ](https://github.com/ros2/ros1_bridge/blob/master/README.md) on how to build and use the ROS 1 bridge.
setupbash/573_323.txt
[ ![@LouisChen1905](https://avatars.githubusercontent.com/u/4928339?s=80&v=4) ](/LouisChen1905)
setupbash/573_67.txt
[ ![@christianrauch](https://avatars.githubusercontent.com/u/8573621?s=80&v=4) ](/christianrauch)
setupbash/LinuxDevelopmentSetu_41.txt
Make sure you have a locale which supports ` UTF-8 ` . If you are in a minimal environment (such as a docker container), the locale may be something minimal like ` POSIX ` . We test with the following settings. However, it should be fine if you’re using a different UTF-8 supported locale.
setupbash/whydoesros2installse_15.txt
[ jmadd ](/users/5269/jmadd/) 11 ● 2 ● 2 ● 4
setupbash/573_418.txt
[ ![@dirk-thomas](https://avatars.githubusercontent.com/u/1335366?s=40&v=4) ](/dirk-thomas) [ dirk-thomas ](/dirk-thomas)
setupbash/573_91.txt
[ ![@dirk- thomas](https://avatars.githubusercontent.com/u/1335366?s=80&u=ec35ea6bae7c6e04a5df7482044bbc7681968435&v=4) ](/dirk-thomas)
setupbash/573_9.txt
For
setupbash/573_156.txt
Copy link
setupbash/573_93.txt
Member
setupbash/573_154.txt
Sorry, something went wrong.
setupbash/LinuxDevelopmentSetu_50.txt
## Get ROS 2 code 
setupbash/573_351.txt
###
setupbash/573_90.txt
Sorry, something went wrong.
setupbash/573_8.txt
* Solutions
setupbash/573_228.txt
source PATH/ros2_quick_setup.sh setup_ros2_environment /opt/ros/ dashing add_ros2_workspace /home/user/my_workspace
setupbash/573_347.txt
This is still too slow to do it in every terminal I open. --- All reactions
setupbash/InstallingandConfigu_12.txt
1. Install ROS 2. Managing Your Environment 3. Create a ROS Workspace 4. Video Demonstration
setupbash/LinuxDevelopmentSetu_58.txt
More info on working with a ROS workspace can be found in [ this tutorial ](../Tutorials/Colcon-Tutorial.html) .
setupbash/LinuxDevelopmentSetu_44.txt
You will need to add the ROS 2 apt repositories to your system. To do so, first authorize our GPG key with apt like this:
setupbash/LinuxDevelopmentSetu_42.txt
locale # check for UTF-8 sudo apt update && sudo apt install locales sudo locale-gen en_US en_US.UTF-8 sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 export LANG=en_US.UTF-8 locale # verify settings
setupbash/LinuxDevelopmentSetu_54.txt
sudo rosdep init rosdep update rosdep install --from-paths src --ignore-src --rosdistro eloquent -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
setupbash/573_158.txt
**[ Levi-Armstrong ](/Levi-Armstrong) ** commented Jun 2, 2019
setupbash/LinuxDevelopmentSetu_88.txt
See [ Maintaining a source checkout of ROS 2 ](Maintaining-a-Source- Checkout.html#maintainingsource) to periodically refresh your source installation.
setupbash/573_405.txt
Copy link
setupbash/InstallingandConfigu_43.txt
$ source devel/setup.bash
setupbash/573_284.txt
time source install/setup.bash real 0m1,409s user 0m1,132s sys 0m0,326s time source install/local_setup.bash real 0m0,192s user 0m0,174s sys 0m0,022s
setupbash/573_196.txt
###
setupbash/573_213.txt
Copy link
setupbash/573_165.txt
**[ clalancette ](/clalancette) ** commented Jun 3, 2019
setupbash/LinuxDevelopmentSetu_87.txt
## Stay up to date 
setupbash/whydoesros2installse_0.txt
First time here? Check out the FAQ!
setupbash/573_149.txt
For others to explore potential solutions, is there a suggested toy benchmark in which people can tinker with and some pointers to what source to play with?