srv / avt_vimba_camera

ROS Driver for AVT cameras using VIMBA SDK
23 stars 93 forks source link

Can only get the grayscale image #43

Open yulan0215 opened 4 years ago

yulan0215 commented 4 years ago

When I launch the launch file and show in the RViz, the image is grayscale instead of RGB, can anyone give me an idea whether is it the driver problem or? Thanks

icolwell-as commented 4 years ago

Try running rqt_image_view, if the image shown there is RGB, then it's likely an RViz bug or something.

yulan0215 commented 4 years ago

Try running rqt_image_view, if the image shown there is RGB, then it's likely an RViz bug or something.

Actually I ran the avt_vimba_camera for melodic(it is another folder in Github),and my camera is Mono-camera, when I ran mono_camera_nodelet.launch in this path, it is grayscale image even if I ran ROSRUN_NAMESPACE=camera rosrun image_proc image_proc, it made no sense. Can u tell me what is the problem?