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
c546d668
Commit
c546d668
authored
Sep 18, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复被删除的nodeName的代码。
parent
3628d386
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
TrackingRos.cpp
TrackingRos.cpp
+3
-0
TrackingRos.h
TrackingRos.h
+1
-0
No files found.
TrackingRos.cpp
View file @
c546d668
...
...
@@ -245,6 +245,8 @@ void TrackingRos::Init(ros::NodeHandle& nh)
if
(
ret
!=
0
)
return
;
m_config
=
parser
.
entry
[
"TRACKING_YAML_NODE"
];
config
=
m_config
;
m_nodeName
=
parser
.
node_name
;
SDK_LOG
(
SDK_INFO
,
"m_nodeName = %s"
,
m_nodeName
.
c_str
());
}
else
{
...
...
@@ -667,6 +669,7 @@ void TrackingRos::ThreadTrackingProcess()
box
.
pose
.
orientation
.
y
=
R_quat
.
y
();
box
.
pose
.
orientation
.
z
=
R_quat
.
z
();
box
.
pose
.
orientation
.
w
=
R_quat
.
w
();
obj
.
device
=
m_nodeName
;
sendBoxes
.
boxes
.
emplace_back
(
box
);
sendObjs
.
array
.
emplace_back
(
obj
);
#ifdef _SEND_ABUZHABI_
...
...
TrackingRos.h
View file @
c546d668
...
...
@@ -63,5 +63,6 @@ public:
float
m_lidar_x_angle
=
0
.
0
f
;
//修改rot_y的参数,从配置里读取
std
::
string
m_root_dir
;
//存储统一的根目录路径
std
::
string
m_nodeName
;
//点位信息,现在就是10-1,1-1等信息
YAML
::
Node
m_config
;
//配置的yaml文件
};
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