error setting pixformat [closed]
Regards.
I'm using Roscpp + opencv (Ros-Hydro), which have connected my webcam via USB port and when you want to perform the capture of images of the camera gives me the following errors
- libv4l2: error setting pixformat: Device or resource busy
- HIGHGUI ERROR: unable to ioctl libv4l S_FMT
- libv4l2: error setting pixformat: Device or resource busy
- libv4l1: error setting pixformat: Device or resource busy
- libv4l2: error setting pixformat: Device or resource busy
- libv4l1: error setting pixformat: Device or resource busy
- HIGHGUI ERROR: unable to ioctl libv4l VIDIOCSPICT
code_sistema_visual: /home/user/catkin_ws/src/beginner_tutorials/src/code_sistema_visual.cpp:173: int main(int, char): Assertion `cam' failed. Aborted (core dumped)
Not if someone could give me some solution to the problem.