Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
a8bb0f95
Commit
a8bb0f95
authored
6 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Tuning
parent
94d1064b
No related branches found
No related tags found
1 merge request
!233
WIP: Apriltag
Pipeline
#2434
passed
6 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/examples/test_apriltag.cpp
+5
-5
5 additions, 5 deletions
src/examples/test_apriltag.cpp
with
5 additions
and
5 deletions
src/examples/test_apriltag.cpp
+
5
−
5
View file @
a8bb0f95
...
@@ -44,9 +44,9 @@ int main(int argc, char *argv[])
...
@@ -44,9 +44,9 @@ int main(int argc, char *argv[])
// General execution options
// General execution options
bool
APPLY_CONTRAST
=
tru
e
;
const
bool
APPLY_CONTRAST
=
fals
e
;
bool
IMAGE_OUTPUT
=
true
;
const
bool
IMAGE_OUTPUT
=
true
;
bool
USEMAP
=
true
;
const
bool
USEMAP
=
true
;
WOLF_INFO
(
"==================== processor apriltag test ======================"
)
WOLF_INFO
(
"==================== processor apriltag test ======================"
)
...
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
...
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
draw_apriltag
(
img
->
getImage
(),
fa
->
getTagCorners
(),
1
);
draw_apriltag
(
img
->
getImage
(),
fa
->
getTagCorners
(),
1
);
}
}
cv
::
imshow
(
img
->
getName
(),
img
->
getImage
()
);
// display original image.
cv
::
imshow
(
img
->
getName
(),
img
->
getImage
()
);
// display original image.
cv
::
waitKey
(
0.
1
);
cv
::
waitKey
(
1
);
}
}
}
}
}
}
...
@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
...
@@ -184,7 +184,7 @@ int main(int argc, char *argv[])
WOLF_INFO
(
"==================== Solve problem ======================"
)
WOLF_INFO
(
"==================== Solve problem ======================"
)
std
::
string
report
=
ceres_manager
->
solve
(
SolverManager
::
ReportVerbosity
::
FULL
);
// 0: nothing, 1: BriefReport, 2: FullReport
std
::
string
report
=
ceres_manager
->
solve
(
SolverManager
::
ReportVerbosity
::
FULL
);
// 0: nothing, 1: BriefReport, 2: FullReport
WOLF_DEBUG
(
report
);
WOLF_DEBUG
(
report
);
problem
->
print
(
4
,
1
,
1
,
1
);
problem
->
print
(
3
,
1
,
1
,
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment