wu_xinjun
2022-06-21 65d1e46541fc1a11cbdfd27d51d00a6a341ad2ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@echo off
 
@REM change to the filepath
cd %~dp0
@REM add vitrual env python to the path
path "%~dp0/../.env/Scripts/";%path%
 
cd ..
echo change to path: %cd%
 
@REM set folder=T:\\Data\\projects\\huaneng\\00_Docs\\slamtest
set alpha=0
set beta=20
@REM 毫米波设备面朝下,顺时针方向旋转
set gamma=auto
set savename=data
 
echo [the folder example]: ./slamdata/
set /p folder=Please input the slam data folder:
set /P alpha=Please input the alpha degree of microwave device (example: 0/-20/auto):
set /P beta=Please input the beta degree of microwave device (example: 0/-20/auto):
 
set PLYfile=%folder%/%savename%.ply
 
@REM verify the parameters
echo    ################# parameters #################
echo    alpha                   :%alpha%
echo    beta                    :%beta%
echo    gamma                   :%gamma%
echo    folder                  :%folder%
echo    savename                :%savename%
echo    PLYfile                 :%PLYfile%
 
set /p choice=Please verify the parameters and choice [y/n]:
 
 
if %choice% == y (
    python ./scripts/slamManualMode.py %folder% %alpha% %beta% %gamma% %savename%
    @REM -------------- Usage: plot_ply.py [PLYfile]"
    python ./scripts/plot_ply.py %PLYfile%
) else (
    echo you choose stop!
    exit
)
pause