|
QGroundControl
Ground Control Station for MAVLink Drones
|
The receiver configuration the application's settings binding supplies as values. More...
#include <GPSReceiverConnector.h>
Collaboration diagram for GPSReceiverConfiguration:Public Member Functions | |
| bool | operator== (const GPSReceiverConfiguration &) const =default |
| RTKSettings::ConnectionType | effectiveConnectionType () const |
| The connection this configuration uses; builds without serial links connect a serial selection over TCP. | |
| bool | sameConnection (const GPSReceiverConfiguration &other) const |
Public Attributes | |
| RTKSettings::ReceiverRole | receiverRole = RTKSettings::ConfiguredBase |
| Only a configured base is written to by QGroundControl. | |
| bool | forwardReceiverRtcm = true |
| A passive receiver's RTCM output becomes a correction source for vehicles. | |
| int | baseReceiverManufacturer = GPS_AUTOMATIC_MANUFACTURER |
| A GPSReceiverDescriptor manufacturer, or GPS_AUTOMATIC_MANUFACTURER to detect the family on every connect. | |
| RTKSettings::ConnectionType | connectionType = RTKSettings::Serial |
| QString | tcpHost |
| uint32_t | tcpPort = 0 |
| uint32_t | udpPort = 0 |
| QString | serialDevice |
| uint32_t | serialBaudRate = 0 |
| GPSBaseStationConfig | base |
| bool | autoConnect = true |
| Keep the saved receiver connected, or discover a configured base on USB when no device is saved. | |
The receiver configuration the application's settings binding supplies as values.
Definition at line 18 of file GPSReceiverConnector.h.
|
inline |
The connection this configuration uses; builds without serial links connect a serial selection over TCP.
Definition at line 38 of file GPSReceiverConnector.h.
References connectionType, RTKSettings::Serial, RTKSettings::Tcp, and RTKSettings::Udp.
Referenced by GPSReceiver::effectiveConnectionType().
|
default |
|
inline |
Selects the same receiver, connection, and base mode, which a pending retry and the flash-save permission were made for.
Definition at line 50 of file GPSReceiverConnector.h.
References base, baseReceiverManufacturer, connectionType, GPSBaseStationConfig::mode, receiverRole, serialBaudRate, serialDevice, tcpHost, tcpPort, and udpPort.
Referenced by GPSReceiverConnectionPolicy::configurationChanged(), and GPSReceiver::setConfiguration().
| bool GPSReceiverConfiguration::autoConnect = true |
Keep the saved receiver connected, or discover a configured base on USB when no device is saved.
Definition at line 34 of file GPSReceiverConnector.h.
Referenced by GPSReceiverConnectionPolicy::configurationChanged(), GPSReceiverConnectionPolicy::receiverReady(), and GPSReceiverConnectionPolicy::update().
| GPSBaseStationConfig GPSReceiverConfiguration::base |
Definition at line 32 of file GPSReceiverConnector.h.
Referenced by GPSReceiver::baseModeSupported(), and sameConnection().
| int GPSReceiverConfiguration::baseReceiverManufacturer = GPS_AUTOMATIC_MANUFACTURER |
A GPSReceiverDescriptor manufacturer, or GPS_AUTOMATIC_MANUFACTURER to detect the family on every connect.
Definition at line 25 of file GPSReceiverConnector.h.
Referenced by GPSReceiver::baseModeSupported(), GPSReceiver::canConnect(), GPSReceiver::connectReceiver(), and sameConnection().
| RTKSettings::ConnectionType GPSReceiverConfiguration::connectionType = RTKSettings::Serial |
Definition at line 26 of file GPSReceiverConnector.h.
Referenced by effectiveConnectionType(), and sameConnection().
| bool GPSReceiverConfiguration::forwardReceiverRtcm = true |
A passive receiver's RTCM output becomes a correction source for vehicles.
Definition at line 23 of file GPSReceiverConnector.h.
| RTKSettings::ReceiverRole GPSReceiverConfiguration::receiverRole = RTKSettings::ConfiguredBase |
Only a configured base is written to by QGroundControl.
Definition at line 21 of file GPSReceiverConnector.h.
Referenced by GPSReceiver::baseModeSupported(), GPSReceiver::canConnect(), GPSReceiver::connectionSupported(), GPSReceiver::connectReceiver(), and sameConnection().
| uint32_t GPSReceiverConfiguration::serialBaudRate = 0 |
Definition at line 31 of file GPSReceiverConnector.h.
Referenced by sameConnection().
| QString GPSReceiverConfiguration::serialDevice |
Definition at line 30 of file GPSReceiverConnector.h.
Referenced by sameConnection().
| QString GPSReceiverConfiguration::tcpHost |
Definition at line 27 of file GPSReceiverConnector.h.
Referenced by sameConnection().
| uint32_t GPSReceiverConfiguration::tcpPort = 0 |
Definition at line 28 of file GPSReceiverConnector.h.
Referenced by sameConnection().
| uint32_t GPSReceiverConfiguration::udpPort = 0 |
Definition at line 29 of file GPSReceiverConnector.h.
Referenced by sameConnection().