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
|
/isinverted
Function | Gets a value indicating whether the cameras lasers are inverted. |
---|---|
Method | Get |
Response | True if the Rayfin lasers are on. |
Example |
CODE
|
/invert/{val}
Function | Invert laser controls. |
---|---|
Method | Get |
Response | True or false. |
Example |
CODE
|
/isattached
Function | Gets a value indicating whether the camera has lasers. |
---|---|
Method | Get |
Response | True if the Rayfin has lasers. |
Example |
CODE
|
/off
Function | Turn the lasers off. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|
/on
Function | Turn the lasers on. |
---|---|
Method | Get |
Response | Status code 200, for an completed operation being preformed. |
Example |
CODE
|