Request: Allow Auto-Connection for husarion-camera (shm and camera)

Hi guys,

I would like to request for the auto-connection for camera and shared-memory interfaces permissions for husarion-camera snap. This snap operates the ROS driver for a V4L2 camera (webcam). We need access to /dev/video* and this is why the snap requires the camera interface.

I would like to ask for:

1. 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, camera]
    slots: [shm-slot]
    extensions: [ros2-humble-ros-base]

  husarion-camera:
    command: usr/bin/launcher.sh
    command-chain: [usr/bin/check_daemon_running.sh, usr/bin/ros_setup.sh]
    plugs: [network, network-bind, shm-plug, camera]
    slots: [shm-slot]
    extensions: [ros2-humble-ros-base]

2. Auto-connection for both shm and camera interfaces:

sudo snap connect husarion-camera:camera
sudo snap connect husarion-camera:shm-plug husarion-camera:shm-slot 

Thank you again!

Dominik from Husarion

similarly to topics 1, 2 and 3, +1 for auto-connecting the requested interfaces.

1 Like

+1 from me as well for auto-connect of camera and shared-memory interfaces to husarion-camera snap.

2 votes for, 0 against. Granting auto-connect of camera and shared-memory interfaces to husarion-camera snap. This is now live.

Thanks.