From 9095bac8ae1e5ca5e69c9548a6a6b858db9cac32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=9F=D0=BE=D0=B4=D0=BC=D0=BE?= =?UTF-8?q?=D0=B3=D0=B8=D0=BB=D1=8C=D0=BD=D1=8B=D0=B9?= Date: Thu, 20 Jan 2022 14:36:24 +0300 Subject: [PATCH] Update 'README.md' --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1c7b2bc..184cc35 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,14 @@ # Changed version of ORB_SLAM3 for Windows 10. Project is provided with already built ORB_SLAM3.lib library. You might want to skip the build part and put the library from `lib/ORB_SLAM3.lib` to `build/Release/ORB_SLAM3.lib` +## If you downloaded ORB_SLAM3 from the official repository, all you need to do is: +1. Add unistd.h and getopt.c and getopt.h to include/ folder. +2. Add `void usleep(__int64 usec);` to `Sytem.h` before `namespace ORB_SLAM3`, and add: +void usleep(__int64 usec){ + std::this_thread::sleep_for(std::chrono::microseconds(usec)); +} +to the `System.cc`file before `namespace ORB_SLAM3`. + ## Prerequisites - OpenCV3 (Not from Anaconda): https://opencv.org/releases/ - Boost (You need to build it): https://www.boost.org/users/download/