瀏覽代碼

GPS bugfix

master
Lukas Prause 3 年之前
父節點
當前提交
37f5e44fca
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      measurement_main.py

+ 2
- 3
measurement_main.py 查看文件

@@ -23,7 +23,7 @@ GET_IPV4_SHELL_COMMAND = "ip a | grep {} | grep inet | cut -d' ' -f6 | cut -d'/'
NR_CQI_COMMAND = b'AT+QNWCFG="nr5g_csi"\r\n'
NR_SERVINGCELL_COMMAND = b'AT+QENG="servingcell"\r\n'
NR_EN_DC_STATUS_COMMAND = b"AT+QENDC\r\n"
NR_SERIAL_RESPOND_TOME = 0.3 # s
NR_SERIAL_RESPOND_TIME = 0.3 # s
CMD_TIME_EPOCH = "date +%s"


@@ -548,10 +548,9 @@ class Client:

if self.config["gps"] is not None:
gps_ser = serial.Serial(
port=self.config["gps"],
self.config["gps"],
baudrate=self.config["gps_baudrate"],
)
gps_ser.isOpen()
gps_ser_filepath = "{}{}_gps_serial_monitor_output.txt".format(
self.config["folder"], self.config["prefix"]
)

Loading…
取消
儲存