ArduPilot / ArduPilot/ardupilot

Cant build SITL on HW - possible result in moving of folder into Tools/scripts - .waf issue, then tmp issue

Open
#25,697 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
15.9k
Forks
21.4k
Avg merge
3d 17h
Merged PRs (30d)
119

Description

## Bug report

**Issue details**
I am unable to run the SITL on HW as described in documentation. Appears to be an issue with the move of SITL on HW into Tools/scripts. Code within the sitl_on_hw.py file calls .waf from one level up, which is now 3 levels up.

After amending this in the code fork, I am now faced with an issue with unable to find the .tmp folder.
Rather than try hack away for myself, I thought id better raise it to be properly amended so that any future person looking to build SITL on HW may not come across the same issues.

Contributor guide

Open the contributing guide

Research direction

Start with Tools/scripts/sitl_on_hw.py and reproduce the SITL-on-HW build using the documented procedure. Trace the script's paths to .waf and the .tmp folder after the move, then verify that the documented build completes without manual path changes and can locate the required temporary files.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.