From: Ezequiel A. Q. B. <equ...@in...> - 2010-02-19 15:00:10
|
Hi Player/Stage list! [I'm working with a 'Logitech Quickcam Sphere AF', using 'Player 3.0.1' on 'Ubuntu 9.04'. C++] Thanks for all the help Paul!! I'm using 'camerauvc' for the camera operations and 'sphereptz' for the 'ptz' operations. The drivers seems to load correctly. I've been able to capture images from the camera but I'm not being able to move it... When I try to make this control code work: > client.Read(); > double p = ptz.GetPan(); double t = ptz.GetTilt(); double z = ptz.GetZoom(); > printf("p=%f, t=%f, z=%f \n", p,t,z); > ptz.SetCam(0.0, 30.0, 0.0); sleep(1); > client.Read(); t = ptz.GetTilt(); > printf("t=%f \n", t); I get this error messages from the Player server: > CameraUvc: Driver initialising > warning : opening /dev/video0 > warning : V4L2_CAP_READWRITE check failed (ignored) > error : VIDIOC_S_EXT_CTRLS failed on V4L2_CID_PAN_RESET_NEW > error : Driver failed to Setup (-1) > CameraUvc: Driver initialisation done > error : StopThread called when state != running or restarting (0) > closing TCP connection to client 0 on port 6665 And the 'tilt' value does not change. I get this on console: > p=0.000000, t=0.000000, z=0.000000 t=0.000000 I'm not sure of what does 'V4L2_CAP_READWRITE check failed' means... Do you have any idea of what is wrong? and what can I do to solve it? Greetings! |