Hi everyone,
I have a fork of ArduCopter 3.6.5, where I want to add some modifications for a new Altitude Control.
I have followed the instructions of http://ardupilot.org/dev/docs/building-setup-linux.html#install-some-required-packages (appearently the path of the script changed, so I installed the prereqs from ardupilot$ Tools/scripts/install-prereqs-ubuntu.sh -y
instead of the path given in the link).
when I want to configure waf by executing ardupilot$ ./waf configure --board=sitl
I get the following error:
…
File "/home/crowdsweeper/git/ardupilot-Copter_3_6_5-AltCS/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/crowdsweeper/git/ardupilot-Copter_3_6_5-AltCS/ardupilot/modules/waf/waflib/Node.py", line 683, in <listcomp>
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
`
When I searched for relatic topics in this forum and on google, I only found uavcan-related posts (eg http://ardupilot11.rssing.com/chan-63882339/all_p566.html). As ./waf list_boards
throws same python exception, I think this is a different issue.
My system:
- OS: ubuntu 16.04
- ArduCopter version: Copter-3.6.5 tag
I also edited the ardupilot/waf
file, to run with #!/usr/bin/python2
and with #!/usr/bin/python3
, respectively, and it threw the same exception.
Do you know, how I can fix this?
Regards, Peter
EDIT:
Might this be a python- or pip-version related issue?
I forked Copter 3.6.11 as described above, and the same error happened.