sdrangel/plugins/feature/gs232controller
..
CMakeLists.txt
gs232controller.cpp
gs232controller.h
gs232controllergui.cpp
gs232controllergui.h
gs232controllergui.ui
gs232controllerplugin.cpp
gs232controllerplugin.h
gs232controllerreport.h
gs232controllersettings.cpp
gs232controllersettings.h
gs232controllerwebapiadapter.cpp
gs232controllerwebapiadapter.h
gs232controllerworker.cpp
gs232controllerworker.h
readme.md

readme.md

GS-232 Rotator Controller Feature Plugin

Introduction

The GS-232 Rotator Controller feature plugin allows SDRangel to send commands to GS-232 rotators. This allows SDRangel to point antennas mounted on a rotator to a specified azimuth and elevation.

Azimuth and elevation can be set manually by a user in the GUI, via the REST API, or via another plugin, such as the ADS-B Demodulator, which can track a selected aircraft.

Interface

File source channel plugin GUI

1: Start/Stop plugin

This button starts or stops the plugin. When the plugin is stopped, azimuth and elevation commands will not be sent to the GS-232 rotator.

2: Azimuth

Specifies the target azimuth (angle in degrees, clockwise from North) to point the antenna towards. Valid values range from 0 to 450 degrees. The value to the right of the target azimuth, is the current azimuth read from the GS-232 rotator.

3: Elevation

Specifies the target elevation (angle in degrees) to point the antenna towards. Valid values range from 0 to 180 degrees, where 0 and 180 point towards the horizon and 90 degrees to zenith. The value to the right of the target elevation, is the current elevation read from the GS-232 rotator.

4: Serial Port

Specifies the serial port (E.g. COM3 on Windows or /dev/ttyS0 on Linux) that will be used to send commands to the GS-232 rotator.

5: Baud rate

Specifies the baud rate that will be used to send commands to the GS-232 rotator. Typically this is 9600.

6: Track

When checked, the GS-232 Rotator Controller plugin will query the channel specified by the Device (8) and Channel (9) combo boxes for the target azimuth and elevation. For example, this allows an aircraft to be tracked, by setting the Device and Channel to correspond to the ADS-B Demodulator plugin.

7: Refresh list of devices and channels

Use this button to refresh the list of devices (8) and channels (9)

8: Select device set

Specify the SDRangel device set containing the channel plugin that will be asked for aziumth and elevation values. Defaults to R0.

9: Select channel

The channel index specifies the SDRangel channel that will be asked for azimuth and elevation values. Defaults to 0.

Developer Information

For a channel plugin to be able to set the azimuth and elevation, its channel report should contain targetAzimuth and targetElevation. See the ADS-B plugin as an example.