@ipa-nhg
To connect hardware with docker container, we also need to assign hardware port to docker container, e.g.
docker run --rm -it --device=/dev/input/js1 --device=/dev/jackal rachelwu/agriculture_demo_sprint2:agriculture_demo_sprint2
Some of ports are also assigned in launch file, e.g.
<arg name="joy_dev" default="$(optenv JACKAL_JOY_DEVICE /dev/input/ps4)" />
I propose to generate a docker-compose file also for rossystem(without ComponentStack). So we can assign a port like:
devices:
- "/dev/input/js1:/dev/input/js1"
But there is an issue: how can I get this information from model level?
@ipa-nhg
To connect hardware with docker container, we also need to assign hardware port to docker container, e.g.
docker run --rm -it --device=/dev/input/js1 --device=/dev/jackal rachelwu/agriculture_demo_sprint2:agriculture_demo_sprint2Some of ports are also assigned in launch file, e.g.
<arg name="joy_dev" default="$(optenv JACKAL_JOY_DEVICE /dev/input/ps4)" />I propose to generate a docker-compose file also for rossystem(without ComponentStack). So we can assign a port like:
But there is an issue: how can I get this information from model level?