ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
10.87k stars 17.33k forks source link

Airsim Simulation - [Errno 111] Connection refused sleeping #15574

Closed bilginmu closed 3 years ago

bilginmu commented 3 years ago

I try to use Airsim with ardupilot. I downloaded a precompiled Airsim binary(Africa). First I ran Airsim with below command ./Africa_001.sh -ResX=640 -ResY=480 -windowed and then I started ardupilot with sim_vehicle.py -v ArduCopter -f airsim-copter --console --map I get the error below: err_1

Abner0907 commented 3 years ago

Do you know what 's the problem? I have the same issues.

Abner0907 commented 3 years ago

@IamPete1 @bilginmu

hendjoshsr71 commented 3 years ago

@Abner0907 See here: https://ardupilot.org/dev/docs/building-setup-windows10.html#using-sitl-with-wsl-and-xwindows

"Install an XWindows application to run graphical programs such as SITL by installing VcXsrv, Cygwin X or Xming on Windows."

If we can make something clearer here let me know.