Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_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
jfx_kalman_filter_src
Commits
9a5c21b9
Commit
9a5c21b9
authored
Feb 28, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交读取配置修改
parent
40a407f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TrackingRos.cpp
TrackingRos.cpp
+3
-3
No files found.
TrackingRos.cpp
View file @
9a5c21b9
...
...
@@ -170,7 +170,7 @@ void TrackingRos::Init(ros::NodeHandle& nh)
if
(
run_mode
==
1
)
{
std
::
string
entry_yaml
;
private_
nh
.
param
<
std
::
string
>
(
"entry_yaml"
,
entry_yaml
,
"/home/nvidia/oscar/catkin_ws/src/jfx_yolo5/"
);
nh
.
param
<
std
::
string
>
(
"entry_yaml"
,
entry_yaml
,
"/home/nvidia/oscar/catkin_ws/src/jfx_yolo5/"
);
QichechengYamlParser
parser
;
int
ret
=
parser
.
parse_yaml
(
entry_yaml
,
m_root_dir
);
if
(
ret
!=
0
)
return
;
...
...
@@ -180,8 +180,8 @@ void TrackingRos::Init(ros::NodeHandle& nh)
else
{
std
::
string
config_yaml
,
yaml_config
;
private_
nh
.
param
<
std
::
string
>
(
"unittest_yaml"
,
config_yaml
,
""
);
private_
nh
.
param
<
std
::
string
>
(
"yaml_config"
,
yaml_config
,
""
);
nh
.
param
<
std
::
string
>
(
"unittest_yaml"
,
config_yaml
,
""
);
nh
.
param
<
std
::
string
>
(
"yaml_config"
,
yaml_config
,
""
);
m_config
=
YAML
::
LoadFile
(
config_yaml
);
config
=
YAML
::
LoadFile
(
yaml_config
.
c_str
());
SDK_LOG
(
SDK_INFO
,
"load yaml file = %s"
,
yaml_config
.
c_str
());
...
...
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