This commit is contained in:
2021-10-28 13:02:11 -04:00
10 changed files with 332 additions and 88 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
################################################################################ ################################################################################
## Form generated from reading UI file 'mainwindow.ui' ## Form generated from reading UI file ''
## ##
## Created by: Qt User Interface Compiler version 5.15.2 ## Created by: Qt User Interface Compiler version 5.15.2
## ##
@ -129,6 +129,12 @@ class Ui_MainWindow(object):
self.viewSatellites = QGraphicsView(self.centralwidget) self.viewSatellites = QGraphicsView(self.centralwidget)
self.viewSatellites.setObjectName(u"viewSatellites") self.viewSatellites.setObjectName(u"viewSatellites")
self.viewSatellites.setGeometry(QRect(450, 10, 280, 280)) self.viewSatellites.setGeometry(QRect(450, 10, 280, 280))
brush = QBrush(QColor(0, 0, 0, 255))
brush.setStyle(Qt.NoBrush)
self.viewSatellites.setBackgroundBrush(brush)
brush1 = QBrush(QColor(255, 255, 255, 255))
brush1.setStyle(Qt.NoBrush)
self.viewSatellites.setForegroundBrush(brush1)
self.label_14 = QLabel(self.centralwidget) self.label_14 = QLabel(self.centralwidget)
self.label_14.setObjectName(u"label_14") self.label_14.setObjectName(u"label_14")
self.label_14.setGeometry(QRect(10, 10, 221, 16)) self.label_14.setGeometry(QRect(10, 10, 221, 16))

View File

@ -1,3 +1,3 @@
MainWindow.py : mainwindow.ui MainWindow.py : mainwindow.ui
pyside2-uic $< -o $@ pyside2-uic -o $@ $<

View File

@ -41,6 +41,7 @@ fix_mode = [
'0=None', '1=No', '2=2D', '3=3D' '0=None', '1=No', '2=2D', '3=3D'
]; ];
config_file = "gps_tool.yaml"
gpsd_host="127.0.0.1" gpsd_host="127.0.0.1"
gpsd_report = () gpsd_report = ()
@ -98,7 +99,7 @@ class QtGPSWindow(MainWindow):
self.gpx_track.segments.append(self.gpx_segment) self.gpx_track.segments.append(self.gpx_segment)
self.log_enabled = 0 self.log_enabled = 0
self.dirname = "" self.dirname = "."
self.num_points = 0 self.num_points = 0
self.my_thread = DataThread() self.my_thread = DataThread()
@ -111,6 +112,7 @@ class QtGPSWindow(MainWindow):
self.yellow = QColor(255,211,0) self.yellow = QColor(255,211,0)
self.green = QColor(0,255,0) self.green = QColor(0,255,0)
self.blue = QColor(0,0,255) self.blue = QColor(0,0,255)
self.white = QColor(255,255,255)
self.scene = QtWidgets.QGraphicsScene() self.scene = QtWidgets.QGraphicsScene()
self.viewSatellites.setScene(self.scene) self.viewSatellites.setScene(self.scene)
@ -154,7 +156,8 @@ class QtGPSWindow(MainWindow):
satellites = getattr(report, 'satellites') satellites = getattr(report, 'satellites')
txt = "%4s %4s %4s %3s %1s" % ('PRN', 'Azim', 'Elev', 'SNR', 'Used') txt = "%4s %4s %4s %3s %1s" % ('PRN', 'Azim', 'Elev', 'SNR', 'Used')
self.txtSatellites.setTextColor(self.black) self.txtSatellites.setStyleSheet("background-color: rgb(0, 0, 0)")
self.txtSatellites.setTextColor(self.white)
self.txtSatellites.setFontWeight(QFont.Bold) self.txtSatellites.setFontWeight(QFont.Bold)
self.txtSatellites.setText(txt) self.txtSatellites.setText(txt)
@ -225,6 +228,7 @@ class QtGPSWindow(MainWindow):
polar.set_theta_zero_location('N', offset=0) polar.set_theta_zero_location('N', offset=0)
canvas = FigureCanvas(figure) canvas = FigureCanvas(figure)
self.scene.clear()
self.scene.addWidget(canvas) self.scene.addWidget(canvas)
h = float(self.scene.height()) / 2.0 h = float(self.scene.height()) / 2.0
w = float(self.scene.width()) / 2.0 w = float(self.scene.width()) / 2.0
@ -236,7 +240,7 @@ class QtGPSWindow(MainWindow):
def toggle_logging(self): def toggle_logging(self):
if self.log_enabled: if self.log_enabled:
self.log_enabled = 0 self.log_enabled = 0
self.dir_dialog() # self.dir_dialog()
self.save_log() self.save_log()
self.toggleLogging.setText("Start") self.toggleLogging.setText("Start")
else: else:
@ -286,8 +290,8 @@ class QtGPSWindow(MainWindow):
self.log_enabled = 0 self.log_enabled = 0
sys.exit(0) sys.exit(0)
if os.path.isfile('config.yaml'): if os.path.isfile(config_file):
with open('config.yaml') as f: with open(config_file) as f:
config = yaml.load(f, Loader=yaml.FullLoader) config = yaml.load(f, Loader=yaml.FullLoader)
if 'gpsd_host' in config: if 'gpsd_host' in config:
gpsd_host = config['gpsd_host'] gpsd_host = config['gpsd_host']

