add debug log
This commit is contained in:
@@ -61,6 +61,8 @@ class Presenter:
|
|||||||
self.process2d_info[cfg["title"]] = pro
|
self.process2d_info[cfg["title"]] = pro
|
||||||
pro.start()
|
pro.start()
|
||||||
|
|
||||||
|
print("DEBUG:init completed")
|
||||||
|
|
||||||
# NOTE: 障碍物状态历史队列
|
# NOTE: 障碍物状态历史队列
|
||||||
# 前左前右障碍物距离检测
|
# 前左前右障碍物距离检测
|
||||||
# 轨道检测数据历史队列
|
# 轨道检测数据历史队列
|
||||||
@@ -186,6 +188,7 @@ class Presenter:
|
|||||||
def run(self):
|
def run(self):
|
||||||
# TODO: 初始化TCP服务和收收数据缓存
|
# TODO: 初始化TCP服务和收收数据缓存
|
||||||
server = TcpServer(host=HOST, port=PORT)
|
server = TcpServer(host=HOST, port=PORT)
|
||||||
|
print("DEBUG:TCPServer init completed")
|
||||||
tcp_rec_buf = ""
|
tcp_rec_buf = ""
|
||||||
tcp_send_buf = ""
|
tcp_send_buf = ""
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user