Run sim_vehicle.py SITL using precompiled binaries

Hello,
I am trying to make a Docker container with an SITL model. I am running the following commands to build the ArduRover sitl binaries:

./waf --board sitl
./waf build --target bin/ardurover

But when I run sim_vehicle.py -v Rover after the above finishes compiling, it recompiles the sitl model from scratch again. It looks like both methods store the compiled binaries in build/sitl. Am I missing flags to indicate that the binaries are already built?

I would appreciate any help with this :slight_smile:

Got it, using either of the following two flags did the trick:

-N, --no-rebuild
don’t rebuild before starting ardupilot

–vehicle-binary=VEHICLE_BINARY
vehicle binary path

1 Like