FalkTannhaeuser / python-onvif-zeep

ONVIF Client Implementation in Python 2+3 (using https://github.com/mvantellingen/python-zeep instead of suds as SOAP client)
MIT License
424 stars 138 forks source link

Continuous move timeout #71

Open canozcivelek opened 3 years ago

canozcivelek commented 3 years ago

Hi, I've been working on an IP camera to access the zoom function. So I give the zoom function its velocity, and a timeout value, but the zoom operation doesn't stop within the given timeout. Instead it zooms in all the way to the end and vice versa. Any suggestions on how to use the timeout or the ptz.Stop() function?

Or when I run the continuous_move.py, I changed the move_downright() function to to look something like this: def move_downright(ptz, request): print ('move down right...') request.Velocity.Zoom.x = 0.05

request.Velocity.PanTilt.y = YMIN

do_move(ptz, request)

and when a give stop command, the zoom doesn't stop. What should I do to fix this?

Thanks!