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
78d610fa
Commit
78d610fa
authored
Dec 16, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交读取文件
parent
8dae77d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
TrackingRos.cpp
TrackingRos.cpp
+7
-1
No files found.
TrackingRos.cpp
View file @
78d610fa
...
...
@@ -34,7 +34,13 @@ TrackingRos::~TrackingRos()
void
TrackingRos
::
Init
(
ros
::
NodeHandle
&
nh
)
{
YAML
::
Node
config
=
YAML
::
LoadFile
(
"/home/oscar/ros/git/catkin_ws_xishan/src/jfx_tracking/config/7-1.yaml"
);
std
::
string
folder
,
yaml
;
nh
.
param
<
std
::
string
>
(
"project_path"
,
folder
,
""
);
nh
.
param
<
std
::
string
>
(
"yaml_config"
,
yaml
,
"none"
);
std
::
string
file
=
folder
+
yaml
;
SDK_LOG
(
SDK_INFO
,
"load yaml file = %s"
,
file
.
c_str
());
YAML
::
Node
config
=
YAML
::
LoadFile
(
file
.
c_str
());
auto
cfg
=
config
[
"TRACKING"
];
...
...
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