Commit 2a98e904 authored by liyuanhong's avatar liyuanhong

修改了发送两次熄火事件的bug

parent 1229aad8
...@@ -132,7 +132,7 @@ class AutoCarService(): ...@@ -132,7 +132,7 @@ class AutoCarService():
print(info) print(info)
self.writeToFile("result.txt", info + "\n", 1) self.writeToFile("result.txt", info + "\n", 1)
elif self.gpsLineIndex == len(self.gpsLine): elif self.gpsLineIndex == len(self.gpsLine):
self.fireOff() # self.fireOff()
self.stopTravelService() self.stopTravelService()
info = self.getCurTime() + " gps轨迹跑完,自动停止行驶!" info = self.getCurTime() + " gps轨迹跑完,自动停止行驶!"
print(info) print(info)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment