Skip to content

Commit

Permalink
Merge branch 'master' of github.com:CroboticSolutions/docker_files
Browse files Browse the repository at this point in the history
  • Loading branch information
fzoric8 committed Nov 19, 2024
2 parents 9e5f531 + 1a274f9 commit 6fcb989
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions ros2/humble/kinova/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,10 @@ WORKDIR ${COLCON_WS}/src

# Download moveit2 source code
RUN git clone https://github.com/ros-planning/moveit2.git -b ${ROS2_DISTRO}
RUN git clone https://github.com/moveit/py_binding_tools.git -b ros2
RUN for repo in moveit2/moveit2.repos $(f="moveit2/moveit2_${ROS2_DISTRO}.repos"; test -r $f && echo $f); do vcs import < "$repo"; done
RUN rosdep install -r --from-paths . --ignore-src --rosdistro ${ROS2_DISTRO} -y
RUN git clone https://github.com/moveit/moveit_task_constructor.git -b ${ROS2_DISTRO}
#RUN git clone https://github.com/moveit/moveit_task_constructor.git -b ${ROS2_DISTRO}

# Install middleware
RUN sudo apt install ros-${ROS2_DISTRO}-rmw-cyclonedds-cpp -y
Expand All @@ -129,23 +130,21 @@ RUN git clone https://github.com/moveit/moveit2_tutorials.git -b ${ROS2_DISTRO}
RUN git clone https://github.com/moveit/moveit_visual_tools.git -b ros2
RUN git clone https://github.com/PickNikRobotics/graph_msgs.git -b ros2
RUN git clone https://github.com/moveit/moveit_task_constructor.git -b ${ROS2_DISTRO}
RUN git clone https://github.com/moveit/moveit_resources.git -b ros2
#RUN git clone https://github.com/moveit/moveit_resources.git -b ros2
WORKDIR ${COLCON_WS}
RUN bash -c "source /opt/ros/humble/setup.sh; source ~/.bashrc; MAKEFLAGS="-j${nproc-1}" colcon build --event-handlers desktop_notification- status- --cmake-args -DCMAKE_BUILD_TYPE=Release"
RUN echo "source ${COLCON_WS}/install/setup.bash" >> ~/.bashrc

#RUN apt-get install -y libserial-dev
RUN mkdir -p kortex2_ws/src
WORKDIR /root/kortex2_ws/src
RUN git clone https://github.com/tylerjw/serial.git
WORKDIR /root/kortex2_ws/src/serial
RUN git checkout ros2
WORKDIR /root/kortex2_ws/src/
RUN git clone https://github.com/PickNikRobotics/ros2_robotiq_gripper.git
RUN git clone https://github.com/PickNikRobotics/ros2_kortex.git
WORKDIR /root/kortex2_ws
#RUN mkdir -p kortex2_ws/src
#WORKDIR /root/kortex2_ws/src
#WORKDIR /root/kortex2_ws/src/
#RUN git clone https://github.com/PickNikRobotics/ros2_robotiq_gripper.git
#RUN vcs import src --skip-existing --input src/ros2_robotiq_gripper-not-released.humble.repos
#RUN git clone https://github.com/PickNikRobotics/ros2_kortex.git
#WORKDIR /root/kortex2_ws
#RUN rosdep install --ignore-src --from-paths src -y -r
RUN bash -c "source /opt/ros/humble/setup.bash; colcon build"
RUN echo "source /root/kortex2_ws/install/setup.bash" >> ~/.bashrc
#RUN bash -c "source /opt/ros/humble/setup.bash; colcon build"
#RUN echo "source /root/kortex2_ws/install/setup.bash" >> ~/.bashrc

CMD ["bash"]

0 comments on commit 6fcb989

Please sign in to comment.