Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
E
event_src
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
event_src
Commits
b3be51a2
Commit
b3be51a2
authored
Feb 20, 2023
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交打印信息
parent
5f856371
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
EventsRos.cpp
EventsRos.cpp
+3
-0
JfxEvents.cpp
events/JfxEvents.cpp
+2
-1
No files found.
EventsRos.cpp
View file @
b3be51a2
...
...
@@ -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
=
{};
...
...
events/JfxEvents.cpp
View file @
b3be51a2
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment