Commit c94c3872 authored by oscar's avatar oscar

提交测试

parent a56807f7
......@@ -375,7 +375,8 @@ void TrackingRos::ThreadTrackingProcess()
obj.Long = pos[1];
//SDK_LOG(SDK_INFO, "lat = %.10f, lon = %.10f",obj.Lat,obj.Long);
}
last_type = iter.second->m_obj->type;
if(iter.second->m_obj)
last_type = iter.second->m_obj->type;
iter.second->m_obj = std::make_shared<jfx_common_msgs::det_tracking>(obj);
}
else
......
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