Commit 5b6edce0 authored by oscar's avatar oscar

提交编译错误修改

parent 46fb7f13
......@@ -311,7 +311,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
countC = 0;
}
unsigned long long timestamp = (unsigned long long)(msg.header.stamp.toSec() * 1000);
unsigned long long timestamp = (unsigned long long)(msg->header.stamp.toSec() * 1000);
objTrackListPtr cloudPtr = GetNearestCloudMsg(timestamp);
......@@ -340,11 +340,11 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
continue;
objsPtr->array.push_back(obj);
}
for (int i = 0; i < msg.reses.size(); i++)
for (int i = 0; i < msg->reses.size(); i++)
{
if (msg.reses[i].results.size() > 0)
if (msg->reses[i].results.size() > 0)
{
for (auto& camera_msg : msg.reses[0].results)
for (auto& camera_msg : msg->reses[0].results)
{
int x1 = camera_msg.location[0];
int y1 = camera_msg.location[1];
......
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