View File

@ -442,6 +442,24 @@
<height>280</height> <height>280</height>
</rect> </rect>
</property> </property>
<property name="backgroundBrush">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</property>
<property name="foregroundBrush">
<brush brushstyle="NoBrush">
<color alpha="255">
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</property>
</widget> </widget>
<widget class="QLabel" name="label_14"> <widget class="QLabel" name="label_14">
<property name="geometry"> <property name="geometry">

View File

@ -39,12 +39,12 @@ class Ui_MainWindow(object):
self.txtLongitude.setFrameShadow(QFrame.Sunken) self.txtLongitude.setFrameShadow(QFrame.Sunken)
self.txtDist4 = QLabel(self.centralwidget) self.txtDist4 = QLabel(self.centralwidget)
self.txtDist4.setObjectName(u"txtDist4") self.txtDist4.setObjectName(u"txtDist4")
self.txtDist4.setGeometry(QRect(140, 300, 51, 20)) self.txtDist4.setGeometry(QRect(190, 320, 41, 20))
self.txtDist4.setFrameShape(QFrame.Panel) self.txtDist4.setFrameShape(QFrame.Panel)
self.txtDist4.setFrameShadow(QFrame.Sunken) self.txtDist4.setFrameShadow(QFrame.Sunken)
self.txtDist2 = QLabel(self.centralwidget) self.txtDist2 = QLabel(self.centralwidget)
self.txtDist2.setObjectName(u"txtDist2") self.txtDist2.setObjectName(u"txtDist2")
self.txtDist2.setGeometry(QRect(370, 90, 51, 20)) self.txtDist2.setGeometry(QRect(420, 110, 41, 20))
self.txtDist2.setFrameShape(QFrame.Panel) self.txtDist2.setFrameShape(QFrame.Panel)
self.txtDist2.setFrameShadow(QFrame.Sunken) self.txtDist2.setFrameShadow(QFrame.Sunken)
self.txtSpeed = QLabel(self.centralwidget) self.txtSpeed = QLabel(self.centralwidget)
@ -54,15 +54,15 @@ class Ui_MainWindow(object):
self.txtSpeed.setFrameShadow(QFrame.Sunken) self.txtSpeed.setFrameShadow(QFrame.Sunken)
self.txtDist1 = QLabel(self.centralwidget) self.txtDist1 = QLabel(self.centralwidget)
self.txtDist1.setObjectName(u"txtDist1") self.txtDist1.setObjectName(u"txtDist1")
self.txtDist1.setGeometry(QRect(140, 90, 51, 20)) self.txtDist1.setGeometry(QRect(190, 110, 41, 20))
self.txtDist1.setFrameShape(QFrame.Panel) self.txtDist1.setFrameShape(QFrame.Panel)
self.txtDist1.setFrameShadow(QFrame.Sunken) self.txtDist1.setFrameShadow(QFrame.Sunken)
self.lblList2 = QLabel(self.centralwidget) self.lblList2 = QLabel(self.centralwidget)
self.lblList2.setObjectName(u"lblList2") self.lblList2.setObjectName(u"lblList2")
self.lblList2.setGeometry(QRect(240, 90, 141, 16)) self.lblList2.setGeometry(QRect(240, 90, 181, 16))
self.lblList1 = QLabel(self.centralwidget) self.lblList1 = QLabel(self.centralwidget)
self.lblList1.setObjectName(u"lblList1") self.lblList1.setObjectName(u"lblList1")
self.lblList1.setGeometry(QRect(10, 90, 141, 16)) self.lblList1.setGeometry(QRect(10, 90, 181, 16))
self.txtLatitude = QLabel(self.centralwidget) self.txtLatitude = QLabel(self.centralwidget)
self.txtLatitude.setObjectName(u"txtLatitude") self.txtLatitude.setObjectName(u"txtLatitude")
self.txtLatitude.setGeometry(QRect(430, 40, 91, 20)) self.txtLatitude.setGeometry(QRect(430, 40, 91, 20))
@ -94,7 +94,7 @@ class Ui_MainWindow(object):
self.listCones1.setGeometry(QRect(10, 110, 180, 181)) self.listCones1.setGeometry(QRect(10, 110, 180, 181))
self.txtDist3 = QLabel(self.centralwidget) self.txtDist3 = QLabel(self.centralwidget)
self.txtDist3.setObjectName(u"txtDist3") self.txtDist3.setObjectName(u"txtDist3")
self.txtDist3.setGeometry(QRect(600, 90, 51, 20)) self.txtDist3.setGeometry(QRect(650, 110, 41, 20))
self.txtDist3.setFrameShape(QFrame.Panel) self.txtDist3.setFrameShape(QFrame.Panel)
self.txtDist3.setFrameShadow(QFrame.Sunken) self.txtDist3.setFrameShadow(QFrame.Sunken)
self.txtHeading = QLabel(self.centralwidget) self.txtHeading = QLabel(self.centralwidget)
@ -121,28 +121,28 @@ class Ui_MainWindow(object):
self.logEnabled.setGeometry(QRect(210, 60, 131, 20)) self.logEnabled.setGeometry(QRect(210, 60, 131, 20))
self.addPoint1 = QPushButton(self.centralwidget) self.addPoint1 = QPushButton(self.centralwidget)
self.addPoint1.setObjectName(u"addPoint1") self.addPoint1.setObjectName(u"addPoint1")
self.addPoint1.setGeometry(QRect(190, 150, 41, 32)) self.addPoint1.setGeometry(QRect(190, 170, 41, 32))
self.delPoint1 = QPushButton(self.centralwidget) self.delPoint1 = QPushButton(self.centralwidget)
self.delPoint1.setObjectName(u"delPoint1") self.delPoint1.setObjectName(u"delPoint1")
self.delPoint1.setGeometry(QRect(190, 210, 41, 32)) self.delPoint1.setGeometry(QRect(190, 230, 41, 32))
self.addPoint2 = QPushButton(self.centralwidget) self.addPoint2 = QPushButton(self.centralwidget)
self.addPoint2.setObjectName(u"addPoint2") self.addPoint2.setObjectName(u"addPoint2")
self.addPoint2.setGeometry(QRect(420, 150, 41, 32)) self.addPoint2.setGeometry(QRect(420, 170, 41, 32))
self.delPoint2 = QPushButton(self.centralwidget) self.delPoint2 = QPushButton(self.centralwidget)
self.delPoint2.setObjectName(u"delPoint2") self.delPoint2.setObjectName(u"delPoint2")
self.delPoint2.setGeometry(QRect(420, 210, 41, 32)) self.delPoint2.setGeometry(QRect(420, 230, 41, 32))
self.addPoint3 = QPushButton(self.centralwidget) self.addPoint3 = QPushButton(self.centralwidget)
self.addPoint3.setObjectName(u"addPoint3") self.addPoint3.setObjectName(u"addPoint3")
self.addPoint3.setGeometry(QRect(650, 150, 41, 32)) self.addPoint3.setGeometry(QRect(650, 170, 41, 32))
self.delPoint3 = QPushButton(self.centralwidget) self.delPoint3 = QPushButton(self.centralwidget)
self.delPoint3.setObjectName(u"delPoint3") self.delPoint3.setObjectName(u"delPoint3")
self.delPoint3.setGeometry(QRect(650, 210, 41, 32)) self.delPoint3.setGeometry(QRect(650, 230, 41, 32))
self.addPoint4 = QPushButton(self.centralwidget) self.addPoint4 = QPushButton(self.centralwidget)
self.addPoint4.setObjectName(u"addPoint4") self.addPoint4.setObjectName(u"addPoint4")
self.addPoint4.setGeometry(QRect(190, 360, 41, 32)) self.addPoint4.setGeometry(QRect(190, 380, 41, 32))
self.delPoint4 = QPushButton(self.centralwidget) self.delPoint4 = QPushButton(self.centralwidget)
self.delPoint4.setObjectName(u"delPoint4") self.delPoint4.setObjectName(u"delPoint4")
self.delPoint4.setGeometry(QRect(190, 420, 41, 32)) self.delPoint4.setGeometry(QRect(190, 440, 41, 32))
self.saveList1 = QPushButton(self.centralwidget) self.saveList1 = QPushButton(self.centralwidget)
self.saveList1.setObjectName(u"saveList1") self.saveList1.setObjectName(u"saveList1")
self.saveList1.setGeometry(QRect(190, 260, 41, 32)) self.saveList1.setGeometry(QRect(190, 260, 41, 32))
@ -157,31 +157,31 @@ class Ui_MainWindow(object):
self.saveList4.setGeometry(QRect(190, 470, 41, 32)) self.saveList4.setGeometry(QRect(190, 470, 41, 32))
self.resetList1 = QPushButton(self.centralwidget) self.resetList1 = QPushButton(self.centralwidget)
self.resetList1.setObjectName(u"resetList1") self.resetList1.setObjectName(u"resetList1")
self.resetList1.setGeometry(QRect(190, 110, 41, 32)) self.resetList1.setGeometry(QRect(190, 140, 41, 32))
self.resetList2 = QPushButton(self.centralwidget) self.resetList2 = QPushButton(self.centralwidget)
self.resetList2.setObjectName(u"resetList2") self.resetList2.setObjectName(u"resetList2")
self.resetList2.setGeometry(QRect(420, 110, 41, 32)) self.resetList2.setGeometry(QRect(420, 140, 41, 32))
self.resetList3 = QPushButton(self.centralwidget) self.resetList3 = QPushButton(self.centralwidget)
self.resetList3.setObjectName(u"resetList3") self.resetList3.setObjectName(u"resetList3")
self.resetList3.setGeometry(QRect(650, 110, 41, 32)) self.resetList3.setGeometry(QRect(650, 140, 41, 32))
self.resetList4 = QPushButton(self.centralwidget) self.resetList4 = QPushButton(self.centralwidget)
self.resetList4.setObjectName(u"resetList4") self.resetList4.setObjectName(u"resetList4")
self.resetList4.setGeometry(QRect(190, 320, 41, 32)) self.resetList4.setGeometry(QRect(190, 350, 41, 32))
self.saveConfig = QPushButton(self.centralwidget) self.saveConfig = QPushButton(self.centralwidget)
self.saveConfig.setObjectName(u"saveConfig") self.saveConfig.setObjectName(u"saveConfig")
self.saveConfig.setGeometry(QRect(290, 510, 84, 32)) self.saveConfig.setGeometry(QRect(290, 510, 84, 32))
self.insPoint1 = QPushButton(self.centralwidget) self.insPoint1 = QPushButton(self.centralwidget)
self.insPoint1.setObjectName(u"insPoint1") self.insPoint1.setObjectName(u"insPoint1")
self.insPoint1.setGeometry(QRect(190, 180, 41, 32)) self.insPoint1.setGeometry(QRect(190, 200, 41, 32))
self.insPoint2 = QPushButton(self.centralwidget) self.insPoint2 = QPushButton(self.centralwidget)
self.insPoint2.setObjectName(u"insPoint2") self.insPoint2.setObjectName(u"insPoint2")
self.insPoint2.setGeometry(QRect(420, 180, 41, 32)) self.insPoint2.setGeometry(QRect(420, 200, 41, 32))
self.insPoint3 = QPushButton(self.centralwidget) self.insPoint3 = QPushButton(self.centralwidget)
self.insPoint3.setObjectName(u"insPoint3") self.insPoint3.setObjectName(u"insPoint3")
self.insPoint3.setGeometry(QRect(650, 180, 41, 32)) self.insPoint3.setGeometry(QRect(650, 200, 41, 32))
self.insPoint4 = QPushButton(self.centralwidget) self.insPoint4 = QPushButton(self.centralwidget)
self.insPoint4.setObjectName(u"insPoint4") self.insPoint4.setObjectName(u"insPoint4")
self.insPoint4.setGeometry(QRect(190, 390, 41, 32)) self.insPoint4.setGeometry(QRect(190, 410, 41, 32))
self.txtRange = QLineEdit(self.centralwidget) self.txtRange = QLineEdit(self.centralwidget)
self.txtRange.setObjectName(u"txtRange") self.txtRange.setObjectName(u"txtRange")
self.txtRange.setGeometry(QRect(280, 20, 41, 30)) self.txtRange.setGeometry(QRect(280, 20, 41, 30))
@ -196,42 +196,42 @@ class Ui_MainWindow(object):
self.listCones6.setGeometry(QRect(470, 320, 180, 181)) self.listCones6.setGeometry(QRect(470, 320, 180, 181))
self.delPoint5 = QPushButton(self.centralwidget) self.delPoint5 = QPushButton(self.centralwidget)
self.delPoint5.setObjectName(u"delPoint5") self.delPoint5.setObjectName(u"delPoint5")
self.delPoint5.setGeometry(QRect(420, 420, 41, 32)) self.delPoint5.setGeometry(QRect(420, 440, 41, 32))
self.saveList5 = QPushButton(self.centralwidget) self.saveList5 = QPushButton(self.centralwidget)
self.saveList5.setObjectName(u"saveList5") self.saveList5.setObjectName(u"saveList5")
self.saveList5.setGeometry(QRect(420, 470, 41, 32)) self.saveList5.setGeometry(QRect(420, 470, 41, 32))
self.addPoint5 = QPushButton(self.centralwidget) self.addPoint5 = QPushButton(self.centralwidget)
self.addPoint5.setObjectName(u"addPoint5") self.addPoint5.setObjectName(u"addPoint5")
self.addPoint5.setGeometry(QRect(420, 360, 41, 32)) self.addPoint5.setGeometry(QRect(420, 380, 41, 32))
self.insPoint5 = QPushButton(self.centralwidget) self.insPoint5 = QPushButton(self.centralwidget)
self.insPoint5.setObjectName(u"insPoint5") self.insPoint5.setObjectName(u"insPoint5")
self.insPoint5.setGeometry(QRect(420, 390, 41, 32)) self.insPoint5.setGeometry(QRect(420, 410, 41, 32))
self.resetList5 = QPushButton(self.centralwidget) self.resetList5 = QPushButton(self.centralwidget)
self.resetList5.setObjectName(u"resetList5") self.resetList5.setObjectName(u"resetList5")
self.resetList5.setGeometry(QRect(420, 320, 41, 32)) self.resetList5.setGeometry(QRect(420, 350, 41, 32))
self.delPoint6 = QPushButton(self.centralwidget) self.delPoint6 = QPushButton(self.centralwidget)
self.delPoint6.setObjectName(u"delPoint6") self.delPoint6.setObjectName(u"delPoint6")
self.delPoint6.setGeometry(QRect(650, 420, 41, 32)) self.delPoint6.setGeometry(QRect(650, 440, 41, 32))
self.saveList6 = QPushButton(self.centralwidget) self.saveList6 = QPushButton(self.centralwidget)
self.saveList6.setObjectName(u"saveList6") self.saveList6.setObjectName(u"saveList6")
self.saveList6.setGeometry(QRect(650, 470, 41, 32)) self.saveList6.setGeometry(QRect(650, 470, 41, 32))
self.addPoint6 = QPushButton(self.centralwidget) self.addPoint6 = QPushButton(self.centralwidget)
self.addPoint6.setObjectName(u"addPoint6") self.addPoint6.setObjectName(u"addPoint6")
self.addPoint6.setGeometry(QRect(650, 360, 41, 32)) self.addPoint6.setGeometry(QRect(650, 380, 41, 32))
self.insPoint6 = QPushButton(self.centralwidget) self.insPoint6 = QPushButton(self.centralwidget)
self.insPoint6.setObjectName(u"insPoint6") self.insPoint6.setObjectName(u"insPoint6")
self.insPoint6.setGeometry(QRect(650, 390, 41, 32)) self.insPoint6.setGeometry(QRect(650, 410, 41, 32))
self.resetList6 = QPushButton(self.centralwidget) self.resetList6 = QPushButton(self.centralwidget)
self.resetList6.setObjectName(u"resetList6") self.resetList6.setObjectName(u"resetList6")
self.resetList6.setGeometry(QRect(650, 320, 41, 32)) self.resetList6.setGeometry(QRect(650, 350, 41, 32))
self.txtDist5 = QLabel(self.centralwidget) self.txtDist5 = QLabel(self.centralwidget)
self.txtDist5.setObjectName(u"txtDist5") self.txtDist5.setObjectName(u"txtDist5")
self.txtDist5.setGeometry(QRect(360, 300, 51, 20)) self.txtDist5.setGeometry(QRect(420, 320, 41, 20))
self.txtDist5.setFrameShape(QFrame.Panel) self.txtDist5.setFrameShape(QFrame.Panel)
self.txtDist5.setFrameShadow(QFrame.Sunken) self.txtDist5.setFrameShadow(QFrame.Sunken)
self.txtDist6 = QLabel(self.centralwidget) self.txtDist6 = QLabel(self.centralwidget)
self.txtDist6.setObjectName(u"txtDist6") self.txtDist6.setObjectName(u"txtDist6")
self.txtDist6.setGeometry(QRect(590, 300, 51, 20)) self.txtDist6.setGeometry(QRect(650, 320, 41, 20))
self.txtDist6.setFrameShape(QFrame.Panel) self.txtDist6.setFrameShape(QFrame.Panel)
self.txtDist6.setFrameShadow(QFrame.Sunken) self.txtDist6.setFrameShadow(QFrame.Sunken)
self.lblList5 = QLabel(self.centralwidget) self.lblList5 = QLabel(self.centralwidget)
@ -271,7 +271,7 @@ class Ui_MainWindow(object):
self.lblList1.setText("") self.lblList1.setText("")
self.txtLatitude.setText(QCoreApplication.translate("MainWindow", u"0", None)) self.txtLatitude.setText(QCoreApplication.translate("MainWindow", u"0", None))
self.label_4.setText(QCoreApplication.translate("MainWindow", u"Heading:", None)) self.label_4.setText(QCoreApplication.translate("MainWindow", u"Heading:", None))
self.label_5.setText(QCoreApplication.translate("MainWindow", u"NTCNA GPS Virtual Cones", None)) self.label_5.setText(QCoreApplication.translate("MainWindow", u"NTCNA GPS Virtual Cones V1.0", None))
self.exitButton.setText(QCoreApplication.translate("MainWindow", u"Exit", None)) self.exitButton.setText(QCoreApplication.translate("MainWindow", u"Exit", None))
self.lblList4.setText("") self.lblList4.setText("")
self.txtDist3.setText(QCoreApplication.translate("MainWindow", u"0", None)) self.txtDist3.setText(QCoreApplication.translate("MainWindow", u"0", None))

