Skip to content

Commit 08988e8

Browse files
authored
Update README.md
1 parent 1fe0c7a commit 08988e8

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,33 @@ More recent version would be OK.
2222
<summary>TroubleShooting</summary>
2323
If you have installed g2o through ROS (if you have ROS packages like `base_local_planner`/`teb_local_planner`/`mpc_local_planner`), please exclude it from LD_LIBRARY_PATH environment variable, or `source config/settings.sh`. </details>
2424
* For performance, build/rebuild g2o with CMake flag `-DG2O_USE_OPENMP=ON`. See [here](https://github.com/RainerKuemmerle/g2o/issues/689#issuecomment-1565658030).
25-
# How to Use
26-
## Step 1
25+
## Step 1: Estimate Camera and Lidar Poses
26+
### orb_slam
27+
an example command for KITTI 04 Sequence:
28+
```
29+
./orb_store ../data/04/ ../config/orb_ori/KITTI04-12.yaml ../data/Vocabulary/ORBvoc.txt ../KITTI-04/slam_res/Twc.txt ../KITTI-04/KeyFrames/ ../KITTI-04/Map.yml 1.5
30+
```
31+
* `../data/04/`: sequence directory of KITTI Sequence 04
32+
* `../config/orb_ori/KITTI04-12.yaml`: yaml file for ORB_SLAM
33+
* `../data/Vocabulary/ORBvoc.txt`: DBoW2 Vocabulary txt file for ORB_SLAM
34+
* `../KITTI-04/slam_res/Twc.txt`: KeyFrame poses saved by ORB_SLAM, in KITTI format
35+
* ```../KITTI-04/KeyFrames/```: KeyFrame information saved by ORB_SLAM, can be restored during runtime
36+
* ```../KITTI-04/Map.yml```: Map saved by ORB_SLAM, can be restored during runtime
37+
* ```1.5```: Slow Rate of ORB_SLAM2. Duration between Frames: computation + wait_time >= 1.5 * real timestamp
38+
### F-LOAM
39+
an example command for KITTI 04 Sequence:
40+
```
41+
./floam_run ../data/04/velodyne/ ../KITTI-04/slam_res/floam_raw_04.txt
42+
```
43+
* ```../data/04/velodyne/```: directory containing the Lidar PointClouds, whose filenames must be sorted by timestamp.
44+
* ```../KITTI-04/slam_res/floam_raw_04.txt```: Lidar Poses Estimated by F-LOAM.
45+
<details><summary>Note</summary>Note that the number of Lidar Poses is not equal to Camera poses because ORB_SLAM only saved KeyFrame Poses. However, the File Id (FrameId) of these KeyFrames are saved to 'FrameId.yml' in the same directory of 'Map.yml'</details>
46+
47+
### F-LOAM Backend Optimization
48+
an example command for KITTI 04 Sequence:
49+
```
50+
./floam_backend ../config/loam/backend.yml ../KITTI-04/slam_res/floam_raw_08.txt ../data/04/velodyne/
51+
```
52+
* ```../config/loam/backend.yml```: config file of backend optimzation
53+
* ```../KITTI-04/slam_res/floam_raw_08.txt```: Lidar poses estimated by F-LOAM
54+
* ```../data/04/velodyne/```: directory containing the Lidar PointClouds, whose filenames must be sorted by timestamp.

0 commit comments

Comments
 (0)