services-ros1-video_capture_opencv (sha256:c4a8765fdafa4cca0f2f1ec3a20e320eebbf06dea2585e60cc7a3a4d0d7de3bc)
Published 2024-03-12 13:56:08 -03:00 by spiri-buildbot
Installation
docker pull git.spirirobotics.com/spiri/services-ros1-video_capture_opencv@sha256:c4a8765fdafa4cca0f2f1ec3a20e320eebbf06dea2585e60cc7a3a4d0d7de3bc
sha256:c4a8765fdafa4cca0f2f1ec3a20e320eebbf06dea2585e60cc7a3a4d0d7de3bc
About this package
Capture camera images and present them to ROS.
Image Layers
ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=20.04 |
ADD file:a8303c80b47ec165c276111aa6f98ee877e4da60ddafa00b7547032a3de7935d in / |
CMD ["/bin/bash"] |
/bin/sh -c echo 'Etc/UTC' > /etc/timezone && ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && apt-get update && apt-get install -q -y --no-install-recommends tzdata && rm -rf /var/lib/apt/lists/* |
/bin/sh -c apt-get update && apt-get install -q -y --no-install-recommends dirmngr gnupg2 && rm -rf /var/lib/apt/lists/* |
/bin/sh -c set -eux; key='C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; mkdir -p /usr/share/keyrings; gpg --batch --export "$key" > /usr/share/keyrings/ros1-latest-archive-keyring.gpg; gpgconf --kill all; rm -rf "$GNUPGHOME" |
/bin/sh -c echo "deb [ signed-by=/usr/share/keyrings/ros1-latest-archive-keyring.gpg ] http://packages.ros.org/ros/ubuntu focal main" > /etc/apt/sources.list.d/ros1-latest.list |
ENV LANG=C.UTF-8 |
ENV LC_ALL=C.UTF-8 |
ENV ROS_DISTRO=noetic |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ros-noetic-ros-core=1.5.0-1* && rm -rf /var/lib/apt/lists/* |
COPY file:b48a3fff5008212a0bcdc238d0e8be930aa89d2336e357e1f628c98db523efeb in / |
ENTRYPOINT ["/ros_entrypoint.sh"] |
CMD ["bash"] |
ENV CATKIN_SETUP_FILE=devel/setup.bash |
COPY ./rosconsole.config /opt/ros/noetic/share/ros/config/rosconsole.config # buildkit |
COPY ./ros_entrypoint.sh /ros_entrypoint.sh # buildkit |
COPY ./launch.sh /launch # buildkit |
CMD ["/bin/sh" "-c" "stdbuf -o L roscore"] |
HEALTHCHECK &{["CMD-SHELL" "/ros_entrypoint.sh rostopic list"] "0s" "0s" "1m0s" "0s" '\x00'} |
RUN /bin/sh -c apt-get update --yes && apt-get install --yes git build-essential # buildkit |
RUN /bin/sh -c apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential # buildkit |
WORKDIR /root/catkin_ws/src |
RUN /bin/sh -c git clone https://github.com/ros-drivers/video_stream_opencv.git # buildkit |
COPY ./stereo_cameras.launch video_stream_opencv/launch/ # buildkit |
WORKDIR /root/catkin_ws |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep init" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep update" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep install --from-paths src -y" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make" # buildkit |
RUN /bin/sh -c /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make install" # buildkit |
WORKDIR /root/catkin_ws |
RUN /bin/sh -c apt-get clean # buildkit |
HEALTHCHECK &{["CMD-SHELL" "/ros_entrypoint.sh rostopic list"] "0s" "0s" "1m0s" "0s" '\x00'} |
ENV OPENCV_VIDEOIO_V4L_RANGE_NORMALIZED=true |
CMD ["/bin/sh" "-c" "/launch video_stream_opencv stereo_cameras.launch port_camera_device:=\"/dev/video0\" starboard_camera_device:=\"/dev/video1\""] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-03-12T16:42:53.419Z |
org.opencontainers.image.description | Capture camera images and present them to ROS. |
org.opencontainers.image.licenses | |
org.opencontainers.image.ref.name | ubuntu |
org.opencontainers.image.revision | 4a5506084a1a92f70c4e3cb16ade0658193084ed |
org.opencontainers.image.source | https://git.spirirobotics.com/Spiri/services-ros1-video_capture_opencv |
org.opencontainers.image.title | services-ros1-video_capture_opencv |
org.opencontainers.image.url | https://git.spirirobotics.com/Spiri/services-ros1-video_capture_opencv |
org.opencontainers.image.version | main |