wu_xinjun
2022-06-27 1292adc7aafa34a7c93c80390826bdc5b6d05cbf
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
@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%
 
set MICROWAVEhost=192.168.2.65
SET PACKETthreshold=1000
SET DEVICEname=pod1
 
echo [the data folder example]: ./slamdata
SET /p SAVEfolder=Please input the data folder path:
 
echo [the sub folder example]: 60 
SET /p SUBfolder=Please input the sub folder name:
 
set folder=./%SAVEfolder%/%SUBfolder%/
echo the udp data will be saved in folder %folder%
@REM ---------------Usage: udp_get.py [MICROWAVEhost] [PACKETthreshold] [DEVICEname] [SAVEfolder]
python ./scripts/udp_get.py %MICROWAVEhost% %PACKETthreshold% %DEVICEname% %SAVEfolder% %SUBfolder%
pause