View File

@ -85,9 +85,9 @@
<widget class="QLabel" name="txtDist4"> <widget class="QLabel" name="txtDist4">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>190</x>
<y>300</y> <y>320</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>
@ -104,9 +104,9 @@
<widget class="QLabel" name="txtDist2"> <widget class="QLabel" name="txtDist2">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>370</x> <x>420</x>
<y>90</y> <y>110</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>
@ -142,9 +142,9 @@
<widget class="QLabel" name="txtDist1"> <widget class="QLabel" name="txtDist1">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>140</x> <x>190</x>
<y>90</y> <y>110</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>
@ -163,7 +163,7 @@
<rect> <rect>
<x>240</x> <x>240</x>
<y>90</y> <y>90</y>
<width>141</width> <width>181</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
@ -176,7 +176,7 @@
<rect> <rect>
<x>10</x> <x>10</x>
<y>90</y> <y>90</y>
<width>141</width> <width>181</width>
<height>16</height> <height>16</height>
</rect> </rect>
</property> </property>
@ -241,7 +241,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>NTCNA GPS Virtual Cones</string> <string>NTCNA GPS Virtual Cones V1.0</string>
</property> </property>
</widget> </widget>
<widget class="QPushButton" name="exitButton"> <widget class="QPushButton" name="exitButton">
@ -293,9 +293,9 @@
<widget class="QLabel" name="txtDist3"> <widget class="QLabel" name="txtDist3">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>600</x> <x>650</x>
<y>90</y> <y>110</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>
@ -403,7 +403,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>150</y> <y>170</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -416,7 +416,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>210</y> <y>230</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -429,7 +429,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>150</y> <y>170</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -442,7 +442,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>210</y> <y>230</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -455,7 +455,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>150</y> <y>170</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -468,7 +468,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>210</y> <y>230</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -481,7 +481,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>360</y> <y>380</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -494,7 +494,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>420</y> <y>440</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -559,7 +559,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>110</y> <y>140</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -572,7 +572,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>110</y> <y>140</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -585,7 +585,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>110</y> <y>140</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -598,7 +598,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>320</y> <y>350</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -624,7 +624,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>180</y> <y>200</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -637,7 +637,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>180</y> <y>200</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -650,7 +650,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>180</y> <y>200</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -663,7 +663,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>190</x> <x>190</x>
<y>390</y> <y>410</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -722,7 +722,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>420</y> <y>440</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -748,7 +748,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>360</y> <y>380</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -761,7 +761,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>390</y> <y>410</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -774,7 +774,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>420</x> <x>420</x>
<y>320</y> <y>350</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -787,7 +787,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>420</y> <y>440</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -813,7 +813,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>360</y> <y>380</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -826,7 +826,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>390</y> <y>410</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -839,7 +839,7 @@
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>650</x> <x>650</x>
<y>320</y> <y>350</y>
<width>41</width> <width>41</width>
<height>32</height> <height>32</height>
</rect> </rect>
@ -851,9 +851,9 @@
<widget class="QLabel" name="txtDist5"> <widget class="QLabel" name="txtDist5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>360</x> <x>420</x>
<y>300</y> <y>320</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>
@ -870,9 +870,9 @@
<widget class="QLabel" name="txtDist6"> <widget class="QLabel" name="txtDist6">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>590</x> <x>650</x>
<y>300</y> <y>320</y>
<width>51</width> <width>41</width>
<height>20</height> <height>20</height>
</rect> </rect>
</property> </property>

