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
4ab41865
Commit
4ab41865
authored
Jul 06, 2022
by
ChenKun
🕺🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加融合新配置
parent
d9a1e1a2
Pipeline
#1236
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
fusionConfig.h
incl/fusionConfig.h
+10
-0
fusionDef.h
incl/fusionDef.h
+6
-0
No files found.
incl/fusionConfig.h
View file @
4ab41865
...
...
@@ -18,7 +18,15 @@ public:
{
try
{
YAML
::
Node
conf
=
YAML
::
LoadFile
(
yamlFile
);
mStart
=
conf
[
"GlobalConfig"
][
"start"
].
as
<
bool
>
();
mMecID
=
conf
[
"GlobalConfig"
][
"mec_id"
].
as
<
string
>
();
string
receiveMsgMode
=
conf
[
"GlobalConfig"
][
"receive_msg"
].
as
<
string
>
();
if
(
receiveMsgMode
==
"ros"
)
mReceiveMsgMode
=
enRMModeRos
;
else
if
(
receiveMsgMode
==
"udp"
)
mReceiveMsgMode
=
enRMModeUdp
;
else
if
(
receiveMsgMode
==
"all"
)
mReceiveMsgMode
=
enRMModeAll
;
mClusterThreadNum
=
conf
[
"FusionConfig"
][
"thread"
].
as
<
int
>
();
mCrossCenterX
=
conf
[
"FusionConfig"
][
"center_lon"
].
as
<
double
>
();
mCrossCenterY
=
conf
[
"FusionConfig"
][
"center_lat"
].
as
<
double
>
();
...
...
@@ -117,6 +125,7 @@ public:
}
public
:
bool
mStart
=
true
;
bool
mBAppExit
=
false
;
bool
mBLogInData
=
true
;
bool
mBFusionStdout
=
false
;
...
...
@@ -133,6 +142,7 @@ public:
int
mDropFrameStep
=
50
;
bool
mIfDynamicChangeDropFrameStep
=
true
;
ENReceiveMsgMode
mReceiveMsgMode
=
enRMModeAll
;
ENTrafficSensMode
mFirstOutMode
=
enTSModeVideo
;
string
mCreateFusionObjMode
=
"rv"
;
...
...
incl/fusionDef.h
View file @
4ab41865
...
...
@@ -2,6 +2,12 @@
#include <stdint.h>
typedef
enum
_tagENReceiveMsgMode
{
enRMModeRos
=
0
,
enRMModeUdp
=
1
,
enRMModeAll
=
2
}
ENReceiveMsgMode
;
typedef
enum
_tagENTrafficSensMode
{
enTSModeUnknown
=
0
,
enTSModeVideo
=
1
,
...
...
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