hello,
I’m new to ardupilot, and I’m running into some issues
i followed this video : 02 Installing ArduCopter for Development (SITL) (youtube.com)
new virtualbox machine ubuntu 20.04 focal fossa lts
and when i run this : sim_vehicle.py -w
i get this :
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/rachideu/ardupilot/modules/waf/waf-light” “configure” “–board” “sitl”
Traceback (most recent call last):
File “/home/rachideu/ardupilot/modules/waf/waflib/Node.py”, line 590, in ant_iter
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/home/rachideu/ardupilot/modules/waf/waflib/Scripting.py”, line 165, in waf_entry_point
run_commands()
File “/home/rachideu/ardupilot/modules/waf/waflib/Scripting.py”, line 262, in run_commands
parse_options()
File “/home/rachideu/ardupilot/modules/waf/waflib/Scripting.py”, line 214, in parse_options
Context.create_context(‘options’).execute()
File “/home/rachideu/ardupilot/modules/waf/waflib/Options.py”, line 271, in execute
super(OptionsContext, self).execute()
File “/home/rachideu/ardupilot/modules/waf/waflib/Context.py”, line 205, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File “/home/rachideu/ardupilot/modules/waf/waflib/Context.py”, line 287, in recurse
user_function(self)
File “/home/rachideu/ardupilot/wscript”, line 52, in options
opt.load(‘compiler_cxx compiler_c waf_unit_test python’)
File “/home/rachideu/ardupilot/modules/waf/waflib/Context.py”, line 197, in load
fun(self)
File “/home/rachideu/ardupilot/modules/waf/waflib/Tools/compiler_cxx.py”, line 103, in options
opt.load_special_tools(‘cxx_*.py’)
File “/home/rachideu/ardupilot/modules/waf/waflib/Context.py”, line 609, in load_special_tools
lst = self.root.find_node(waf_dir).find_node(‘waflib/extras’).ant_glob(var)
File “/home/rachideu/ardupilot/modules/waf/waflib/Node.py”, line 683, in ant_glob
ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl), to_pat(excl)], maxdepth=kw.get(‘maxdepth’, 25), dir=dir, src=src, remove=kw.get(‘remove’, True))]
File “/home/rachideu/ardupilot/modules/waf/waflib/Node.py”, line 683, in
ret = [x for x in self.ant_iter(accept=accept, pats=[to_pat(incl), to_pat(excl)], maxdepth=kw.get(‘maxdepth’, 25), dir=dir, src=src, remove=kw.get(‘remove’, True))]
RuntimeError: generator raised StopIteration
SIM_VEHICLE: (Configure waf) exited with code 512
SIM_VEHICLE: Killing tasks
help me please