Ardupilot-Airsim Windows. No sensor message

Hi. I am trying to run Ardupilot SITL - Airsim simulation on Windows11. I installed Unreal Engine, Air sim, Ardupilot according to the documentation. Also did the recommendation from here: GSoC 2019: AirSim Simulator Support for ArduPilot SITL Part II - #5 by rajat2004
But I still get “No sensor message received…” in ArduCopter console. What can/should I check to make it work?
Is there a way to check whether there is no sensor data from Airsim (should this data be generated here?) or I just don’t catch it in wsl2 Ubuntu?

How I start:

  1. Start Airsim (F5 in Visual studio)
  2. Start Ubuntu and run command: sim_vehicle.py -v ArduCopter -f airsim-copter -A --sim-address=$WSL_HOST_IP --cons
    ole

Here is part of the Ubuntu console data:
‘build’ finished successfully (1.734s)
SIM_VEHICLE: Using defaults from (Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm)
SIM_VEHICLE: Run ArduCopter
SIM_VEHICLE: “/home/arduuser/ardupilot/Tools/autotest/run_in_terminal_window.sh” “ArduCopter” “/home/arduuser/ardupilot/build/sitl/bin/arducopter” “-S” “–model” “airsim-copter” “–speedup” “1” “–slave” “0” “–sim-address=172.31.48.1” “–defaults” “Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm” “–sim-address=127.0.0.1” “-I0”
RiTW: Starting ArduCopter : /home/arduuser/ardupilot/build/sitl/bin/arducopter -S --model airsim-copter --speedup 1 --slave 0 --sim-address=172.31.48.1 --defaults Tools/autotest/default_params/copter.parm,Tools/autotest/default_params/airsim-quadX.parm --sim-address=127.0.0.1 -I0
SIM_VEHICLE: Run MavProxy
SIM_VEHICLE: “mavproxy.py” “–out” “172.31.48.1:14550” “–master” “tcp:127.0.0.1:5760” “–sitl” “127.0.0.1:5501” “–console”
Connect tcp:127.0.0.1:5760 source_system=255
Loaded module console
Log Directory:
Telemetry log: mav.tlog
Waiting for heartbeat from tcp:127.0.0.1:5760

Any ideas are welcomed :slight_smile:

Thank you!

Hi~

I am trying to run Ardupilot SITL - Airsim simulation on Windows11

1.When i use ip address of WSL2 , It is error

2.‘VehicleType’ back to SimpleFlight", anything went to well.

3.Set the ‘VehicleType’ in settings to ArduCopter, the error will be occurred.

were you able to resolve this issue ? facing same issue