Skip to content

Commit

Permalink
Merge pull request gaoxiang12#114 from collenjones/fixCh3
Browse files Browse the repository at this point in the history
Fix ch3 so buildable
  • Loading branch information
gaoxiang12 authored Jul 21, 2020
2 parents 69b4358 + 11dd52d commit 9382d90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ch4/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8)
cmake_minimum_required(VERSION 3.0)
project(useSophus)

# 为使用 sophus,需要使用find_package命令找到它
Expand Down
4 changes: 2 additions & 2 deletions ch4/useSophus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ int main(int argc, char **argv) {
// 最后,演示一下更新
Vector6d update_se3; //更新量
update_se3.setZero();
update_se3(0, 0) = 1e-4d;
update_se3(0, 0) = 1e-4;
Sophus::SE3d SE3_updated = Sophus::SE3d::exp(update_se3) * SE3_Rt;
cout << "SE3 updated = " << endl << SE3_updated.matrix() << endl;

return 0;
}
}

0 comments on commit 9382d90

Please sign in to comment.