Skip to content

AirSim performing very badly when connected to ardupilot over network #4909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vhytyk opened this issue Dec 8, 2023 · 0 comments
Open

Comments

@vhytyk
Copy link

vhytyk commented Dec 8, 2023

Bug report

  • AirSim Version/#commit: 1.8.1 Windows binary.
  • UE/Unity version:
  • autopilot version:
  • OS Version: Windows 11

What's the issue you encountered?

I have ardupilot up and running on Ubuntu22 in SITL mode, with --frame airsim-copter.
And AirSim running as Windows binary w/ map "AirSimNH" on Windows 11 PC.
Both PCs are in the same local network.
AirSim is configured to connect to ardupilot.
Everything works correctly, except AirSim is performing very bad, it's basically a slideshow with 1 frame per few seconds.
If I don't connect to ardupilot from AirSim - it works perfectly fine.

Settings

{
"SettingsVersion": 1.2,
"LogMessagesVisible": true,
"SimMode": "Multirotor",
"Vehicles": {
"Copter": {
"VehicleType": "ArduCopter",
"UseSerial": false,
"LocalHostIp": "192.168.130.100",
"UdpIp": "192.168.130.41",
"UdpPort": 9003,
"ControlPort": 9002
}
}
}

How can the issue be reproduced?

  1. Download AirSim binaries (AirSimNH) for Windows
  2. Make settings.json as posted above
  3. Setup ardupilot on Ubuntu (in the same network)
  4. Configure ardupilot as SITL, build
  5. Run ardupilot in SITL mode sim_vehicle.py -v ArduCopter --frame airsim-copter --sim-address=<windows_ip_with_airsim>
    6 Run AirSim on Windows PC.

Include full error message in text form

What's better than filing an issue? Filing a pull request :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant