-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pose Graph rewritten without Ceres #2892
Merged
Merged
Changes from 23 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
9ff635e
Works well on g2o dataset, cumulative:
savuor 69d05df
g2o dataset reading added to PoseGraph
savuor f89247d
sparse solver fixes from DynaFu draft
savuor 92834f8
Eigen cost function and parametrization removed + g2o reading fixed
savuor fdd92ce
refactored: pose error, pose graph edge, pose graph node
savuor f71f862
sparse solve: templated
savuor 01b1608
MyOptimize(): 1st version
savuor ff782d1
several fixes and TODOs for future
savuor 9b2fa9d
sparse block matrix: val functions, template type
savuor ccb4262
works at Ceres quality (cleanup needed)
savuor 7a2126c
MyOptimize() is set to default optimizer
savuor 638b8d7
Ceres thrown away, PoseGraph class and header/source code reorganized
savuor 91b0b27
pose, node, edge -> nested for PoseGraph
savuor 264ccbf
warnings fixed
savuor c3bb3a6
jacobiScaling disabled for better performance + minors
savuor 512b40f
trailing whitespace fixed
savuor 155e3eb
more warnings fixed
savuor e90100f
message added: Eigen is required for build + minors
savuor 7c1a205
trying to fix warning
savuor 87c959f
try to fix "unreachable code" warning
savuor 2d5bd7e
trying to fix unreachable code, pt.3
savuor 8d64f2a
trying to fix unreachable code, pt. 5
savuor a37c1ba
trying to fix unreachable code, pt. the worst + minors
savuor 54264ba
try to fix unreachable code, pt. the ugliest
savuor 25d67f8
trying to fix unreachable code, pt. the grumpiest
savuor 170f1f3
cout -> CV_LOG_INFO
savuor ca6eef2
quat matrix functions moved outside cv and kinfu namespaces
savuor a718ade
unused function fix
savuor ae792cf
pose graph made public (but in detail namespace) + test for pose graph
savuor afd11f3
minor: prints
savuor 6f4da67
Pose Graph interface settled
savuor c6f730f
Pose graph interface and its use updated
savuor 9969c10
cos -> std::cos
savuor 38a9b29
cout -> CV_LOG_INFO
savuor 0be999d
pose graph interface updated: implementation
savuor de7a39c
Pose Graph Node and Edge: extra fields dropped
savuor c8d3c6e
more minor refactor-like fixes
savuor d31536f
return and finish condition fixed
savuor a3d6741
more updates to test
savuor f53b44c
test disabled for Debug builds because 400 sec is too much
savuor 5c6c126
whitespace
savuor f9adf77
Disable pose graph test if there's no Eigen
savuor 1e67e3c
more unused vars
savuor 5527997
fixing unused function warning
savuor 2756e62
less includes
savuor 5d13e84
"verbose" removed
savuor 8fcf78b
write obj to file only when debug level is raised
savuor a99db27
License + include guard
savuor c30d23c
skip test using tags and SkipTestException
savuor ebed66b
suppress "unused function" warning
savuor e1e5ff7
minor
savuor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
set(the_description "RGBD algorithms") | ||
|
||
find_package(Ceres QUIET) | ||
ocv_define_module(rgbd opencv_core opencv_calib3d opencv_imgproc OPTIONAL opencv_viz WRAP python) | ||
|
||
if(Ceres_FOUND) | ||
ocv_target_compile_definitions(${the_module} PUBLIC CERES_FOUND) | ||
ocv_target_link_libraries(${the_module} ${CERES_LIBRARIES}) | ||
if(Ceres_VERSION VERSION_LESS 2.0.0) | ||
ocv_include_directories("${CERES_INCLUDE_DIRS}") | ||
endif() | ||
add_definitions(/DGLOG_NO_ABBREVIATED_SEVERITIES) # avoid ERROR macro conflict in glog (ceres dependency) | ||
else() | ||
message(STATUS "rgbd: CERES support is disabled. Ceres Solver is Required for Posegraph optimization") | ||
if(NOT HAVE_EIGEN) | ||
message(STATUS "rgbd: Eigen support is disabled. Eigen is Required for Posegraph optimization") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it make sense to keep both implementations (to compare results) for some timeframe (e.g., until we have robust tests)?