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
883b427e
Commit
883b427e
authored
Jul 08, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
9203e26d
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 @
883b427e
...
...
@@ -182,6 +182,7 @@ 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
;
}
else
{
...
...
@@ -444,7 +445,9 @@ void TrackingRos::ThreadTrackingProcess()
for
(
auto
&
iter
:
trackers
)
{
jfx_common_msgs
::
det_tracking
obj
=
{};
obj
.
device
=
m_nodeName
;
jfx_common_msgs
::
det_tracking
input_obj
=
{};
input_obj
.
device
=
m_nodeName
;
int
last_type
=
-
1
;
int
is_need_send
=
0
;
//是否需要发送
if
(
updateId
.
find
(
iter
.
first
)
!=
updateId
.
end
())
...
...
TrackingRos.h
View file @
883b427e
...
...
@@ -58,5 +58,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