Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_rvfusion_cx
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
ChenKun
jfx_rvfusion_cx
Commits
34783443
Commit
34783443
authored
Jul 12, 2022
by
ChenKun
🕺🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Prob
parent
383ac80f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
trafficObject.h
incl/trafficObject.h
+1
-1
fusionDistribTask.cpp
src/fusionDistribTask.cpp
+2
-0
fusionTrajectionTask.cpp
src/fusionTrajectionTask.cpp
+1
-0
No files found.
incl/trafficObject.h
View file @
34783443
...
...
@@ -80,7 +80,7 @@ public:
double
mXPos
=
0
;
double
mYPos
=
0
;
int
mProb
=
0
;
double
mProb
=
0
;
uint64_t
mCount
=
0
;
uint64_t
mFMS
=
0
;
...
...
src/fusionDistribTask.cpp
View file @
34783443
...
...
@@ -189,6 +189,7 @@ void FusionDistributeTask::onLidarData(const jfx_common_msgs::det_tracking_array
tObjPtr
->
mHeight
=
obj
.
h
;
tObjPtr
->
mXPos
=
obj
.
x
;
tObjPtr
->
mYPos
=
obj
.
y
;
tObjPtr
->
mProb
=
obj
.
score
;
if
(
"person"
==
obj
.
name
)
{
tObjPtr
->
mTypeStr
=
"Person"
;
}
else
if
(
"car"
==
obj
.
name
)
{
...
...
@@ -261,6 +262,7 @@ void FusionDistributeTask::udpSrv()
tObjPtr
->
mYPos
=
obj
.
yPos
;
tObjPtr
->
mTypeStr
=
obj
.
type
;
tObjPtr
->
mSubType
=
0
;
tObjPtr
->
mProb
=
obj
.
score
;
mBufTrafficObjListMutex
.
lock
();
mBufTrafficObjList
.
push_back
(
tObjPtr
);
mBufTrafficObjListMutex
.
unlock
();
...
...
src/fusionTrajectionTask.cpp
View file @
34783443
...
...
@@ -276,6 +276,7 @@ void FusionTrajectionTask::outFusionObj3(int pos, FOBJPtr& fObjPtr, TOBJPtr& tOb
obj
.
obj_w
=
fObjPtr
->
mMainObj
->
mWidth
;
obj
.
obj_h
=
fObjPtr
->
mMainObj
->
mHeight
;
obj
.
heading
=
point
.
heading
;
obj
.
Prob
=
fObjPtr
->
mMainObj
->
mProb
;
obj
.
lane
=
0
;
obj
.
cross_name
=
""
;
obj
.
inner_pos
=
fObjPtr
->
mMainObj
->
mDevIDStr
;
...
...
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