lagadic / vision_visp

ViSP stack for ROS
http://wiki.ros.org/vision_visp
GNU General Public License v2.0
184 stars 90 forks source link

Intel RealSense D435i with ROS package 'visp_auto_tracker': Pixel formats error !!! #105

Closed datvtmkac closed 4 years ago

datvtmkac commented 4 years ago

Hi everyone,

I'm currently working with ROS package 'visp_auto_tracker' for tracking QR Code, this packge is really useful for me. I have done testing this pkg with some USB-Webcam (2D Logitech C270) and it worked really well. I've tried to use a different high quality camera, especially the Intel RealSense D435i for this stuff but I got these following issues:

  1. These are logs: unknown control 'white_balance_temperature_auto'; 'focus_auto' in terminal console
  2. Issue with Pixel formats of the D435i camera

I tried to fix it this by changing the node config in "tracklive_usb.launch" file. For usb camera acquisition node, I changed all available type of "pixel_format" parameter in this package but I expected RGB image mode did not come. Following the "usb_cam" node, there are 6 types of value available: 'yuyv', 'uyvy', 'mjpeg', 'yuvmono10', 'rgb24' and 'grey'.

Below here is content of "tracklive_usb.launch" file: visp_error_4

And here are my following issues, I grab it in screenshots, sorry for this inconvenient: visp_error_3 visp_error_2

This image show RGB-Depth mode read, in RGB24 mode I got error, could not launch the camera and in Grey mode the color actually not right too. visp_error

So, I think my issues are about pixel formats of this Intel D435i camera, but I haven't solved it yet by myself. I hope you guys can give me a hand! Any help are very much appreciated!

Thanks, datvt.

datvtmkac commented 4 years ago

I solved it. My mistake, sorry! I just used depth module instead RGB module. Now everything is fine!

Gowresh-MARC commented 3 years ago

Can you please share your launch file to use auto_tracker with D435i? I am trying to do the same, but not able to successfully.