AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

AirSim and Intel Aero RTF

Open dimitrimav opened this issue 8 years ago • 5 comments

Hi, I am trying to connect AirSim to Intel Aero RTF through UDP and wifi. Using the Intel mavlink router [https://github.com/intel/mavlink-router]), mavlink packets are routed to 10.42.0.173:14550 (my computer’s ip is 10.42.0.173) and thus QGC can successfully connect to the flight controller. Then to connect AirSim to the vehicle instead of QGC, I have the following settings.json file: { "SettingsVersion": 1.0, "DefaultVehicleConfig": "PX4",

"PX4":{ "UdpIp": "10.42.0.173", "UdpPort":14550, "UseSerial": false } } However I get the error: error_airsim I’m making sure that I have not opened QGC first so the port is not open. I have also tried "UdpIp":10.42.0.1 (the Aero IP) but that does not work either. Any ideas?

dimitrimav avatar Jan 29 '18 21:01 dimitrimav

Are you able to get it working without QGC in the loop?

sytelus avatar Jan 30 '18 04:01 sytelus

No, it does not work without QGC either. I also routed mavlink packets to another port to make sure that it's not taken by QGC (even if it's closed) but that does not work either.

dimitrimav avatar Jan 30 '18 14:01 dimitrimav

Unfortunately we haven't worked on Intel Aero. Please do experiment and feel to contribute to add support for Intel Aero.

sytelus avatar Feb 13 '18 07:02 sytelus

@dimitrimav I've been thinking of using the intel rtf drone for an airsim project I'm doing since I don't wanna spend to much time building a custom drone, so I'm wondering if you got this to work?

ulrikborjesson avatar Feb 21 '18 12:02 ulrikborjesson

@ulrikborjesson I believe what I was missing is that I had to set the LocalHostIp in settings.json to my computer's IP. However, I have not tried it.

Keep in mind that you will have to change the PX4 airframe to HIL quadcopter via QGC every time you use the drone with Airsim, and then back to regular airframe when you want to fly it (meaning you have to redo the sensor calibrations).

dimitrimav avatar Feb 22 '18 21:02 dimitrimav