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:
- Start Airsim (F5 in Visual studio)
- 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
Thank you!