Hi there,
I am working on setting up a new flight mode for my quad to perform a specific function. I have followed the instructions to do so here: http://ardupilot.org/dev/docs/apmcopter-adding-a-new-flight-mode.html
Im using windows 10, running ubuntu 18.04 lts terminal, building with waf.
I configure the board using ./waf configure --board Pixhawk4 (since im using pixhawk4)
and proceed to compile the build ./waf copter
This is the error I am currently getting:
Build failed
Traceback (most recent call last):
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Runner.py”, line 395, in task_status
return tsk.runnable_status()
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/extras/clang_compilation_database.py”, line 76, in runnable_status
run_status = self.old_runnable_status()
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Task.py”, line 669, in runnable_status
new_sig = self.signature()
File “Tools/ardupilotwaf/ap_persistent.py”, line 32, in _signature
s = _original_signature(self)
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Task.py”, line 633, in signature
self.sig_explicit_deps()
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Task.py”, line 729, in sig_explicit_deps
upd(x.get_bld_sig())
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Node.py”, line 964, in get_bld_sig
ret = cache[self] = self.h_file()
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Node.py”, line 944, in h_file
return Utils.h_file(self.abspath())
File “/home/kambyan-rnd/ardupilot/modules/waf/waflib/Utils.py”, line 278, in h_file
with open(fname, ‘rb’) as f:
IOError: [Errno 13] Permission denied: ‘/home/kambyan-rnd/ardupilot/ArduCopter/Parameters.cpp’
Appreciate any help on this. Thanks.
- Daniel