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
74f7d848
Commit
74f7d848
authored
Jan 21, 2022
by
wanghailong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
最终版
parent
35eafdee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TrackingRosEx.cpp
TrackingRosEx.cpp
+3
-3
No files found.
TrackingRosEx.cpp
View file @
74f7d848
...
...
@@ -232,8 +232,8 @@ void get_camera_left_tolidar_loc(float u, float v, float& x, float& y)
auto
sry
=
(
-
relaty
)
*
cos
(
M_PI
/
4
)
-
(
-
relatx
)
*
sin
(
M_PI
/
4
);
//srx = srx + 5;
//sry = sry + 5*( u < 700 ? 1 : (1 + (u - 700)/240));
x
=
srx
;
y
=
sry
;
x
=
srx
+
4
;
y
=
sry
+
2
;
}
TrackingRos
::~
TrackingRos
()
...
...
@@ -693,7 +693,7 @@ objTrackListPtr TrackingRos::GetNearestCloudMsg(unsigned long long timestamp)
{
//unsigned long long time_s = m_objsCloudQueue[i]->cloud.header.stamp.toSec() * 1000000;
unsigned
long
long
time_s
=
(
unsigned
long
long
)
m_objsCloudQueue
[
i
]
->
cloud
.
header
.
stamp
.
sec
*
1000000
+
(
unsigned
long
long
)
m_objsCloudQueue
[
i
]
->
cloud
.
header
.
stamp
.
nsec
*
1e-3
+
100
;
if
(
labs
(
timestamp
-
time_s
)
<
std
::
min
(
1
00
,
interval
))
if
(
labs
(
timestamp
-
time_s
)
<
std
::
min
(
5
00
,
interval
))
{
msg
=
m_objsCloudQueue
[
i
];
findIdx
=
i
;
...
...
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