|
|
|
@ -80,9 +80,8 @@ void QGCRemoteControlView::setUASId(int id)
@@ -80,9 +80,8 @@ void QGCRemoteControlView::setUASId(int id)
|
|
|
|
|
// The UAS exists, disconnect any existing connections
|
|
|
|
|
disconnect(uas, SIGNAL(remoteControlChannelRawChanged(int,float,float)), this, SLOT(setChannel(int,float,float))); |
|
|
|
|
disconnect(uas, SIGNAL(remoteControlRSSIChanged(float)), this, SLOT(setRemoteRSSI(float))); |
|
|
|
|
disconnect(uas, SIGNAL(radioCalibrationRawReceived(const QPointer<RadioCalibrationData>)), calibrationWindow, SLOT(receive(const QPointer<RadioCalibrationData>&))); |
|
|
|
|
disconnect(uas, SIGNAL(remoteControlChannelRawChanged(int,float)), calibrationWindow, SLOT(setChannelRaw(int,float))); |
|
|
|
|
disconnect(uas, SIGNAL(remoteControlChannelScaledChanged(int,float,float)), calibrationWindow, SLOT(setChannelScaled(int,float))); |
|
|
|
|
disconnect(uas, SIGNAL(radioCalibrationRawReceived(const QPointer<RadioCalibrationData>&)), calibrationWindow, SLOT(receive(const QPointer<RadioCalibrationData>&))); |
|
|
|
|
disconnect(uas, SIGNAL(remoteControlChannelRawChanged(int,float)), calibrationWindow, SLOT(setChannel(int,float))); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -97,6 +96,9 @@ void QGCRemoteControlView::setUASId(int id)
@@ -97,6 +96,9 @@ void QGCRemoteControlView::setUASId(int id)
|
|
|
|
|
connect(newUAS, SIGNAL(remoteControlRSSIChanged(float)), this, SLOT(setRemoteRSSI(float))); |
|
|
|
|
connect(newUAS, SIGNAL(remoteControlChannelRawChanged(int,float)), this, SLOT(setChannelRaw(int,float))); |
|
|
|
|
connect(newUAS, SIGNAL(remoteControlChannelScaledChanged(int,float)), this, SLOT(setChannelScaled(int,float))); |
|
|
|
|
|
|
|
|
|
// only connect raw channels to calibration window widget
|
|
|
|
|
connect(newUAS, SIGNAL(remoteControlChannelRawChanged(int,float)), calibrationWindow, SLOT(setChannel(int,float))); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|