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
eb109d88
Commit
eb109d88
authored
Jan 12, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
f6a4d051
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TrackingRosEx.cpp
TrackingRosEx.cpp
+2
-2
No files found.
TrackingRosEx.cpp
View file @
eb109d88
...
...
@@ -154,7 +154,7 @@ void get_camera_tolidar_loc(float u, float v, float& x, float& y)
}
void
get_camera_right_tolidar_loc
(
float
u
,
float
v
,
float
&
x
,
float
&
y
)
{
SDK_LOG
(
SDK_INFO
,
"get_camera_right_tolidar_loc u= %f,v = %f"
,
u
,
v
);
//
SDK_LOG(SDK_INFO, "get_camera_right_tolidar_loc u= %f,v = %f",u,v);
float
camera
[
3
][
3
]
=
{
6.3504560297918590e+02
,
0.0
,
6.2178154273047369e+02
,
0.0
,
6.3430547692629773e+02
,
3.6059071556316638e+02
,
0.0
,
0.0
,
1.0
};
cv
::
Mat
cameraMatrix
=
cv
::
Mat
(
3
,
3
,
CV_32F
,
camera
);
float
dist
[
5
]
=
{
-
2.8832763961089897e-01
,
7.8904579864635727e-02
,
-
3.3990455415458144e-05
,
8.6290635804868075e-04
,
-
9.5910232578267241e-03
};
//摄像机内参数矩阵K
...
...
@@ -185,7 +185,7 @@ void get_camera_right_tolidar_loc(float u, float v, float& x, float& y)
sry
=
sry
-
1
;
x
=
srx
;
y
=
sry
;
SDK_LOG
(
SDK_INFO
,
"get_camera_right_tolidar_loc end x= %f,y = %f"
,
x
,
y
);
//
SDK_LOG(SDK_INFO, "get_camera_right_tolidar_loc end x= %f,y = %f", x, y);
}
void
get_camera_left_tolidar_loc
(
float
u
,
float
v
,
float
&
x
,
float
&
y
)
...
...
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