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
4ec356e7
Commit
4ec356e7
authored
Dec 28, 2021
by
oscar
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除刚启动时候做判断
parent
a1081697
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
JfxEvents.cpp
events/JfxEvents.cpp
+6
-2
No files found.
events/JfxEvents.cpp
View file @
4ec356e7
...
...
@@ -755,14 +755,18 @@ void JfxEvents::DetectEvents(TrkObjsPtr& objsPtr)
}
else
if
(
isChange
==
1
||
isChange
==
2
)
{
if
(
objA
.
stableLaneNum
!=
objA
.
lastLandNum
&&
objA
.
stableLaneNum
==
curLandNum
)
//变道的原来车道不是稳定车道,并且变过去的是稳定车道就取消变道逻辑
if
(
objA
.
stableLaneNum
==
0
||
(
objA
.
stableLaneNum
!=
objA
.
lastLandNum
&&
objA
.
stableLaneNum
==
curLandNum
)
)
//变道的原来车道不是稳定车道,并且变过去的是稳定车道就取消变道逻辑
{
isChange
=
0
;
}
}
else
if
(
isChange
==
3
)
{
if
(
objA
.
stableRoadId
!=
objA
.
lastRoadId
)
if
(
objA
.
stableLaneNum
==
0
)
{
isChange
=
0
;
}
else
if
(
objA
.
stableRoadId
!=
objA
.
lastRoadId
)
{
std
::
vector
<
long
>&
ntx
=
m_roadInfos
[
objA
.
stableRoadId
][
objA
.
stableLaneNum
].
vctlOutNxtRoadId
;
if
(
std
::
find
(
ntx
.
begin
(),
ntx
.
end
(),
objA
.
lastRoadId
)
==
ntx
.
end
())
...
...
oscar
@oscar
mentioned in commit
c2c3abe8
·
Dec 28, 2021
mentioned in commit
c2c3abe8
mentioned in commit c2c3abe8086eed4dd6d8e776513be22d69db9dc7
Toggle commit list
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