ardupilot/Tools/autotest/win_sitl/RunRover.bat

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
420 B
Batchfile
Raw Normal View History

rem File run APM:Rover SITL
SETLOCAL enableextensions
@echo off
rem Assumes a Cgywin install at C:\cygwin64
if "%CYGWIN_LOCATION%" == "" (set "CYGWIN_LOCATION=C:\cygwin64")
rem get current dir for Cygwin
set pth=%CD:~2,99%
set pth=%pth:\=/%
set drv=%CD:~0,1%
set "fullpath=/cygdrive/%drv%%pth%"
2020-03-26 20:14:17 -03:00
%CYGWIN_LOCATION%\bin\bash.exe --login -i -c "cd ""%fullpath%"" && cd ../../../Rover && ../Tools/autotest/sim_vehicle.py"