From 2b12cbaa9bee282633fd25caec90504600d61ab8 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sat, 29 May 2021 14:02:38 -0400 Subject: [PATCH] about to do a swap in cv language --- Cargo.toml | 2 +- {odm => leapdebug}/Cargo.toml | 3 +-- {odm => leapdebug}/src/cli/logging.rs | 0 {odm => leapdebug}/src/cli/mod.rs | 0 {odm => leapdebug}/src/main.rs | 0 libodm/src/lib.rs | 3 +-- libodm/src/stereo/mod.rs | 9 --------- scripts/inspect-core.sh | 2 +- odm.sh => scripts/leapdebug.sh | 0 9 files changed, 4 insertions(+), 15 deletions(-) rename {odm => leapdebug}/Cargo.toml (91%) rename {odm => leapdebug}/src/cli/logging.rs (100%) rename {odm => leapdebug}/src/cli/mod.rs (100%) rename {odm => leapdebug}/src/main.rs (100%) delete mode 100644 libodm/src/stereo/mod.rs rename odm.sh => scripts/leapdebug.sh (100%) diff --git a/Cargo.toml b/Cargo.toml index 83bba96..2b82e05 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,2 +1,2 @@ [workspace] -members = ["libodm", "odm"] +members = ["libodm", "leapdebug"] diff --git a/odm/Cargo.toml b/leapdebug/Cargo.toml similarity index 91% rename from odm/Cargo.toml rename to leapdebug/Cargo.toml index 544ef1f..af15793 100644 --- a/odm/Cargo.toml +++ b/leapdebug/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "odm" +name = "leapdebug" version = "0.1.0" authors = ["Evan Pratten "] edition = "2018" @@ -8,7 +8,6 @@ edition = "2018" [dependencies] libodm = { version = "0.1.0", path = "../libodm"} -clap = "2.33.3" fern = "0.6.0" log = "0.4.14" chrono = "0.4.19" \ No newline at end of file diff --git a/odm/src/cli/logging.rs b/leapdebug/src/cli/logging.rs similarity index 100% rename from odm/src/cli/logging.rs rename to leapdebug/src/cli/logging.rs diff --git a/odm/src/cli/mod.rs b/leapdebug/src/cli/mod.rs similarity index 100% rename from odm/src/cli/mod.rs rename to leapdebug/src/cli/mod.rs diff --git a/odm/src/main.rs b/leapdebug/src/main.rs similarity index 100% rename from odm/src/main.rs rename to leapdebug/src/main.rs diff --git a/libodm/src/lib.rs b/libodm/src/lib.rs index e3c6a9b..0fe478b 100644 --- a/libodm/src/lib.rs +++ b/libodm/src/lib.rs @@ -1,5 +1,4 @@ #![feature(static_nobundle)] pub mod leapmotion; -pub mod image; -pub mod stereo; \ No newline at end of file +pub mod image; \ No newline at end of file diff --git a/libodm/src/stereo/mod.rs b/libodm/src/stereo/mod.rs deleted file mode 100644 index f1d0460..0000000 --- a/libodm/src/stereo/mod.rs +++ /dev/null @@ -1,9 +0,0 @@ -// use crate::image::Image; -// use opencv::stereo::MatchQuasiDense; - - -// pub fn stereo_from_images(left: &Image, right: &Image) { - -// MatchQuasiDense - -// } \ No newline at end of file diff --git a/scripts/inspect-core.sh b/scripts/inspect-core.sh index 073538d..b947d7b 100755 --- a/scripts/inspect-core.sh +++ b/scripts/inspect-core.sh @@ -1,5 +1,5 @@ #! /bin/bash set -e - +cargo build LD_LIBRARY_PATH="$(pwd)/libodm/dist:$LD_LIBRARY_PATH" gdb ./target/debug/odm \ No newline at end of file diff --git a/odm.sh b/scripts/leapdebug.sh similarity index 100% rename from odm.sh rename to scripts/leapdebug.sh