Could not find a task generator for the name 'bin/arducopter-quad'

Hi,
when I build ardupilot on linux virtual machine, after typing in “waf --targets bin/arducopter-quad” It shows: Could not find a task generator for the name ‘bin/arducopter-quad’. Does anyone know how to solve it? Thanks

Had you run waf configure --board=navio2 beforehand?

Yes, I have

I just followed our docs step by step and could not reproduce your issue. What Linux distribution and what Python version you use? Did you make any adjustments along the way?

If you build master, then there is no arducoper-quad.
Now only:
bin/ardurover
bin/antennatracker
bin/arducopter
bin/arducopter-heli
bin/arduplane
For set quad,hexa and etc. use new parameter FRAME_CLASS.

1 Like

I only installed git.
The Linux distribution:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.1 LTS”
NAME=“Ubuntu”
VERSION=“16.04.1 LTS (Xenial Xerus)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=“Ubuntu 16.04.1 LTS”
VERSION_ID=“16.04”
HOME_URL=“http://www.ubuntu.com/
SUPPORT_URL=“http://help.ubuntu.com/
BUG_REPORT_URL=“Bugs : Ubuntu
UBUNTU_CODENAME=xenial

Python version:
2.7.12

I suggest trying out the solution above.

Thanks for the reply. I ran into same issue. Could you be a little more explicit on the usage of FRAME_CLASS? I’m not exactly sure what it means.

If you want ArduCopter QUAD, then you need to build “bin/arducopter”. After you connect to a ground station you can change its type (Frame Class: quad, hexa, etc.).

For example in QGC (it’s a daily build version) with ArduCopter built from master:

Hello, i also go thorugh the same issue.
after i do

waf configure --board=navio2

when i do

waf --targets bin/arducopter-qaud

it outputs error like:
Could not find a task generator for the name ‘bin/arducopter-quad’

and then, i see the wscript file in the ArduCopter directory,
i think it works with

waf --targets bin/arducopter

and it works well now for me.

Guys, I thing @alexey.bulatov nailed down the source of the issue: newer (pre AC-3.5) software has dropped arducopter-quad/arcucopter-octa/..., leaving only the generic arducopter and arducopter-heli targets.

I consider this issue solved and closing the thread. Thanks you all for the input.