Skip to content

Commit

Permalink
Merge pull request #1 from gaoxiang12/master
Browse files Browse the repository at this point in the history
Keep forked repo updated.
  • Loading branch information
delyex authored Mar 3, 2019
2 parents 4ecaa04 + a548002 commit e7d3314
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ch10/ceres_custombundle/common/BundleParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ struct BundleParams{
arg.param("point_sigma",point_sigma,0.0,"Standard deviation of the point "
"perturbation.");
arg.param("random_seed", random_seed, 38401,"Random seed used to set the state ");
arg.param("initial_ply", initial_ply,"initial_ply","Export the BAL file data as a PLY file.");
arg.param("final_ply", final_ply, "final_ply", "Export the refined BAL file data as a PLY");
arg.param("initial_ply", initial_ply,"initial.ply","Export the BAL file data as a PLY file.");
arg.param("final_ply", final_ply, "final.ply", "Export the refined BAL file data as a PLY");


arg.parseArgs(argc, argv);
Expand Down
2 changes: 1 addition & 1 deletion ch10/g2o_custombundle/g2o_bal_class.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class EdgeObservationBAL : public g2o::BaseBinaryEdge<2, Eigen::Vector2d,VertexC
{
assert ( 0 && "Error while differentiating" );
_jacobianOplusXi.setZero();
_jacobianOplusXi.setZero();
_jacobianOplusXj.setZero();
}
}
};
4 changes: 2 additions & 2 deletions ch5/imageBasics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ project( imageBasics )
set( CMAKE_CXX_FLAGS "-std=c++11" )

# 寻找OpenCV库
find_package( OpenCV REQUIRED )
find_package( OpenCV 3 REQUIRED )
# 添加头文件
include_directories( ${OpenCV_INCLUDE_DIRS} )

add_executable( imageBasics imageBasics.cpp )
# 链接OpenCV库
target_link_libraries( imageBasics ${OpenCV_LIBS} )
target_link_libraries( imageBasics ${OpenCV_LIBS} )

0 comments on commit e7d3314

Please sign in to comment.