Commit 8c464683 authored by wangdawei's avatar wangdawei

test

parent e268ae0b
......@@ -1444,7 +1444,8 @@ bool Convert::processPacket(PPointCloud& pc)
moveTaskEndToStartAngle();
doTaskFlow(cursor);
m_iPublishPointsIndex = cursor;
cursor = (cursor + 1) % 2;
m_OutMsgArray[cursor]->clear();
m_OutMsgArray[cursor]->resize(CIRCLE_ANGLE / m_iAngleSize * m_iLaserNum * m_iReturnBlockSize );
if(m_RedundantPointBuffer.size() > 0 && m_RedundantPointBuffer.size() < MAX_REDUNDANT_POINT_NUM){
......
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