2.2. Registration script (required)
To allow the Orbbec cameras to be recognized correctly on Linux, install the udev rules:
cd ~/ros2_ws/src/OrbbecSDK_ROS2/orbbec_camera/scripts
sudo bash install_udev_rules.sh
sudo udevadm control --reload-rules && sudo udevadm trigger
This step is mandatory for Linux users.
Notes: If this script is not executed, open the device will fail due to permission issues. You need to run the sample with sudo (administrator privileges).