Hi!
I am trying to make use of hardware in the loop simulation, but when I am trying to compile using the next command:
./Tools/scripts/sitl-on-hardware/sitl-on-hw.py --board Pixhawk6C --vehicle copter --simclass Multicopter --upload
I receive
Build failed
→ task in ‘objs/AP_HAL/ArduCopter’ failed (exit status 1):
{task 133030210396992: cxx SIMState.cpp → SIMState.cpp.3.o}
(run with -v to display more information)
FAILED: ./waf copter --upload
Traceback (most recent call last):
File “/home/deireb/ardupilot/./Tools/scripts/sitl-on-hardware/sitl-on-hw.py”, line 172, in
run_program(build_cmd)
File “/home/deireb/ardupilot/./Tools/scripts/sitl-on-hardware/sitl-on-hw.py”, line 61, in run_program
os.unlink(extra_hwdef.name)
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/tmpg5lujf1i’
PD: I am using an Ubuntu Virtual machine.
Can someone help me to resolve this please? Thank you so much for your time!