The Microsoft Kinect for Azure (k4a) is only supported officially for Ubuntu 18.04.
Here are instructions to install its library in a more recent OS:
# Download these two .deb files:
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.4-dev/libk4a1.4-dev_1.4.1_amd64.deb
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/libk/libk4a1.4/libk4a1.4_1.4.1_amd64.deb
# Install them:
sudo apt install ./*.deb
Create the rules.d file to allow opening the camera without "root" permissions:
- Download https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/scripts/99-k4a.rules
- Copy it into '/etc/udev/rules.d/'
Build the "humble" branch from https://github.com/microsoft/Azure_Kinect_ROS_Driver/tree/humble
Launch the ROS2 node with a launch file (fails?), or directly as:
./install/azure_kinect_ros_driver/bin/node \
--ros-args \
-p fps:=30 \
-p color_enabled:=true \
-p rgb_point_cloud:=true