| | |
| | | cd %~dp0 |
| | | cd .. |
| | | |
| | | set aerialpython=%cd%/../aerial_deploy/python.exe |
| | | set aerialpython=%cd%/.env/python.exe |
| | | set envsetting=%cd%/env/SettingEnv.bat |
| | | |
| | | @REM Setting the env |
| | |
| | | @REM pre-defined parameters |
| | | set port=COM11 |
| | | set speed=200 |
| | | set degree_step=5 |
| | | set degree_step=2 |
| | | set time_delay=5 |
| | | set alpha=0 |
| | | set beta=20 |
| | | set gamma=auto |
| | | set microwaveHost=192.168.2.65 |
| | | set udp_packets=1000 |
| | | set udp_packets=500 |
| | | set deviceName=testDevice |
| | | set saveFolder=./data/run_test/ |
| | | |
| | | @REM re-defined parameters |
| | | set /p port=Please input the serial port of rotation machine (example: COM11): |
| | | set /P speed=Please input the speed of rotation machine (example: 200): |
| | | @REM set /P degree_step=Please input the degree step of rotation machine (example: 5): |
| | | set /P degree_step=Please input the degree step of rotation machine (example: 2): |
| | | set /P time_delay=Please input the delay time of rotation machine (example: 5): |
| | | 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 /P gamma=Please input the gamma degree of microwave device (example: 0/-20/auto): |
| | | @REM set /p udp_packets=Please input the udp packets num (example: 1000): |
| | | set /p udp_packets=Please input the udp packets num (example: 1000): |
| | | set /p saveFolder=Please input the folder to save the data (example: ./data/run_test/): |
| | | |
| | | set PLYfile=%saveFolder%/data.ply |