View File

@ -0,0 +1,71 @@
MON-VER - 0A 04 28 00 37 2E 30 33 20 28 34 35 39 36 39 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 34 30 30 30 37 00 00
CFG-ANT - 06 13 04 00 1B 00 8B A9
CFG-DAT - 06 06 02 00 00 00
CFG-FXN - 06 0E 24 00 0C 00 00 00 00 00 00 00 00 00 00 00 10 27 00 00 10 27 00 00 D0 07 00 00 18 FC FF FF 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 00 00 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 01 00 00 00 87 87 87 87 87 87
CFG-INF - 06 02 0A 00 03 00 00 00 00 00 00 00 00 00
CFG-ITFM - 06 39 08 00 F3 AC 62 2D 1E 03 00 00
CFG-MSG - 06 01 08 00 0B 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 33 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 0B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 60 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 22 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 11 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 12 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 00 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 01 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 02 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 03 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 04 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 05 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 04 00 00 00 00 00 00
CFG-NAV5 - 06 24 24 00 FF FF 04 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00
CFG-NAVX5 - 06 23 28 00 00 00 FF FF 43 00 00 00 03 02 03 10 07 00 00 01 00 00 43 06 00 00 00 00 01 01 00 00 00 64 78 00 00 00 00 00 00 00 00 00
CFG-NMEA - 06 17 04 00 00 23 00 02
CFG-PM - 06 32 18 00 00 06 00 00 04 90 00 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00
CFG-PM2 - 06 3B 2C 00 01 06 00 00 00 90 02 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00 2C 01 00 00 4F C1 03 00 86 02 00 00 FE 00 00 00 64 40 01 00
CFG-PRT - 06 00 14 00 00 00 00 00 84 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 01 00 00 00 C0 08 00 00 00 C2 01 00 07 00 03 00 00 00 00 00
CFG-PRT - 06 00 14 00 02 00 00 00 C0 08 00 00 80 25 00 00 00 00 00 00 00 00 00 00
CFG-PRT - 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 04 00 00 00 00 32 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-RATE - 06 08 06 00 C8 00 01 00 01 00
CFG-RINV - 06 34 18 00 00 4E 6F 74 69 63 65 3A 20 6E 6F 20 64 61 74 61 20 73 61 76 65 64 21 00
CFG-RXM - 06 11 02 00 08 00
CFG-SBAS - 06 16 08 00 01 03 03 00 51 62 06 00
CFG-TP - 06 07 14 00 40 42 0F 00 A0 86 01 00 FF 01 00 00 32 00 40 00 00 00 00 00
CFG-TP5 - 06 31 20 00 00 07 40 00 32 00 40 00 40 42 0F 00 40 42 0F 00 00 00 00 00 A0 86 01 00 00 00 00 00 B7 00 00 00
CFG-TP5 - 06 31 20 00 01 07 40 00 32 00 40 00 0A 00 00 00 05 00 00 00 01 00 00 00 20 08 40 00 F7 05 21 00 90 00 00 00
CFG-USB - 06 1B 6C 00 46 15 A6 01 00 00 00 00 64 00 00 00 75 2D 62 6C 6F 78 20 41 47 20 2D 20 77 77 77 2E 75 2D 62 6C 6F 78 2E 63 6F 6D 00 00 00 00 00 00 75 2D 62 6C 6F 78 20 36 20 20 2D 20 20 47 50 53 20 52 65 63 65 69 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

