Commit d14fd8bc authored by oscar's avatar oscar

提交更新

parent 157c608f
......@@ -446,9 +446,7 @@ void TrackingRos::ThreadTrackingProcess()
for (auto& iter : trackers)
{
jfx_common_msgs::det_tracking obj = {};
obj.device = m_nodeName;
jfx_common_msgs::det_tracking input_obj = {};
input_obj.device = m_nodeName;
int last_type = -1;
int is_need_send = 0;//是否需要发送
if (updateId.find(iter.first) != updateId.end())
......@@ -584,6 +582,7 @@ void TrackingRos::ThreadTrackingProcess()
box.pose.orientation.z = R_quat.z();
box.pose.orientation.w = R_quat.w();
sendBoxes.boxes.emplace_back(box);
obj.device = m_nodeName;
sendObjs.array.emplace_back(obj);
#ifdef _SEND_ABUZHABI_
Targets target = {};
......
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