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
d1251704
Commit
d1251704
authored
Nov 11, 2019
by
James Ward
Browse files
Add corners in same order as paper
parent
87c471b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/feature_extractor.cpp
View file @
d1251704
...
...
@@ -507,10 +507,11 @@ void FeatureExtractor::extractRegionOfInterest(const sensor_msgs::Image::ConstPt
cv
::
Point3d
left
(
corner
[
0
],
corner
[
1
],
corner
[
2
]);
pcl
::
lineWithLineIntersection
(
top_right
,
bottom_right
,
corner
);
cv
::
Point3d
right
(
corner
[
0
],
corner
[
1
],
corner
[
2
]);
// Add points in same order as the paper
sample
.
lidar_corners
.
push_back
(
right
);
sample
.
lidar_corners
.
push_back
(
top
);
sample
.
lidar_corners
.
push_back
(
left
);
sample
.
lidar_corners
.
push_back
(
bottom
);
sample
.
lidar_corners
.
push_back
(
right
);
for
(
const
auto
&
p
:
sample
.
lidar_corners
)
{
...
...
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