Commit b3be51a2 authored by oscar's avatar oscar

提交打印信息

parent 5f856371
...@@ -371,6 +371,9 @@ void EventsRos::SendRosEvents(TrkObjsPtr& outs) ...@@ -371,6 +371,9 @@ void EventsRos::SendRosEvents(TrkObjsPtr& outs)
msg.upstreamNodeIdRegion = iter.upstreamNodeIdRegion; msg.upstreamNodeIdRegion = iter.upstreamNodeIdRegion;
msg.sectionId = iter.sectionId; msg.sectionId = iter.sectionId;
msg.laneId = iter._laneId; 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) for(auto _its : iter.points)
{ {
jfx_common_msgs::Point64 loc = {}; jfx_common_msgs::Point64 loc = {};
......
...@@ -101,6 +101,7 @@ void JfxEvents::ThreadEventProcess() ...@@ -101,6 +101,7 @@ void JfxEvents::ThreadEventProcess()
if (iter == m_frameObjs.end()) if (iter == m_frameObjs.end())
{ {
ObjInfoAll objInfo; ObjInfoAll objInfo;
obj.frameNum = m_frameNum;
objInfo.obj = obj; objInfo.obj = obj;
objInfo.appearT = m_curTime; objInfo.appearT = m_curTime;
objInfo.updateT = m_curTime; objInfo.updateT = m_curTime;
...@@ -250,7 +251,7 @@ int JfxEvents::CalculateMap(ObjInfoAll& objAll, TrkObj& sendObj) ...@@ -250,7 +251,7 @@ int JfxEvents::CalculateMap(ObjInfoAll& objAll, TrkObj& sendObj)
nLaneCnt, nOutLaneNum, nOutLaneType, nLaneCnt, nOutLaneNum, nOutLaneType,
nOutLeftEdgeCrossType, nOutRightEdgeCrossType, nOutLeftEdgeCrossType, nOutRightEdgeCrossType,
nOutSpeedLimit, dOutLaneAngle, ptOutFoot,roadInfo,lCrossId); 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 #endif
} }
ObjInfoAll& obj = objAll; 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