View File

@ -0,0 +1,71 @@
MON-VER - 0A 04 28 00 37 2E 30 33 20 28 34 35 39 36 39 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 34 30 30 30 37 00 00
CFG-ANT - 06 13 04 00 1B 00 8B A9
CFG-DAT - 06 06 02 00 00 00
CFG-FXN - 06 0E 24 00 0C 00 00 00 00 00 00 00 00 00 00 00 10 27 00 00 10 27 00 00 D0 07 00 00 18 FC FF FF 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 00 00 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 01 00 00 00 87 87 87 87 87 87
CFG-INF - 06 02 0A 00 03 00 00 00 00 00 00 00 00 00
CFG-ITFM - 06 39 08 00 F3 AC 62 2D 1E 03 00 00
CFG-MSG - 06 01 08 00 0B 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 33 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 0B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 60 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 22 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 11 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 12 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 00 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 01 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 02 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 03 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 04 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 05 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 04 00 00 00 00 00 00
CFG-NAV5 - 06 24 24 00 FF FF 04 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00
CFG-NAVX5 - 06 23 28 00 00 00 FF FF 43 00 00 00 03 02 03 10 07 00 00 01 00 00 43 06 00 00 00 00 01 01 00 00 00 64 78 00 00 00 00 00 00 00 00 00
CFG-NMEA - 06 17 04 00 00 23 00 02
CFG-PM - 06 32 18 00 00 06 00 00 04 90 00 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00
CFG-PM2 - 06 3B 2C 00 01 06 00 00 00 90 02 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00 2C 01 00 00 4F C1 03 00 86 02 00 00 FE 00 00 00 64 40 01 00
CFG-PRT - 06 00 14 00 00 00 00 00 84 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 01 00 00 00 C0 08 00 00 00 C2 01 00 07 00 03 00 00 00 00 00
CFG-PRT - 06 00 14 00 02 00 00 00 C0 08 00 00 80 25 00 00 00 00 00 00 00 00 00 00
CFG-PRT - 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 04 00 00 00 00 32 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-RATE - 06 08 06 00 FA 00 01 00 01 00
CFG-RINV - 06 34 18 00 00 4E 6F 74 69 63 65 3A 20 6E 6F 20 64 61 74 61 20 73 61 76 65 64 21 00
CFG-RXM - 06 11 02 00 08 00
CFG-SBAS - 06 16 08 00 01 03 03 00 51 62 06 00
CFG-TP - 06 07 14 00 40 42 0F 00 A0 86 01 00 FF 01 00 00 32 00 40 00 00 00 00 00
CFG-TP5 - 06 31 20 00 00 07 40 00 32 00 40 00 40 42 0F 00 40 42 0F 00 00 00 00 00 A0 86 01 00 00 00 00 00 B7 00 00 00
CFG-TP5 - 06 31 20 00 01 07 40 00 32 00 40 00 0A 00 00 00 05 00 00 00 01 00 00 00 20 08 40 00 F7 05 21 00 90 00 00 00
CFG-USB - 06 1B 6C 00 46 15 A6 01 00 00 00 00 64 00 00 00 75 2D 62 6C 6F 78 20 41 47 20 2D 20 77 77 77 2E 75 2D 62 6C 6F 78 2E 63 6F 6D 00 00 00 00 00 00 75 2D 62 6C 6F 78 20 36 20 20 2D 20 20 47 50 53 20 52 65 63 65 69 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

