Skip to content
Snippets Groups Projects
Commit 99b5ea99 authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

Add support for libpcan

parent caa0bcf3
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ RUN apt-get update && apt-get -y install --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
dbus-x11 \
gnupg-agent \
software-properties-common \
dialog 2>&1 \
......@@ -107,7 +108,11 @@ RUN sh -c "echo 'yaml https://git.code.tecnalia.com/tecnalia_robotics-public/git
# Install pip3 and packages
RUN apt-get install -y \
python3-pip \
&& pip3 install sqlite_utils
&& pip3 install sqlite_utils \
&& pip3 install conan==1.59 \
&& conan config set general.revisions_enabled=1 \
&& conan profile new default --detect > /dev/null \
&& conan profile update settings.compiler=gcc default
# Install node for UIs
RUN curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash \
......@@ -154,6 +159,7 @@ RUN if [ "${ROS_DISTRO}" != "humble" ]; \
ros-${ROS_DISTRO}-moveit-planners-ompl \
ros-${ROS_DISTRO}-moveit-resources \
ros-${ROS_DISTRO}-moveit-ros-benchmarks \
ros-${ROS_DISTRO}-moveit-ros-control-interface \
ros-${ROS_DISTRO}-moveit-ros-move-group \
ros-${ROS_DISTRO}-moveit-ros-planning-interface \
ros-${ROS_DISTRO}-moveit-ros-visualization \
......@@ -171,6 +177,7 @@ RUN if [ "${ROS_DISTRO}" != "humble" ]; \
ros-${ROS_DISTRO}-ros-control \
ros-${ROS_DISTRO}-ros-control-boilerplate \
ros-${ROS_DISTRO}-ros-controllers \
ros-${ROS_DISTRO}-ros-industrial-cmake-boilerplate \
ros-${ROS_DISTRO}-rosbridge-server \
ros-${ROS_DISTRO}-scaled-joint-trajectory-controller \
ros-${ROS_DISTRO}-serial \
......@@ -186,6 +193,11 @@ RUN if [ "${ROS_DISTRO}" != "humble" ]; \
ros-${ROS_DISTRO}-usb-cam \
ros-${ROS_DISTRO}-velocity-controllers \
ros-${ROS_DISTRO}-warehouse-ros-mongo; \
# ROS2 Humble dpendencies
else \
apt-get -y install \
ros-${ROS_DISTRO}-moveit \
ros-${ROS_DISTRO}-ros2-control; \
fi
RUN if [ "${ROS_DISTRO}" = "noetic" ]; \
......@@ -195,7 +207,9 @@ RUN if [ "${ROS_DISTRO}" = "noetic" ]; \
python-is-python3 \
python3-catkin-tools \
python3-click \
ros-${ROS_DISTRO}-libpcan \
python3-numpy \
python3-tk \
python3-osrf-pycommon; \
elif [ "${ROS_DISTRO}" = "melodic" ]; \
then \
......@@ -230,11 +244,13 @@ RUN rm -rf *
RUN apt-get --reinstall install -y libnotify-bin notify-osd
# Update this date to re-run the image final update
LABEL image.date=03-02-2023
LABEL image.date=24-08-2023
# Update final image
RUN apt-get update \
&& apt-get -y upgrade
&& apt-get -y upgrade \
&& apt-get -y autoremove \
&& apt-get -y autoclean
# Set entrypoint
COPY ./ros_entrypoint.sh /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment