Skip to content

Commit f47cf64

Browse files
committed
Update deps
1 parent f5e1b0d commit f47cf64

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

scripts/Dockerfile.dependencies_humble

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
141141
&& npm install -g yarn
142142

143143
# Install Python 3 pip build dependencies first
144-
RUN python3.10 -m pip install --upgrade pip==23.3.1 wheel==0.41.3 setuptools==69.0.2
144+
RUN python3.10 -m pip install --upgrade pip==23.3.1 wheel==0.41.3 setuptools==69.0.2 selenium
145145

146146
# pip install dependencies
147147
RUN python3.10 -m pip install \
@@ -272,17 +272,51 @@ RUN apt-get update && \
272272
ros-humble-tf2-ros \
273273
ros-humble-trajectory-msgs \
274274
ros-humble-visualization-msgs \
275+
ros-humble-moveit \
276+
ros-humble-ros2-control \
277+
ros-humble-ros2-controllers \
278+
ros-humble-gripper-controllers \
279+
ros-humble-rmw-cyclonedds-cpp \
280+
ros-humble-ur \
281+
ros-humble-ros-testing \
282+
libpoco-dev \
275283
&& rm -rf /var/lib/apt/lists/*
276284

277285
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
278286
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
279287

288+
# Install CycloneDDS RMW for ROS 2 Humble to fix cycle time issues in humble-moveit (temporary fix)
289+
RUN echo 'export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp' >> ~/.bashrc
290+
291+
# Instalation for industrial robots
292+
293+
RUN mkdir -p /home/industrial_ws/src/ABBDriver
294+
WORKDIR /home/industrial_ws/src/ABBDriver
295+
RUN git clone https://github.com/PickNikRobotics/abb_ros2.git -b rolling
296+
RUN . /opt/ros/$ROS_DISTRO/setup.sh && rosdep update
297+
RUN vcs import < abb_ros2/abb.repos
298+
RUN . /opt/ros/$ROS_DISTRO/setup.sh && rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
299+
WORKDIR /home/industrial_ws/src
300+
RUN git clone https://github.com/ros-controls/gazebo_ros2_control.git
301+
RUN cd gazebo_ros2_control && git reset --hard 9a3736c # Commit for the 0.4.6 version!
302+
RUN git clone https://github.com/IFRA-Cranfield/IFRA_LinkAttacher.git
303+
RUN git clone https://github.com/IFRA-Cranfield/IFRA_ObjectPose.git
304+
RUN git clone https://github.com/IFRA-Cranfield/IFRA_LinkPose.git
305+
RUN git clone https://github.com/IFRA-Cranfield/ros2_RobotiqGripper.git
306+
# Forked needed in order to read the parameters from main launcher
307+
RUN git clone https://github.com/javizqh/ros2_SimRealRobotControl
308+
RUN sudo cp /home/industrial_ws/src/ros2_SimRealRobotControl/include/move_group_interface_improved.h /opt/ros/humble/include/moveit/move_group_interface/move_group_interface_improved.h
309+
WORKDIR /home/industrial_ws
310+
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
311+
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
312+
280313
# Create workspace and add drone packages
281314
RUN echo "source /usr/share/gazebo/setup.bash" >> ~/.bashrc
282315
RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> ~/.bashrc
283316
RUN echo 'export AEROSTACK2_PATH=/home/drones_ws/src/aerostack2' >> ~/.bashrc
284317
RUN echo 'source $AEROSTACK2_PATH/as2_cli/setup_env.bash' >> ~/.bashrc
285318
RUN echo "source /home/drones_ws/install/setup.bash" >> ~/.bashrc
319+
RUN echo "source /home/industrial_ws/install/setup.bash" >> ~/.bashrc
286320

287321
# Download and install OMPL library
288322
COPY install-ompl-ubuntu.sh /

scripts/Dockerfile.humble

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RUN chmod +x /start_vnc.sh /kill_all.sh /entrypoint.sh /start_vnc_gpu.sh /set_dr
2929
# Compiling and sourcing the workspace
3030
WORKDIR /home/ws
3131
RUN /bin/bash -c "source /home/drones_ws/install/setup.bash"
32+
RUN /bin/bash -c "source /home/industrial_ws/install/setup.bash"
3233
RUN /bin/bash -c "source /opt/ros/humble/setup.bash; colcon build --symlink-install"
3334

3435
# Manager websocket

0 commit comments

Comments
 (0)