| | |
| | | |
| | | @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 pre-defined parameters |
| | |
| | | |
| | | |
| | | if %choice% == y ( |
| | | %aerialpython% ./scripts/slamAutoMode.py %servo_path% %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% |
| | | python ./scripts/slamAutoMode.py %servo_path% %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% |
| | | @REM -------------- Usage: plot_ply.py [PLYfile]" |
| | | %aerialpython% ./scripts/plot_ply.py %PLYfile% |
| | | python ./scripts/plot_ply.py %PLYfile% |
| | | ) else ( |
| | | echo you choose stop! |
| | | exit |