From: Rich M. <jp...@gm...> - 2013-08-22 23:39:20
|
On 08/22/2013 11:37 AM, jem35 wrote: > Hello ! > > I'm controlling a ptz Camera with Player using the ptzProxy. > I want to do a speed controlling. I succeed to control the pan and the tilt > in speed but i can't do it with the zoom. > For the moment, I can only control the zoom in Position. > > My code is something like that : > > ptz->SelectControlMode(PLAYER_PTZ_VELOCITY_CONTROL); > ptz->SetSpeed(val1, val2, val3); > > Is there anything that I'm doing wrong ? Is there min-max value ? > > Thank you. > > You're probably not doing anything wrong, it depends on the driver you're using. Player drivers don't usually implement all of the functionality exposed by the interfaces. It might be the case that the driver simply doesn't handle changing zoom with a velocity control, and only takes absolute positions. If the driver isn't documented, you'll have to look at the code to be sure. Rich |