Hi,
Recently, the rosbot-xl snap was granted auto-connection for raw-usb and shared-memory interfaces (see snapcraft forum thread). Today, I am requesting the same permissions for another snap: husarion-rplidar. This snap operates the ROS driver for a camera connected via USB, necessitating the raw-usb interface.
I have two requests:
-
A “human review” for shm-slot.
That’s 1:1 the same “shm design pattern” as previously granted for
rosbot-xl
snap:slots: shm-slot: interface: shared-memory write: ['*'] # paths are relative to /dev/shm plugs: shm-plug: interface: shared-memory shared-memory: shm-slot private: false apps: daemon: command: usr/bin/launcher.sh command-chain: [usr/bin/ros_setup.sh] daemon: simple install-mode: enable plugs: [network, network-bind, shm-plug, raw-usb] slots: [shm-slot] extensions: [ros2-humble-ros-base]
-
Auto-connection for both shm and raw-usb interfaces:
sudo snap connect husarion-rplidar:raw-usb sudo snap connect husarion-rplidar:shm-plug husarion-rplidar:shm-slot
Thank you!
Dominik from Husarion