2020-10-27 18:13:08 -04:00
|
|
|
GS232ControllerSettings:
|
|
|
|
description: "GS-232 Controller settings"
|
|
|
|
properties:
|
|
|
|
azimuth:
|
|
|
|
description: Target azimuth in degrees (0-450)
|
2021-06-14 15:26:36 -04:00
|
|
|
type: number
|
|
|
|
format: float
|
2020-10-27 18:13:08 -04:00
|
|
|
elevation:
|
|
|
|
description: Target elevation in degrees (0-180)
|
2021-06-14 15:26:36 -04:00
|
|
|
type: number
|
|
|
|
format: float
|
2020-10-27 18:13:08 -04:00
|
|
|
serialPort:
|
|
|
|
description: The serial port the GS-232 controller is connected to
|
|
|
|
type: string
|
|
|
|
baudRate:
|
|
|
|
description: The baud rate to use for the serial connection to the GS-232 controller
|
|
|
|
type: integer
|
2021-11-24 00:36:37 -05:00
|
|
|
host:
|
|
|
|
description: Hostname / IP address of computer running rotctld.
|
|
|
|
type: string
|
|
|
|
port:
|
|
|
|
description: TCP port number rotctld is listening on.
|
|
|
|
type: integer
|
2020-10-27 18:13:08 -04:00
|
|
|
track:
|
2021-01-13 15:56:45 -05:00
|
|
|
description: Track a target where azimuth and elevation are determined by another plugin (1 for yes, 0 for no)
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
2021-10-03 17:15:15 -04:00
|
|
|
source:
|
|
|
|
description: "Identifier of the channel or feature plugin providing azimuth and elevation (E.g. R0:0 ADSBDemod)"
|
2020-10-27 18:13:08 -04:00
|
|
|
type: string
|
2021-01-13 15:56:45 -05:00
|
|
|
azimuthOffset:
|
|
|
|
description: Azimuth offset in degrees
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
2021-01-13 15:56:45 -05:00
|
|
|
elevationOffset:
|
|
|
|
description: Elevation offset in degrees
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
2021-03-01 04:51:24 -05:00
|
|
|
azimuthMin:
|
|
|
|
description: Minimum azimuth the controller will output
|
|
|
|
type: integer
|
|
|
|
azimuthMax:
|
|
|
|
description: Maximum azimuth the controller will output
|
|
|
|
type: integer
|
|
|
|
elevationMin:
|
|
|
|
description: Minimum elevation the controller will output
|
|
|
|
type: integer
|
|
|
|
elevationMax:
|
|
|
|
description: Maximum elevation the controller will output
|
|
|
|
type: integer
|
2021-06-14 15:26:36 -04:00
|
|
|
tolerance:
|
|
|
|
description: Tolerance in degrees
|
2021-10-12 16:30:43 -04:00
|
|
|
type: number
|
|
|
|
format: float
|
2021-06-14 15:26:36 -04:00
|
|
|
protocol:
|
|
|
|
description: (0 GS-232, 1 SPID rot2prog)
|
|
|
|
type: integer
|
2021-01-13 15:56:45 -05:00
|
|
|
title:
|
|
|
|
type: string
|
|
|
|
rgbColor:
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
|
|
|
useReverseAPI:
|
|
|
|
description: Synchronize with reverse API (1 for yes, 0 for no)
|
|
|
|
type: integer
|
|
|
|
reverseAPIAddress:
|
|
|
|
type: string
|
|
|
|
reverseAPIPort:
|
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureSetIndex:
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
2021-09-16 18:52:08 -04:00
|
|
|
reverseAPIFeatureIndex:
|
2020-10-27 18:13:08 -04:00
|
|
|
type: integer
|
2022-01-08 23:27:12 -05:00
|
|
|
rollupState:
|
|
|
|
$ref: "/doc/swagger/include/RollupState.yaml#/RollupState"
|
2021-10-03 17:15:15 -04:00
|
|
|
|
|
|
|
GS232ControllerReport:
|
|
|
|
description: "GS-232 Controller report"
|
|
|
|
properties:
|
2021-10-23 15:24:25 -04:00
|
|
|
runningState:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Running state
|
|
|
|
* 0 - not started
|
|
|
|
* 1 - idle
|
|
|
|
* 2 - running
|
|
|
|
* 3 - error
|
2021-10-03 17:15:15 -04:00
|
|
|
sources:
|
|
|
|
description: Names of pipe sources
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2021-10-03 20:11:27 -04:00
|
|
|
serialPorts:
|
|
|
|
description: Available serial ports
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2021-10-12 16:30:43 -04:00
|
|
|
targetAzimuth:
|
|
|
|
desription: "Target azimuth in degrees (0-450)"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
targetElevation:
|
|
|
|
description: "Target elevation in degrees (0-180)"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
currentAzimuth:
|
|
|
|
desription: "Current azimuth in degrees (0-450)"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
currentElevation:
|
|
|
|
description: "Current elevation in degrees (0-180)"
|
|
|
|
type: number
|
|
|
|
format: float
|
|
|
|
onTarget:
|
|
|
|
description: "Indicates whether the rotator is pointing at the current target within the set tolerance"
|
|
|
|
type: integer
|
2021-10-21 20:01:33 -04:00
|
|
|
|
|
|
|
GS232ControllerActions:
|
|
|
|
description: "GS-232 Controller actions"
|
|
|
|
properties:
|
|
|
|
run:
|
|
|
|
type: integer
|
|
|
|
description: >
|
|
|
|
Set the plugin running state
|
|
|
|
* 0 - idle
|
|
|
|
* 1 - run
|