ros_kinfu icon indicating copy to clipboard operation
ros_kinfu copied to clipboard

Kinect for Azure Support

Open bumbastic opened this issue 4 years ago • 6 comments

Do you have any plans for supporting Kinect for Azure?

bumbastic avatar Jul 05 '20 07:07 bumbastic

I have never used Kinect for Azure. However, it looks like there is a ROS driver: https://github.com/microsoft/Azure_Kinect_ROS_Driver If the driver publishes standard rectified depth and camera_info topics, then it should be compatible.

Just start from one of the sample launch files and change the parameters depth_image_topic, camera_info_topic, depth_height and depth_width.

RMonica avatar Jul 07 '20 08:07 RMonica

Thanks for your answer. I'll attempt to set it up with a K4a.

bumbastic avatar Jul 07 '20 20:07 bumbastic

I attempted to build with catkin_make but got this error: nvcc fatal : Unsupported gpu architecture 'compute_30' CUDA 10.2 is installed

bumbastic avatar Jul 19 '20 07:07 bumbastic

You have to edit line 55 of ros_kinfu/kinfu/pcl_kinfu_large_scale/CMakeLists.txt Remove the unsupported compute capability 3.0 from the string: -gencode arch=compute_30,code=sm_30 Also, you may have to add the compute capability of your GPU if it's not already there. For example, if you have 7.0, add -gencode arch=compute_70,code=sm_70.

RMonica avatar Jul 20 '20 10:07 RMonica

@bumbastic were you ever successful in getting ros_kinfu to work with the k4a?

eric-schleicher avatar Mar 11 '21 18:03 eric-schleicher

Sorry, I never completed the setup. I use open3d now with out Ros.

bumbastic avatar Mar 11 '21 19:03 bumbastic