fix zoom in/out drift
This commit is contained in:
parent
ab7943f6a7
commit
ab3d8f244e
|
@ -83,8 +83,8 @@ class Camera:
|
||||||
RIGHT_UP = {'pan': 1, 'tilt': 1, 'zoom': 0}
|
RIGHT_UP = {'pan': 1, 'tilt': 1, 'zoom': 0}
|
||||||
RIGHT_DOWN = {'pan': 1, 'tilt': -1, 'zoom': 0}
|
RIGHT_DOWN = {'pan': 1, 'tilt': -1, 'zoom': 0}
|
||||||
|
|
||||||
IN = {'pan': 1, 'tilt': 0, 'zoom': 1}
|
IN = {'pan': 0, 'tilt': 0, 'zoom': 1}
|
||||||
OUT = {'pan': 1, 'tilt': 0, 'zoom': -1}
|
OUT = {'pan': 0, 'tilt': 0, 'zoom': -1}
|
||||||
|
|
||||||
abort = False
|
abort = False
|
||||||
sequence_time = 0
|
sequence_time = 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user