View File

@ -0,0 +1,71 @@
MON-VER - 0A 04 28 00 37 2E 30 33 20 28 34 35 39 36 39 29 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 34 30 30 30 37 00 00
CFG-ANT - 06 13 04 00 1B 00 8B A9
CFG-DAT - 06 06 02 00 00 00
CFG-FXN - 06 0E 24 00 0C 00 00 00 00 00 00 00 00 00 00 00 10 27 00 00 10 27 00 00 D0 07 00 00 18 FC FF FF 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 00 00 00 00 00 00 00 00 00 00
CFG-INF - 06 02 0A 00 01 00 00 00 87 87 87 87 87 87
CFG-INF - 06 02 0A 00 03 00 00 00 00 00 00 00 00 00
CFG-ITFM - 06 39 08 00 F3 AC 62 2D 1E 03 00 00
CFG-MSG - 06 01 08 00 0B 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 33 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0B 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 0B 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0A 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 60 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 22 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 31 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 04 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 02 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 32 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 30 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 21 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 11 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 01 12 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 02 20 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 01 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 0D 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 00 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 01 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 02 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 03 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 04 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 05 01 01 01 01 01 01
CFG-MSG - 06 01 08 00 F0 06 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 07 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 08 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 09 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F0 0A 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 00 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 03 00 00 00 00 00 00
CFG-MSG - 06 01 08 00 F1 04 00 00 00 00 00 00
CFG-NAV5 - 06 24 24 00 FF FF 04 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 2C 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00
CFG-NAVX5 - 06 23 28 00 00 00 FF FF 43 00 00 00 03 02 03 10 07 00 00 01 00 00 43 06 00 00 00 00 01 01 00 00 00 64 78 00 00 00 00 00 00 00 00 00
CFG-NMEA - 06 17 04 00 00 23 00 02
CFG-PM - 06 32 18 00 00 06 00 00 04 90 00 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00
CFG-PM2 - 06 3B 2C 00 01 06 00 00 00 90 02 00 E8 03 00 00 10 27 00 00 00 00 00 00 02 00 00 00 2C 01 00 00 4F C1 03 00 86 02 00 00 FE 00 00 00 64 40 01 00
CFG-PRT - 06 00 14 00 00 00 00 00 84 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 01 00 00 00 C0 08 00 00 00 C2 01 00 07 00 03 00 00 00 00 00
CFG-PRT - 06 00 14 00 02 00 00 00 C0 08 00 00 80 25 00 00 00 00 00 00 00 00 00 00
CFG-PRT - 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-PRT - 06 00 14 00 04 00 00 00 00 32 00 00 00 00 00 00 07 00 07 00 00 00 00 00
CFG-RATE - 06 08 06 00 F4 01 01 00 01 00
CFG-RINV - 06 34 18 00 00 4E 6F 74 69 63 65 3A 20 6E 6F 20 64 61 74 61 20 73 61 76 65 64 21 00
CFG-RXM - 06 11 02 00 08 00
CFG-SBAS - 06 16 08 00 01 03 03 00 51 62 06 00
CFG-TP - 06 07 14 00 40 42 0F 00 A0 86 01 00 FF 01 00 00 32 00 40 00 00 00 00 00
CFG-TP5 - 06 31 20 00 00 07 40 00 32 00 40 00 40 42 0F 00 40 42 0F 00 00 00 00 00 A0 86 01 00 00 00 00 00 B7 00 00 00
CFG-TP5 - 06 31 20 00 01 07 40 00 32 00 40 00 0A 00 00 00 05 00 00 00 01 00 00 00 20 08 40 00 F7 05 21 00 90 00 00 00
CFG-USB - 06 1B 6C 00 46 15 A6 01 00 00 00 00 64 00 00 00 75 2D 62 6C 6F 78 20 41 47 20 2D 20 77 77 77 2E 75 2D 62 6C 6F 78 2E 63 6F 6D 00 00 00 00 00 00 75 2D 62 6C 6F 78 20 36 20 20 2D 20 20 47 50 53 20 52 65 63 65 69 76 65 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

