Hello ive been trying to setup SITL to test out this UAV ive been designing.
I have been using this page: http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html
to set it up on the RaspberryPi 3 that I am using as a companion computer for my pxhawk.
Whenever I attempt to run:
pi@raspberrypi-JamesHanlon:~/ardupilot/ArduCopter $ sim_vehicle.py -w
I get:
SIM_VEHICLE: Start
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/pi/ardupilot/modules/waf/waf-light” “configure” “–board” "sitl"
Traceback (most recent call last):
File “/home/pi/ardupilot/Tools/autotest/sim_vehicle.py”, line 936, in
do_build(vehicle_dir, cmd_opts, frame_infos)
File “/home/pi/ardupilot/Tools/autotest/sim_vehicle.py”, line 357, in do_build
return do_build_waf(opts, frame_options)
File “/home/pi/ardupilot/Tools/autotest/sim_vehicle.py”, line 323, in do_build_waf
run_cmd_blocking(“Configure waf”, cmd_configure, check=True)
File “/home/pi/ardupilot/Tools/autotest/sim_vehicle.py”, line 436, 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 am not too knowledgeable when it comes to ardupilot and im not sure if the problem is that im using a raspberry pi or just my error somewhere. Any help would be greatly appreciated.