Re: ptzProxy setSpeed problem
Fred Labrosse <[email protected]> Fri, 23 Aug 2013 09:04:19 +0100
| Newsgroups | gmane.science.robotics.playerstage |
|---|---|
| Organization | Aberystwyth University |
| Message-ID | <1668088.SlSMYA16iB@pc2ffl> |
On Thursday 22 August 2013 19:39:08 Rich Mattes wrote: > 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. The driver in question is the sonyevid30. I just had a look and there are no functions to set/get zoom speed. I wonder if this is a limitation of the cameras/VISCA protocol. Something to look into I guess. Fred > > Rich > > ---------------------------------------------------------------------------- > -- Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Playerstage-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-developers ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk