Commit 21707dc3 authored by oscar's avatar oscar

提交测试

parent 97795b23
......@@ -350,7 +350,7 @@ void TrackingRos::ThreadTrackingProcess()
obj = objsPtr->array[updateId[iter.first]];
input_obj = obj;
std::vector<float> data;
if (iter.second->IsValid() && iter.second->GetStateData(data) == 0)
if (/*iter.second->IsValid() && */ iter.second->GetStateData(data) == 0)
{
is_need_send = 1;//需要发送
obj.x = data[0];
......@@ -381,7 +381,7 @@ void TrackingRos::ThreadTrackingProcess()
if(iter.second->m_obj)
obj = *(iter.second->m_obj);
std::vector<float> data;
if (iter.second->IsValid() && iter.second->GetStateData(data) == 0)
if (/*iter.second->IsValid() &&*/ iter.second->GetStateData(data) == 0)
{
is_need_send = 1;//需要发送
obj.x = data[0];
......
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