forked from moveit/moveit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'origin/master' into jacobian-derivative
- Loading branch information
Showing
275 changed files
with
5,018 additions
and
2,004 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,15 @@ | |
|
||
ARG IMAGE=noetic | ||
FROM moveit/moveit:${IMAGE}-ci | ||
MAINTAINER Robert Haschke [email protected] | ||
LABEL org.opencontainers.image.authors="Robert Haschke <[email protected]>" | ||
|
||
# Switch to ros-testing | ||
RUN echo "deb http://packages.ros.org/ros-testing/ubuntu `lsb_release -cs` main" | tee /etc/apt/sources.list.d/ros1-latest.list | ||
|
||
# Upgrade packages to ros-testing and clean apt-cache within one RUN command | ||
RUN apt-get -qq update && \ | ||
RUN apt-get update && \ | ||
apt-get install curl && \ | ||
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \ | ||
echo "deb [signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros-testing/ubuntu `lsb_release -cs` main" | tee /etc/apt/sources.list.d/ros1-latest.list && \ | ||
# Upgrade packages to ros-testing and clean apt-cache within one RUN command | ||
apt-get update && \ | ||
apt-get -qq -y dist-upgrade && \ | ||
# | ||
# Clear apt-cache to reduce image size | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
|
||
ARG ROS_DISTRO=noetic | ||
FROM ros:${ROS_DISTRO}-ros-base | ||
MAINTAINER Dave Coleman [email protected] | ||
LABEL org.opencontainers.image.authors="Robert Haschke <[email protected]>" | ||
|
||
ENV TERM xterm | ||
ENV TERM=xterm | ||
|
||
# Setup (temporary) ROS workspace | ||
WORKDIR /root/ws_moveit | ||
|
@@ -26,15 +26,15 @@ RUN \ | |
wget git sudo \ | ||
# Preferred build tools | ||
python$(test "${ROS_DISTRO}" = "noetic" && echo 3)-catkin-tools \ | ||
clang clang-format-10 clang-tidy clang-tools \ | ||
clang clang-format-12 clang-tidy clang-tools \ | ||
ccache && \ | ||
# | ||
# Download MoveIt sources, so that we can fetch all necessary dependencies | ||
wstool init --shallow src src/moveit/.github/workflows/upstream.rosinstall && \ | ||
git clone --depth 1 --branch master https://github.com/ros-planning/moveit_resources src/moveit_resources && \ | ||
git clone --depth 1 --branch master https://github.com/moveit/moveit_resources src/moveit_resources && \ | ||
# | ||
# Download all dependencies of MoveIt | ||
rosdep update && \ | ||
rosdep update $(test "${ROS_DISTRO}" = "melodic" && echo "--include-eol-distros") && \ | ||
DEBIAN_FRONTEND=noninteractive \ | ||
rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} --as-root=apt:false && \ | ||
# Remove the source code from this container | ||
|
@@ -47,4 +47,4 @@ RUN \ | |
git config --global --add safe.directory "*" | ||
|
||
# Continous Integration Setting | ||
ENV IN_DOCKER 1 | ||
ENV IN_DOCKER=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
ARG ROS_DISTRO=noetic | ||
FROM ros:${ROS_DISTRO}-ros-base | ||
MAINTAINER Dave Coleman [email protected] | ||
LABEL org.opencontainers.image.authors="Robert Haschke <[email protected]>" | ||
|
||
# Commands are combined in single RUN statement with "apt/lists" folder removal to reduce image size | ||
RUN apt-get update -q && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,14 @@ | |
|
||
ARG IMAGE=noetic | ||
FROM moveit/moveit:${IMAGE}-ci-testing | ||
MAINTAINER Robert Haschke [email protected] | ||
LABEL org.opencontainers.image.authors="Robert Haschke <[email protected]>" | ||
|
||
ENV PYTHONIOENCODING UTF-8 | ||
ENV PYTHONIOENCODING=UTF-8 | ||
# Export ROS_UNDERLAY for downstream docker containers | ||
ENV ROS_UNDERLAY /root/ws_moveit/install | ||
ENV ROS_UNDERLAY=/root/ws_moveit/install | ||
# Environment variable used in instructions on moveit.ros.org website for running clang-tidy | ||
ENV CATKIN_WS $(realpath $ROS_UNDERLAY/..) | ||
WORKDIR $ROS_UNDERLAY/.. | ||
ENV CATKIN_WS=$ROS_UNDERLAY/.. | ||
WORKDIR $CATKIN_WS | ||
|
||
# Copy MoveIt sources from docker context | ||
COPY . src/moveit | ||
|
@@ -24,7 +24,7 @@ RUN --mount=type=cache,target=/root/.ccache/ \ | |
PATH=/usr/lib/ccache:$PATH && \ | ||
# Fetch required upstream sources for building | ||
wstool init --shallow src src/moveit/.github/workflows/upstream.rosinstall && \ | ||
git clone --depth 1 --branch master https://github.com/ros-planning/moveit_resources src/moveit_resources && \ | ||
git clone --depth 1 --branch master https://github.com/moveit/moveit_resources src/moveit_resources && \ | ||
# | ||
catkin config --extend /opt/ros/$ROS_DISTRO --install --cmake-args -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON && \ | ||
# Status rate is limited so that just enough info is shown to keep Docker from timing out, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.