Commit e9773751 authored by oscar's avatar oscar

提交更新

parent 334c8ff4
......@@ -704,6 +704,10 @@ void TrackingRos::ThreadTrackingProcess()
if(iter.second->m_obj)
obj = *(iter.second->m_obj);
std::vector<float> data;
if (obj.type == 7)
{
SDK_LOG(SDK_INFO, "update camera msg x = %f, y = %f",obj.x,obj.y);
}
if (iter.second->IsValid() && iter.second->GetStateData(data) == 0)
{
is_need_send = 1;//需要发送
......@@ -776,7 +780,7 @@ void TrackingRos::ThreadTrackingProcess()
box.pose.orientation.z = R_quat.z();
//SDK_LOG(SDK_INFO, "rot_y_angle = %f", rot_y_angle);
box.pose.orientation.w = R_quat.w();
if (obj.x < 0)
if (obj.type == 7)
{
SDK_LOG(SDK_INFO, "sendbox========================= x = %f,y = %f",obj.x,obj.y);
}
......
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