Commit 36682e0b authored by oscar's avatar oscar

修改时间点传递

parent 1b606e99
......@@ -600,6 +600,7 @@ void TrackingRos::ThreadTrackingProcess()
}
//sendObjs.cloud = objsPtr->cloud;
//SDK_LOG(SDK_INFO, "calculate objs size = %d", sendObjs.array.size());
sendObjs.pt = objsPtr->pt;
auto time_p = ros::Time::now();
std::uint64_t tt = (std::uint64_t)time_p.sec * 1000 + time_p.nsec * 1e-6;
sendObjs.pt.push_back(tt);//发送跟踪后的时间点
......
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