| | |
| | | |
| | | @REM change to the filepath |
| | | cd %~dp0 |
| | | @REM add vitrual env python to the path |
| | | path "%~dp0/../.env/Scripts/";%path% |
| | | |
| | | cd .. |
| | | |
| | | set aerialpython=%cd%/.env/python.exe |
| | | set envsetting=%cd%/env/SettingEnv.bat |
| | | |
| | | @REM Setting the env |
| | | if not exist %aerialpython% ( |
| | | call %envsetting% |
| | | ) |
| | | cd %~dp0 |
| | | cd .. |
| | | |
| | | echo change to path: %cd% |
| | | |
| | | @REM please the folder path of the udp files. |
| | | @REM set UDPfolder=./Manual_Microwave/pod1-2012-12-12-12-12-12/ |
| | | |
| | | @REM ---------------Usage: udp2bin.py [UDPfolder] |
| | | %aerialpython% ./scripts/udp2bin.py %UDPfolder% |
| | | python ./scripts/udp2bin.py %UDPfolder% |
| | | pause |