From 39c688019bc7f47a8c78f3c6683692c8dc19c321 Mon Sep 17 00:00:00 2001 From: PodmogilnyjIvan Date: Sun, 5 Dec 2021 08:10:19 -0800 Subject: [PATCH] deleted basic_tutorial scripts --- CMakeLists.txt | 17 ----------------- README.md | 30 ++++++++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b3f0f31..bf88e97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,23 +166,6 @@ ENDIF() #endforeach() ##################### Debug End -add_executable(basic-tutorial-1 basic-tutorial-1.cpp) -target_link_libraries(basic-tutorial-1 ${GST_LIBRARIES}) - -add_executable(basic-tutorial-2 basic-tutorial-2.cpp) -target_link_libraries(basic-tutorial-2 ${GST_LIBRARIES}) - -add_executable(basic-tutorial-3 basic-tutorial-3.cpp) -target_link_libraries(basic-tutorial-3 ${GST_LIBRARIES}) - -add_executable(basic-tutorial-4 basic-tutorial-4.cpp) -target_link_libraries(basic-tutorial-4 ${GST_LIBRARIES}) - -add_executable(basic-tutorial-8 basic-tutorial-8.cpp) -target_link_libraries(basic-tutorial-8 - ${GST_LIBRARIES} ${GST_AUDIO_LIBRARIES} ${GST_APP_LIBRARIES} ${GST_VIDEO_LIBRARIES} -) - add_executable(gst_ndi gst_ndi.h gst_ndi.cpp ) diff --git a/README.md b/README.md index afabebf..6613b1f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,30 @@ -1. put run_gst_loopthrough_capture.bat in the folder, where the binary is located. -2. install changed Gstreamer from DriveCast and run the run_ndi_start_testvideosrc_ball to test. +# ORB_SLAM3 data processor and the networking pipeline. + + + +## Prerequisites +1. Install cmake: https://cmake.org/download/ +2. Install Gstreamer. Download and follow the instructions guideline from DriveCast. +3. Install OSCPack_1_1_0: http://www.rossbencina.com/code/oscpack +4. Install vcpkg: https://vcpkg.io/en/getting-started.html +5. Install Visual Studio 2019. Install the version of Windows SDK 10.0.20348.0 +6. Download and build changed ORB_SLAM3 library from here: https://git.drivecast.tech/PodmogilnyjIvan/ORB_SLAM3 For the build instructions refer to the repository. + +## Build oscpack: +1. In the extracted folder: `mkdir build && cd build` +2. `cmake ..` +3. Open `TestOscPack.sln` project in Visual Studio. Edit Preferences ONLY of oscpack +4. Change: General -> Configuration Type -> Static Library (.lib) +5. Also: Advanced -> Target File Extension -> .lib +6. Build oscpack, OscReceiveTest, SimpleReceive, SimpleSend, OscSendTests + + +## Build MyGst + + + +1. put run_gst_loopthrough_capture.bat in the folder, where the binary is located. 3. open cmd, and run `activate-env.cmd` from Gstreamer, then run `mkdir build && cd build`, and finally `cmake -D_CMAKE_TOOLCHAIN_FILE=XXX ..`, where XXX is a path to VCPKG, example: C:/Users/ivan/Source/Repos/ORB_SLAM3/Thirdparty/Pangolin/vcpkg/scripts/buildsystems/vcpkg.cmake + +1. Install changed Gstreamer from DriveCast.