From 28668532ed2f97a3883be7e68bced252bd1f99bf Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期三, 23 三月 2022 15:29:18 +0800
Subject: [PATCH] rearrange the dir tree
---
scripts_launch/TEST_SlamAuto.bat | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/TEST_SlamAuto.bat b/scripts_launch/TEST_SlamAuto.bat
similarity index 88%
rename from TEST_SlamAuto.bat
rename to scripts_launch/TEST_SlamAuto.bat
index 8c5bcd8..5ba9907 100644
--- a/TEST_SlamAuto.bat
+++ b/scripts_launch/TEST_SlamAuto.bat
@@ -2,7 +2,7 @@
@REM change to the filepath
cd %~dp0
-echo change to path: %cd%
+cd ..
set aerialpython=%cd%/env/aerial_deploy/python.exe
set envsetting=%cd%/env/SettingEnv.bat
@@ -11,6 +11,10 @@
if not exist %aerialpython% (
call %envsetting%
)
+cd %~dp0
+cd ..
+
+echo change to path: %cd%
@REM pre-defined parameters
set port=COM11
@@ -55,16 +59,16 @@
set /p choice=Please verify the parameters and choice [y/n]:
-cd %~dp0
-echo change to path: %cd%
if %choice% == y (
- %aerialpython% ./src/auto_slam.py %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder%
+ %aerialpython% ./scripts/slamAutoMode.py %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder%
@REM -------------- Usage: plot_ply.py [PLYfile]"
- %aerialpython% ./src/utils/plot_ply.py %PLYfile%
+ %aerialpython% ./scripts/plot_ply.py %PLYfile%
) else (
+ echo you choose stop!
exit
)
+pause
--
Gitblit v1.9.1