Skip to main content
Skip table of contents

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
$ curl http://IP_ADDRESS:8080>/api/pantilt/disableendstops

/pan/left

Function

Activates a pan left action.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/pan/left

/pan/right

Function

Activates a pan right action.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/pan/right

/pan/left/{speed}

Function

Activates a pan left action with speed.

Method

Get

Response

Left speed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/pan/left/{speed}

/pan/right/{speed}

Function

Activates a pan right action with speed.

Method

Get

Response

Right speed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/pan/right/{speed}

/pan/to/{degrees}

Function

Activates a pan right action.

Method

Get

Response

Angle to pan to.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/pan/to/{degrees}

/move/{panspeed}/{tiltspeed}

Function

Activates a pan right action.

Method

Get

Response

Speed to tilt to.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/move/{panspeed}/{tiltspeed}

/stop

Function

Stops all continuous PT actions.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/stop

/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
$ curl http://IP_ADDRESS:8080>/api/pantilt/tilt/down/

/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
$ curl http://IP_ADDRESS:8080>/api/pantilt/tilt/up

/tilt/down/{speed}

Function

Activates a tilt down action and specifies the speed.

Method

Get

Response

Down speed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/tilt/down/{speed}

/tilt/up/{speed}

Function

Activates a tilt up action and specifies the speed.

Method

Get

Response

Up speed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/tilt/up/{speed}

/tilt/to/{degrees}

Function

Activates a tilt right action.

Method

Get

Response

Angle to tilt to.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/tilt/to/{degrees}

/go/to/{location}

Function

Activates a tilt right action.

Method

Get

Response

Location to tilt to.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/go/to/{location}

/state

Function

Activates a tilt up action and specifies the speed.

Method

Get

Response

A dictionary of values.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/pantilt/state
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.