Update 'README.md'

This commit is contained in:
2022-09-03 13:13:37 +03:00
parent 6ba224188d
commit 0fc381ea31

View File

@@ -1,12 +1,6 @@
# ORB-SLAM3 for linux
Redmine issue: https://redmine.drivecast.tech/issues/335
## Build ORB-SLAM3
Скачайте и установите все необходимые ниже перечисленные библиотеки, затем в папке ORB-SLAM3.
1. `mkdir build && cd build`
2. `cmake ..`
3. `make`
## mono-kitti examples.
1. Скомпилируйте файл папке **Examples/Stereo/stereo-kitti.cc** и запустите бинарник с параметрами: путь к словарю, путь к файлу с настройками, путь к папке с изображениями. Пример: `stereo-kitti /home/ivan/ivan/git/work_drivecast2/SLAM/ORB_SLAM3-1.0-release/Vocabulary/ORBvoc.txt /home/ivan/ivan/git/work_drivecast2/SLAM/ORB_SLAM3-1.0-release/Examples/Stereo/KITTI04-12.yaml /home/ivan/ivan/git/work_drivecast2/SLAM/datasets/mono-kitti/sequences/06`
2. Бинарник создаст файлы `CameraTrajectory.txt` и `RealtimeCameraTrajectory.txt`, они практически идентичные. Первый файл выдаёт чуть более точную траекторию, но она недоступна в режиме "онлайн", когда позиция камеры в моменте.
@@ -14,4 +8,10 @@ Redmine issue: https://redmine.drivecast.tech/issues/335
## Installation
Please refer to the original repository on the installation procedure: https://github.com/UZ-SLAMLab/ORB_SLAM3
Please refer to the original repository on the details of the installation procedure: https://github.com/UZ-SLAMLab/ORB_SLAM3
You can use the script to install the Thirdparty libraries and ORB-SLAM3 core and the examples. But make sure you have installed all the required packages (You may need to change the paths to the packages in your CMakeLists.txt):
`cd ORB-SLA3_Linux`
`chmod +x build.sh`
`./build.sh`