@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
|