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
5efb7a2d
Commit
5efb7a2d
authored
Dec 27, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
244547f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TrackingRos.cpp
TrackingRos.cpp
+4
-0
No files found.
TrackingRos.cpp
View file @
5efb7a2d
...
...
@@ -175,15 +175,19 @@ void TrackingRos::Init(ros::NodeHandle& nh)
float
threshold
;
nh
.
param
<
float
>
(
"iou_threshold"
,
threshold
,
0.01
);
SDK_LOG
(
SDK_INFO
,
"iou_threshold = %f"
,
iou_threshold
);
m_tracker
.
SetIouThreshold
(
threshold
);
int
max_coastcycles
;
nh
.
param
<
int32_t
>
(
"max_coastcycles"
,
max_coastcycles
,
2
);
SDK_LOG
(
SDK_INFO
,
"max_coastcycles = %d"
,
max_coastcycles
);
m_tracker
.
SetMaxCoastCycles
(
max_coastcycles
);
int
update_valid_count
;
nh
.
param
<
int32_t
>
(
"update_valid_count"
,
update_valid_count
,
2
);
SDK_LOG
(
SDK_INFO
,
"update_valid_count = %d"
,
update_valid_count
);
m_tracker
.
SetValidUpdateCount
(
update_valid_count
);
float
matrix_angle_r_value
;
nh
.
param
<
float
>
(
"matrix_angle_r_value"
,
matrix_angle_r_value
,
0.1
);
SDK_LOG
(
SDK_INFO
,
"matrix_angle_r_value = %f"
,
matrix_angle_r_value
);
std
::
vector
<
float
>
values
;
values
.
push_back
(
matrix_angle_r_value
);
m_tracker
.
SetValues
(
values
);
...
...
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