Commit 42c71822 authored by oscar's avatar oscar

修改崩溃

parent 5a5db0e7
......@@ -395,7 +395,8 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
countC = 0;
}
unsigned long long timestamp = (unsigned long long)(msg->header.stamp.toSec() * 1000);
double d_timestamp = msg->header.stamp.toSec();
unsigned long long timestamp = (unsigned long long)(d_timestamp * 1000);
objTrackListPtr cloudPtr = GetNearestCloudMsg(timestamp);
......
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