Skip to main content
Skip table of contents

LaserController

Last updated: 2025/3/7 10:57:1

Path To

Name

Description/Function

/api/laser

/ison

Gets a value indicating whether the cameras lasers are on.

/api/laser

/isinverted

Gets a value indicating whether the cameras lasers are inverted.

/api/laser

/invert/{val}

Invert laser controls.

/api/laser

/isattached

Gets a value indicating whether the camera has lasers.

/api/laser

/off

Turn the lasers off.

/api/laser

/on

Turn the lasers on.

/ison

Function

Gets a value indicating whether the cameras lasers are on.

Method

Get

Response

True if the Rayfin lasers are on.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/ison

/isinverted

Function

Gets a value indicating whether the cameras lasers are inverted.

Method

Get

Response

True if the Rayfin lasers are on.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/isinverted

/invert/{val}

Function

Invert laser controls.

Method

Get

Response

True or false.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/invert/{val}

/isattached

Function

Gets a value indicating whether the camera has lasers.

Method

Get

Response

True if the Rayfin has lasers.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/isattached

/off

Function

Turn the lasers off.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/off

/on

Function

Turn the lasers on.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/laser/on
JavaScript errors detected

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

If this problem persists, please contact our support.