Servers by jDrones

SITL setting up on windows10


(Tareg Mahmoud) #1

I am new user, I want to set up SITL on windows PC, I followed the steps provided in

Setting up SITL on Windows

unfortunately, when I insert the command

sim_vehicle.py -j4 --map

in the Cygwin Terminal, its gives an error as shown below

Avionics@Avionics-PC ~
$ cd ~/ardupilot/ArduPlane

Avionics@Avionics-PC ~/ardupilot/ArduPlane
$ sim_vehicle.py -j4 --map
SIM_VEHICLE: Start
SIM_VEHICLE: Get JSBSim version
SIM_VEHICLE: “JSBSim” "–version"
SIM_VEHICLE: Killing tasks
SIM_VEHICLE: Starting up at -35.363261,149.165230,584,353 (CMAC)
SIM_VEHICLE: WAF build
SIM_VEHICLE: Configure waf
SIM_VEHICLE: “/home/Avionics/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Traceback (most recent call last):
File “/home/Avionics/ardupilot/Tools/autotest/sim_vehicle.py”, line 762, in
do_build(vehicle_dir, cmd_opts, frame_infos)
File “/home/Avionics/ardupilot/Tools/autotest/sim_vehicle.py”, line 331, in do_build
return do_build_waf(opts, frame_options)
File “/home/Avionics/ardupilot/Tools/autotest/sim_vehicle.py”, line 297, in do_build_waf
run_cmd_blocking(“Configure waf”, cmd_configure, check=True)
File “/home/Avionics/ardupilot/Tools/autotest/sim_vehicle.py”, line 410, in run_cmd_blocking
p = subprocess.Popen(cmd, **kw)
File “/usr/lib/python2.7/subprocess.py”, line 390, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1024, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
SIM_VEHICLE: Killing tasks

I need your help regarding the issue
Thanks…


(peterbarker) #2

I am new user, I want to set up SITL on windows PC, I followed the steps provided in

  Setting up SITL on Windows

That page contains a direction to do:

git submodule update --init --recursive

Did you do that bit?


(Tareg Mahmoud) #3

I repeat installation from the beginning, consider your helpful comments, and it seem to be working.

Many thanks.:grinning:

p.s. i use (run as administrator) each time i launch a .exe file.