From cad695fbf032205a3f305fae60402151c97fe3f7 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 08:58:33 +0100 Subject: [PATCH 1/7] update --- docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index cfce938..42b3b52 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -25,7 +25,7 @@ services: network_mode: host ipc: host # Needed to display graphical applications - privileged: true + #privileged: true environment: # Allows graphical programs in the container. - DISPLAY=${DISPLAY} @@ -140,6 +140,8 @@ services: extends: overlay command: > bash + devices: + - /dev/video0:/dev/video0 ################################################################################################################################ # This section is mostly for supervision from PC # From 1a02f89de87f62068b77420e3abd44003898c773 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 08:58:55 +0100 Subject: [PATCH 2/7] update --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 42b3b52..1e7b62d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -141,7 +141,7 @@ services: command: > bash devices: - - /dev/video0:/dev/video0 + - /dev/video*:/dev/video* ################################################################################################################################ # This section is mostly for supervision from PC # From 53dffaaf42defede26fc734fbaf1eb1f753bd3b6 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:39:04 +0100 Subject: [PATCH 3/7] update --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 1e7b62d..0008698 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -141,7 +141,7 @@ services: command: > bash devices: - - /dev/video*:/dev/video* + - /dev/:/dev/ ################################################################################################################################ # This section is mostly for supervision from PC # From 8bb6ab4da8803f2318f512f6a9d4d15f09127774 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 10:40:15 +0100 Subject: [PATCH 4/7] update --- docker-compose.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 0008698..9026e41 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -140,8 +140,9 @@ services: extends: overlay command: > bash - devices: - - /dev/:/dev/ + privileged: true + #devices: + # - /dev/:/dev/ ################################################################################################################################ # This section is mostly for supervision from PC # From c872b3bec0fd9ef3fa55fbd78fa273499160985c Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:51:51 +0100 Subject: [PATCH 5/7] update --- overlay.repos | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/overlay.repos b/overlay.repos index 6d4440b..4aaa9bf 100644 --- a/overlay.repos +++ b/overlay.repos @@ -5,6 +5,11 @@ repositories: url: https://github.com/bjoernellens1/ros2_cam_openCV.git version: main + cam_ffmpeg: + type: git + url: https://github.com/ros-misc-utilities/ffmpeg_image_transport + version: master + cps_loki_description: type: git url: https://github.com/bjoernellens1/cps_loki_description From 65283dfc01e2b3f66fc0db593cebdf9a489da9c6 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:53:28 +0100 Subject: [PATCH 6/7] update --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 9026e41..251bc85 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -139,7 +139,7 @@ services: cam: extends: overlay command: > - bash + ros2 launch ffmpeg_image_transport cam.launch.py privileged: true #devices: # - /dev/:/dev/ From 757cba7c13a6d4676ebb14bfb82d05b753c5c767 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:53:46 +0100 Subject: [PATCH 7/7] update --- docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 251bc85..3d73998 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -141,8 +141,8 @@ services: command: > ros2 launch ffmpeg_image_transport cam.launch.py privileged: true - #devices: - # - /dev/:/dev/ + devices: + - /dev/dri:/dev/dri ################################################################################################################################ # This section is mostly for supervision from PC #