Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
its
cam_lidar_calibration
Commits
3b02f031
Commit
3b02f031
authored
Nov 11, 2019
by
James Ward
Browse files
Avoid narrowing conversion
parent
c40dbe70
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/feature_extractor.cpp
View file @
3b02f031
...
...
@@ -471,7 +471,7 @@ FeatureExtractor::locateChessboard(const sensor_msgs::Image::ConstPtr& image)
cv
::
Mat
rmat
;
cv
::
Rodrigues
(
rvec
,
rmat
);
cv
::
Mat
z
{
0.
,
0.
,
1.
}
;
cv
::
Mat
z
=
cv
::
Mat
(
cv
::
Point3d
(
0.
,
0.
,
1.
))
;
auto
chessboard_normal
=
rmat
*
z
;
std
::
vector
<
cv
::
Point3d
>
corner_vectors
;
...
...
Write
Preview
Supports
Markdown
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