PanTiltController
Last updated: 2025/3/7 11:48:0 | ||
Path To | Name | Description/Function |
/api/pantilt | /disableendstops | Disable end stops wen gets stuck. |
/api/pantilt | /pan/left | Activates a pan left action. |
/api/pantilt | /pan/right | Activates a pan right action. |
/api/pantilt | /pan/left/{speed} | Activates a pan left action with speed. |
/api/pantilt | /pan/right/{speed} | Activates a pan right action with speed. |
/api/pantilt | /pan/to/{degrees} | Activates a pan right action. |
/api/pantilt | /move/{panspeed}/{tiltspeed} | Activates a pan right action. |
/api/pantilt | /stop | Stops all continuous PT actions. |
/api/pantilt | /tilt/down/ | Activates a tilt down action and specifies the speed. |
/api/pantilt | /tilt/up | Activates a tilt up action and specifies the speed. |
/api/pantilt | /tilt/down/{speed} | Activates a tilt down action and specifies the speed. |
/api/pantilt | /tilt/up/{speed} | Activates a tilt up action and specifies the speed. |
/api/pantilt | /tilt/to/{degrees} | Activates a tilt right action. |
/api/pantilt | /go/to/{location} | Activates a tilt right action. |
/api/pantilt | /state | Activates a tilt up action and specifies the speed. |
/disableendstops
Function | Disable end stops wen gets stuck. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/pan/left
Function | Activates a pan left action. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/pan/right
Function | Activates a pan right action. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/pan/left/{speed}
Function | Activates a pan left action with speed. |
---|---|
Method | Get |
Response | Left speed. |
Example |
CODE
|
/pan/right/{speed}
Function | Activates a pan right action with speed. |
---|---|
Method | Get |
Response | Right speed. |
Example |
CODE
|
/pan/to/{degrees}
Function | Activates a pan right action. |
---|---|
Method | Get |
Response | Angle to pan to. |
Example |
CODE
|
/move/{panspeed}/{tiltspeed}
Function | Activates a pan right action. |
---|---|
Method | Get |
Response | Speed to tilt to. |
Example |
CODE
|
/stop
Function | Stops all continuous PT actions. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/tilt/down/
Function | Activates a tilt down action and specifies the speed. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/tilt/up
Function | Activates a tilt up action and specifies the speed. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/tilt/down/{speed}
Function | Activates a tilt down action and specifies the speed. |
---|---|
Method | Get |
Response | Down speed. |
Example |
CODE
|
/tilt/up/{speed}
Function | Activates a tilt up action and specifies the speed. |
---|---|
Method | Get |
Response | Up speed. |
Example |
CODE
|
/tilt/to/{degrees}
Function | Activates a tilt right action. |
---|---|
Method | Get |
Response | Angle to tilt to. |
Example |
CODE
|
/go/to/{location}
Function | Activates a tilt right action. |
---|---|
Method | Get |
Response | Location to tilt to. |
Example |
CODE
|
/state
Function | Activates a tilt up action and specifies the speed. |
---|---|
Method | Get |
Response | A dictionary of values. |
Example |
CODE
|