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?
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
and when a give stop command, the zoom doesn't stop. What should I do to fix this?
Thanks!