问题:编译报错
uavcangen returned 1 error code
Waf: Leaving directory `/ …………d/fmuv2'
Build failed
-> task in 'uavcan' failed (exit status 1):
{task 7696542995352: uavcangen ardupilot,com,uavcan -> }
:
{task 7696542995352: uavcangen ardupilot,com,uavcan -> }
''
原因:不清楚
办法1:
“git submodule init”
“git submodule update --recursive”
“./waf distclean”
没管用
办法2: git submodule update --init --recursive --force 奏效了
最后编译成功
https://discuss.ardupilot.org/t/build-apm-in-windows10-by-cuwin/44148/2