Add path simplification function
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -25,19 +25,20 @@ RUN apt-get update && \
|
||||
apt-get install -yq python3-pil.imagetk && \
|
||||
apt-get install -yq ros-${ROS_DISTRO}-pilz-industrial-motion-planner && \
|
||||
apt-get install -yq tmux && \
|
||||
apt-get install -yq python3-pip && \
|
||||
apt-get install -yq ros-${ROS_DISTRO}-desktop && \
|
||||
apt-get install -yq ros-${ROS_DISTRO}-rclcpp-components
|
||||
|
||||
### Install AxiDraw
|
||||
RUN apt-get update && \
|
||||
apt-get install -yq python3-pip && \
|
||||
pip install --upgrade --upgrade-strategy eager packaging && \
|
||||
pip install https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip --upgrade --upgrade-strategy eager
|
||||
#RUN apt-get update && \
|
||||
# apt-get install -yq python3-pip && \
|
||||
# pip install --upgrade --upgrade-strategy eager packaging && \
|
||||
# pip install https://cdn.evilmadscientist.com/dl/ad/public/AxiDraw_API.zip --upgrade --upgrade-strategy eager
|
||||
|
||||
### Install splipy
|
||||
RUN apt-get update && \
|
||||
apt-get install -yq python3-pip && \
|
||||
pip install --upgrade --upgrade-strategy eager splipy
|
||||
#RUN apt-get update && \
|
||||
# apt-get install -yq python3-pip && \
|
||||
# pip install --upgrade --upgrade-strategy eager splipy
|
||||
|
||||
# Build interfaces and generic controller first
|
||||
COPY ./src/robot_interfaces ${WS_SRC_DIR}/robot_interfaces
|
||||
@@ -50,6 +51,8 @@ RUN source "/opt/ros/${ROS_DISTRO}/setup.bash" && \
|
||||
COPY ./src/draw_svg ${WS_SRC_DIR}/draw_svg
|
||||
COPY ./src/drawing_controller ${WS_SRC_DIR}/drawing_controller
|
||||
COPY ./src/axidraw_controller ${WS_SRC_DIR}/axidraw_controller
|
||||
RUN pip install -r ${WS_SRC_DIR}/drawing_controller/requirements.txt
|
||||
RUN pip install -r ${WS_SRC_DIR}/axidraw_controller/requirements.txt
|
||||
RUN source "/opt/ros/${ROS_DISTRO}/setup.bash" && \
|
||||
source "${WS_INSTALL_DIR}/local_setup.bash" && \
|
||||
colcon build --merge-install --symlink-install --cmake-args "-DCMAKE_BUILD_TYPE=Release" --paths ${WS_SRC_DIR}/draw_svg ${WS_SRC_DIR}/drawing_controller ${WS_SRC_DIR}/axidraw_controller && \
|
||||
|
||||
Reference in New Issue
Block a user