| File was renamed from TEST_SlamAuto.bat |
| | |
| | | |
| | | @REM change to the filepath |
| | | cd %~dp0 |
| | | echo change to path: %cd% |
| | | cd .. |
| | | |
| | | set aerialpython=%cd%/env/aerial_deploy/python.exe |
| | | set envsetting=%cd%/env/SettingEnv.bat |
| | |
| | | if not exist %aerialpython% ( |
| | | call %envsetting% |
| | | ) |
| | | cd %~dp0 |
| | | cd .. |
| | | |
| | | echo change to path: %cd% |
| | | |
| | | @REM pre-defined parameters |
| | | set port=COM11 |
| | |
| | | |
| | | set /p choice=Please verify the parameters and choice [y/n]: |
| | | |
| | | cd %~dp0 |
| | | echo change to path: %cd% |
| | | |
| | | if %choice% == y ( |
| | | %aerialpython% ./src/auto_slam.py %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% |
| | | %aerialpython% ./scripts/slamAutoMode.py %port% %speed% %degree_step% %time_delay% %alpha% %beta% %gamma% %microwaveHost% %udp_packets% %deviceName% %saveFolder% |
| | | @REM -------------- Usage: plot_ply.py [PLYfile]" |
| | | %aerialpython% ./src/utils/plot_ply.py %PLYfile% |
| | | %aerialpython% ./scripts/plot_ply.py %PLYfile% |
| | | ) else ( |
| | | echo you choose stop! |
| | | exit |
| | | ) |
| | | pause |
| | | |
| | | |
| | | |