Commit a89b2d25 authored by oscar's avatar oscar

提交更新

parent d7fb55f3
......@@ -395,8 +395,8 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
countC = 0;
}
unsigned long long timestamp = (unsigned long long)(msg->header.stamp.sec * 1000 + msg->header.stamp.nsec * 1e-6);
SDK_LOG(SDK_INFO, "msg time = %llu", timestamp);
unsigned long long timestamp = (unsigned long long)msg->header.stamp.sec * 1000 + (unsigned long long)msg->header.stamp.nsec * 1e-6;
SDK_LOG(SDK_INFO, "msg msg->header.stamp.sec = %d,msg->header.stamp.nsec = %d time = %llu", msg->header.stamp.sec, msg->header.stamp.nsec, timestamp);
objTrackListPtr cloudPtr = GetNearestCloudMsg(timestamp);
if(cloudPtr)
......
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