First, clone this repository into a new colcon
workspace
# Make a colcon workspace
mkdir -p colcon_ws/src
cd colcon_ws/src
# Clone the workshop repository
git clone https://github.com/marip8/reach_roscon_2023.git
# Install the python dependencies
python3 -m pip install -r reach_roscon_2023/requirements.txt
Now that you have a workspace for this repository, there are several different ways to install the required dependencies:
Note: only ROS2 Humble is supported for this type of install
# Install the dependencies
cd colcon_ws
rosdep install --from-paths src -iry
# Build the repository
cd colcon_ws
colcon build --symlink-install
# Add the install directory of the `reach` Python bindings to the `PYTHONPATH` environment variable
echo "export PYTHONPATH=$PYTHONPATH:/opt/ros/humble/lib/python3/dist-packages" >> ~/.bashrc
Note: The
PYTHONPATH
environment variable must be updated due to small bug in the installation of thereach
Python bindings in version 1.6.0-1.
Distro | Support |
---|---|
Foxy | ✓ |
Galactic | ? |
Humble | ✓ |
Iron | ? |
Rolling | ✓ |
# Install the dependencies
cd colcon_ws
vcs import src < src/reach_roscon_2023/dependencies.repos
rosdep install --from-paths src -iry
# Build the repository
colcon build --symlink-install