Add requirement file, docs, updates to complete PTZ
This commit is contained in:
18
api/ptz.py
18
api/ptz.py
@@ -40,7 +40,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_set_preset('PtzPreset', enable=0, preset=preset, name=name)
|
||||
|
||||
def move_right(self, speed=32):
|
||||
def move_right(self, speed=25):
|
||||
"""
|
||||
Move the camera to the right
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -48,7 +48,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('Right', speed=speed)
|
||||
|
||||
def move_right_up(self, speed=32):
|
||||
def move_right_up(self, speed=25):
|
||||
"""
|
||||
Move the camera to the right and up
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -56,7 +56,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('RightUp', speed=speed)
|
||||
|
||||
def move_right_down(self, speed=32):
|
||||
def move_right_down(self, speed=25):
|
||||
"""
|
||||
Move the camera to the right and down
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -64,7 +64,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('RightDown', speed=speed)
|
||||
|
||||
def move_left(self, speed=32):
|
||||
def move_left(self, speed=25):
|
||||
"""
|
||||
Move the camera to the left
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -72,7 +72,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('Left', speed=speed)
|
||||
|
||||
def move_left_up(self, speed=32):
|
||||
def move_left_up(self, speed=25):
|
||||
"""
|
||||
Move the camera to the left and up
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -80,7 +80,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('LeftUp', speed=speed)
|
||||
|
||||
def move_left_down(self, speed=32):
|
||||
def move_left_down(self, speed=25):
|
||||
"""
|
||||
Move the camera to the left and down
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -88,7 +88,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('LeftDown', speed=speed)
|
||||
|
||||
def move_up(self, speed=32):
|
||||
def move_up(self, speed=25):
|
||||
"""
|
||||
Move the camera up.
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -96,7 +96,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_operation('Up', speed=speed)
|
||||
|
||||
def move_down(self, speed=32):
|
||||
def move_down(self, speed=25):
|
||||
"""
|
||||
Move the camera down.
|
||||
The camera moves self.stop_ptz() is called.
|
||||
@@ -111,7 +111,7 @@ class PtzAPIMixin:
|
||||
"""
|
||||
return self._send_noparm_operation('Stop')
|
||||
|
||||
def auto_movement(self, speed=32):
|
||||
def auto_movement(self, speed=25):
|
||||
"""
|
||||
Move the camera in a clockwise rotation.
|
||||
The camera moves self.stop_ptz() is called.
|
||||
|
||||
Reference in New Issue
Block a user