Commit 5e32ea0e authored by oscar's avatar oscar

修改点云发送的地方

parent e1702e1e
......@@ -312,7 +312,7 @@ void TrackingRos::TrackingCallBackFunc(const jfx_common_msgs::det_tracking_array
{
objTrackListPtr objsPtr = std::make_shared<jfx_common_msgs::det_tracking_array>();
objsPtr->array = msg->array;
//objsPtr->cloud = msg->cloud;
objsPtr->cloud = msg->cloud;
static int countR = 0;
countR++;
......@@ -349,7 +349,7 @@ void TrackingRos::TrackingCallBackFunc(const jfx_common_msgs::det_tracking_array
//objsPtr->cloud = msg->cloud;
m_objsQueue.push(objsPtr);
m_pubCloud.publish(msg->cloud);
//m_pubCloud.publish(msg->cloud);
}
void TrackingRos::ThreadTrackingProcess()
......@@ -542,6 +542,7 @@ void TrackingRos::ThreadTrackingProcess()
m_pub.publish(sendObjs);
m_pubBoundingBoxes.publish(sendBoxes);
m_pubCloud.publish(objsPtr->cloud);
#ifdef _USING_NSIGHT_
nvtxRangePop();
#endif
......
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