Skip to content

How to source the setup shell scripts of a ROS 2 workspace? #107

Answered by alsora
valdivj asked this question in Questions
Discussion options

You must be logged in to vote

Hi, the repository create3_examples contains various ROS 2 applications to interact with the Create 3 robot.
I recommend you to become familiar with ROS 2 before using it.

"Sourcing the setup shell scripts" is a standard operation that must be done after building any ROS 2 package from sources.
Its purpose is to add the paths to the just built artifacts to the environment paths (e.g. LD_LIBRARY_PATH, PYTHONPATH, etc).

The command is something like this, depending on the specific paths on your machine.

source install/setup.sh

Note that full instructions on how to build and source the package can be found in the README here https://github.com/iRobotEducation/create3_examples

If you have is…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@valdivj
Comment options

@alsora
Comment options

@valdivj
Comment options

@alsora
Comment options

@valdivj
Comment options

Answer selected by valdivj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forum_ros2 Forum post about general ROS 2 usage
2 participants