Open nfs-chris opened 2 years ago
I'm having the same issue using ROS2 Humble on Ubuntu 22.04 in Docker. The node crashes after 4-5 hours of running (doing long-run tests) and I get an error saying MJPEG decode failed: -1
when using depth_mode of NFOV_UNBINNED and color_resolution of 2160p at a target framerate of 2160p. Any help from the Kinect team would be appreciated, thanks.
Here's a screenshot of the similar error I'm getting
I have been trying to get the driver running in Docker but it fails when I launch with additional params, e.g.:
roslaunch azure_kinect_ros_driver driver.launch fps:=30 depth_mode:=NFOV_UNBINNED rgb_point_cloud:=false
results in the following errors:
I have tried different combinations of environment variables (DISPLAY etc.) and I have previously managed to get it to run on Foxy with a different Dockerfile, but there the node randomly fails after some time (similar to https://github.com/microsoft/Azure_Kinect_ROS_Driver/issues/249) and the official answer was that 20.04 is not yet supported, so I would appreciate help to get it running properly under Melodic.
I am running this on a Linux machine (Ubuntu 20.04) with an NVIDIA GPU that I am passing in via the NVIDIA Container Toolkit.
Here is my Compose file:
and Dockerfile:
as well as the script to start the driver node:
Additionally, it would be great if body tracking could also be included. I am currently unsure if I still need additional dependencies or if setting
body_tracking_enabled:=true
is enough.Thank you