wu_xinjun
2022-03-23 28668532ed2f97a3883be7e68bced252bd1f99bf
scripts_launch/TEST_SlamAuto.bat
File was renamed from 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