View File

@ -19,6 +19,8 @@ from PySide2.QtCore import QObject, Slot, Signal, QThread, QDir
from MainWindow import Ui_MainWindow from MainWindow import Ui_MainWindow
config_file = "vcones.yaml"
############################################################################## ##############################################################################
# audio stuff # audio stuff
############################################################################## ##############################################################################
@ -218,6 +220,7 @@ class ConesWindow(MainWindow):
self.openFiles.clicked.connect(self.read_dialog) self.openFiles.clicked.connect(self.read_dialog)
self.exitButton.clicked.connect(self.exit_button) self.exitButton.clicked.connect(self.exit_button)
self.testSound.clicked.connect(self.test_sound) self.testSound.clicked.connect(self.test_sound)
self.saveConfig.clicked.connect(self.save_config)
self.resetList1.clicked.connect(self.reset_list1) self.resetList1.clicked.connect(self.reset_list1)
self.addPoint1.clicked.connect(self.add_point1) self.addPoint1.clicked.connect(self.add_point1)
@ -522,7 +525,7 @@ class ConesWindow(MainWindow):
self.save_list(5) self.save_list(5)
def save_config(self): def save_config(self):
with open('config.yaml', 'w') as f: with open(config_file, 'w') as f:
config = {} config = {}
if gpsd_host != "localhost": if gpsd_host != "localhost":
config['gpsd_host'] = gpsd_host config['gpsd_host'] = gpsd_host
@ -557,8 +560,8 @@ if __name__ == '__main__':
window.show() window.show()
config = [] config = []
if path.isfile('config.yaml'): if path.isfile(config_file):
with open('config.yaml') as f: with open(config_file) as f:
config = yaml.load(f, Loader=yaml.FullLoader) config = yaml.load(f, Loader=yaml.FullLoader)
if 'gpsd_host' in config: if 'gpsd_host' in config:
gpsd_host = config['gpsd_host'] gpsd_host = config['gpsd_host']