Skip to content

Commit

Permalink
Add control groups and prune adc symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed Jul 16, 2024
1 parent 2c45d20 commit 5941ea5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demo/compose.minimal-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ services:
- /dev/gpiochip0
- /dev/spiled-channel1
- /dev/spiled-channel2
device_cgroup_rules:
- 'c 189:* rmw' # USB devices
- 'c 254:0* rw' # gpiochip0
- 'c 153:* rmw' # spiled-channel1, spiled-channel2
volumes:
- /dev/adc0:/dev/adc0
- /dev/adc1:/dev/adc1
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
- /run/husarion/panther_config.env:/run/husarion/panther_config.env
- /run/husarion/panther_config.yaml:/run/husarion/panther_config.yaml
- /sys/bus/iio/devices:/sys/bus/iio/devices
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
# Realtime hardware (https://control.ros.org/master/doc/ros2_control/controller_manager/doc/userdoc.html#determinism)
ulimits:
rtprio:
Expand Down

0 comments on commit 5941ea5

Please sign in to comment.