Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wyz960616 authored Nov 20, 2020
1 parent 4ac4fe3 commit b280471
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Sample codes to conduct 2D pose graph optimization with Ceres Solver or G2O.

* Eigen 3.3 or later
* Ceres Solver 1.12.0 or later
* g2o
* g2o
* Python with matplotlib

## Build

```bash
$ git clone https://github.com/wyz960616/toy_pose_graph_2d_Ceres_G20.git
$ cd pose_graph_demo_Ceres_G2O
$ cd toy_pose_graph_2d_Ceres_G20
$ mkdir build
$ cd build
$ cmake ..
Expand All @@ -23,15 +23,15 @@ $ make -j4
## Optimize

```bash
$ cd pose_graph_demo_Ceres_G2O/bin
$ cd toy_pose_graph_2d_Ceres_G20/bin
$ ./PoseGraphDemoG2O ../datas/manhattan.g2o
$ ./PoseGraphDemoCeres ../data/manhattan.g2o
```

## Visualize

```bash
$ cd pose_graph_demo_Ceres_G2O/script
$ cd toy_pose_graph_2d_Ceres_G20/script
$ python plot_results.py poses_original_ceres.txt poses_optimized_ceres.txt
$ python plot_results.py poses_original_g2o.txt poses_optimized_g2o.txt

Expand All @@ -40,7 +40,7 @@ $ python plot_results.py poses_original_g2o.txt poses_optimized_g2o.txt
Or using g2o_viewer:

```bash
$ cd pose_graph_demo_Ceres_G2O/datas
$ cd toy_pose_graph_2d_Ceres_G20/datas
$ g2o_viewer manhattan.g2o
$ g2o_viewer manhattan_result.g2o

Expand Down

0 comments on commit b280471

Please sign in to comment.