Skip to content

Commit cc40751

Browse files
authored
Merge pull request #8 from helloric/adjustments-for-udev-rule
adjusted to udev rule and some minor fixes
2 parents c8b1b33 + 22d63d4 commit cc40751

6 files changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/build_and_push_docker_images.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Create and publish a Docker image
44
# Configures this workflow to run every time a change is pushed to the branch called `release`.
55
on:
66
push:
7-
branches: ['main', '3-build-pipeline-to-push-images-into-gh-container-registry']
7+
branches: ['main']
88

99
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
1010
env:

compose.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
services:
22
ricbot:
33
restart: always
4+
network_mode: host
45
platform: "linux/arm64"
56
# just the basic robot (headless, runs drivers, publishes description)
67
build:
@@ -19,8 +20,8 @@ services:
1920
devices:
2021
# USB devices to connect to kobuki and Lidar
2122
- /dev/bus/usb/:/dev/bus/usb/
22-
- /dev/ttyUSB0:/dev/ttyUSB0
23-
- /dev/ttyUSB1:/dev/ttyUSB1
23+
- /dev/kobuki:/dev/kobuki
24+
- /dev/lidar:/dev/lidar
2425

2526
ui:
2627
restart: always
@@ -36,6 +37,7 @@ services:
3637

3738
ui_com:
3839
restart: always
40+
network_mode: host
3941
platform: "linux/arm64"
4042
image: ghcr.io/helloric/helloric_ui_com:latest
4143
build:
@@ -49,6 +51,7 @@ services:
4951
- 7000:7000
5052

5153
teleop:
54+
network_mode: host
5255
platform: "linux/arm64"
5356
build:
5457
context: ./
@@ -60,6 +63,7 @@ services:
6063
image: ghcr.io/helloric/teleop:latest
6164

6265
ds4:
66+
network_mode: host
6367
platform: "linux/arm64"
6468
build:
6569
context: ./

helloric_ui_com

svelte-ui

0 commit comments

Comments
 (0)