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
151d9f40
Commit
151d9f40
authored
Aug 31, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
bf12f13c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TrackingRos2.cpp
ros2/TrackingRos2.cpp
+2
-2
No files found.
ros2/TrackingRos2.cpp
View file @
151d9f40
...
...
@@ -420,9 +420,9 @@ void TrackingRos2::TrackingPorcess(objTrackListPtr objsPtr) {
markerText
.
color
.
b
=
0.0
f
;
markerText
.
color
.
a
=
1.0
;
char
str
[
512
]
=
{};
//
sprintf(str, "%lld:%.2f",iter.first,linear.x);
sprintf
(
str
,
"%lld:%.2f"
,
iter
.
first
,
linear
.
x
);
// sprintf(str, "%.1f:%d:%d",cof,iter.first,obj.classification[0].label);
sprintf
(
str
,
"%.2f:%d:%.2f:%.2f"
,
cof
,
obj
.
classification
[
0
].
label
,
poss
.
y
,
poss
.
x
);
//
sprintf(str, "%.2f:%d:%.2f:%.2f",cof,obj.classification[0].label,poss.y,poss.x);
markerText
.
text
=
str
;
makerTextArray
.
markers
.
emplace_back
(
markerText
);
RCLCPP_INFO
(
this
->
get_logger
(),
"tracking obj info id = %lld, label = %d,cof = %.2f,pos = [%.2f,%.2f,%.2f],linear = [%.2f,%.2f]"
,
...
...
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