Commit b3be51a2 authored by oscar's avatar oscar

提交打印信息

parent 5f856371
......@@ -371,6 +371,9 @@ void EventsRos::SendRosEvents(TrkObjsPtr& outs)
msg.upstreamNodeIdRegion = iter.upstreamNodeIdRegion;
msg.sectionId = iter.sectionId;
msg.laneId = iter._laneId;
#ifdef _USING_NEW_JFXMAP_
printf("check GetMapData send framenum = %d, id = %llu, strRoadName = %s\n",iter.frameNum,iter.id,iter.linkName.c_str());
#endif
for(auto _its : iter.points)
{
jfx_common_msgs::Point64 loc = {};
......
......@@ -101,6 +101,7 @@ void JfxEvents::ThreadEventProcess()
if (iter == m_frameObjs.end())
{
ObjInfoAll objInfo;
obj.frameNum = m_frameNum;
objInfo.obj = obj;
objInfo.appearT = m_curTime;
objInfo.updateT = m_curTime;
......@@ -250,7 +251,7 @@ int JfxEvents::CalculateMap(ObjInfoAll& objAll, TrkObj& sendObj)
nLaneCnt, nOutLaneNum, nOutLaneType,
nOutLeftEdgeCrossType, nOutRightEdgeCrossType,
nOutSpeedLimit, dOutLaneAngle, ptOutFoot,roadInfo,lCrossId);
printf("after GetMapData result = %d, ptInLoc = [%.8f,%.8f], nodeIdId = %d\n",result,ptInLoc.dLon,ptInLoc.dLat,roadInfo.lNodeIdId);
printf("check GetMapData result = %d, ptInLoc = [%.8f,%.8f],framenum = %d, id = %llu, strRoadName = %s\n",result,ptInLoc.dLon,ptInLoc.dLat,sendObj.frameNum,sendObj.id,roadInfo.strRoadName.c_str());
#endif
}
ObjInfoAll& obj = objAll;
......
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