Add image and streaming from USB camera

Plus a little freshen up of the readme's
This commit is contained in:
2026-05-07 16:38:36 +00:00
parent 59a019ed7b
commit ef78f19e72
18 changed files with 1080 additions and 327 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM ros:kilted-ros-core
RUN apt-get update && apt-get install -y --no-install-recommends \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good \
python3-gi \
gir1.2-gstreamer-1.0 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY camera_publisher.py .
COPY entrypoint.sh .
RUN chmod +x entrypoint.sh
ENV VIDEO_DEVICE=/dev/video0
ENV WIDTH=640
ENV HEIGHT=480
ENV FPS=30
ENV CAMERA_FORMAT=raw
ENV CAMERA_NAMESPACE=/camera
ENTRYPOINT ["./entrypoint.sh"]