From f7c4a3cfd07adede3308f8d9d3d7315427d90a7c Mon Sep 17 00:00:00 2001
From: zhangmeng <zhangmeng@aiotlink.com>
Date: 星期五, 17 一月 2020 09:40:08 +0800
Subject: [PATCH] bug fixed logs print copy
---
run.go | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/run.go b/run.go
index 95a9958..67a420d 100644
--- a/run.go
+++ b/run.go
@@ -144,6 +144,7 @@
return
case msg := <-chMsg:
if len(msg.Tasklab.Sdkinfos) == 0 || int(msg.Tasklab.Index) >= len(msg.Tasklab.Sdkinfos) {
+ s.fnLogger("reid !!!!!! recv msg error")
continue
}
i := sdkhelper.UnpackImage(msg, "reid", s.fnLogger)
@@ -153,6 +154,8 @@
}
sdkInfo := msg.Tasklab.Sdkinfos[int(msg.Tasklab.Index)]
+ s.fnLogger("reid !!!!!! recv from humantrack len: ", len(sdkInfo.Sdkdata))
+
res := &protomsg.HumanTrackResult{}
if err := proto.Unmarshal(sdkInfo.Sdkdata, res); err != nil {
s.fnLogger(err, " sdkinfo msg Unmarshal 澶勭悊寮傚父")
@@ -183,6 +186,8 @@
s.fnLogger(err, " msg Marshal 澶勭悊寮傚父")
continue
}
+ s.fnLogger("reid !!!!!! send to humantrack len: ", len(data))
+
chSnd <- data
}
}
--
Gitblit v1.8.0