microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.45k stars 4.58k forks source link

start airism cgywin px4 sitl, In 10-30 minutes the plane will crash out of control #4388

Open d137578736 opened 2 years ago

d137578736 commented 2 years ago

Bug report

What's the issue you encountered?

When multi-rotor is take off,Don't do anything,In 10-30 minutes the plane will crash out of control

Settings

{ "SettingsVersion": 1.2, "SimMode": "Multirotor", "ClockType": "SteppableClock", "Vehicles": { "PX4": { "VehicleType": "PX4Multirotor", "UseSerial": false, "LockStep": true, "UseTcp": true, "TcpPort": 4560, "ControlPortLocal": 14540, "ControlPortRemote": 14580, "Sensors":{ "Barometer":{ "SensorType": 1, "Enabled": true, "PressureFactorSigma": 0.0001825 } }, "Parameters": { "NAV_RCL_ACT": 0, "NAV_DLL_ACT": 0, "COM_OBL_ACT": 1, "LPE_LAT": 47.641468, "LPE_LON": -122.140165 } } } }

How can the issue be reproduced?

1.Start cgywin PX4 2.Start airism,Airsim will link px4 success 3.Start qgc ,use usb RC controll,adjusting RC controll 4.User RC controll take off PX4 is success 5.Wait,In 10-30 minutes the plane will crash out of control

Include full error message in text form

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

jonyMarino commented 2 years ago

Hi @d137578736 and welcome! The recommended platform for PX4 is currently WSL2

HarrySoteriou commented 2 years ago

Follow this tutorial to setup PX4 with wsl2 amd AirSim https://youtu.be/DiqgsWIOoW4

d137578736 commented 2 years ago

Hi @d137578736 and welcome! The recommended platform for PX4 is currently WSL2

thank you very much! i will test airism in wsl2 environment!

d137578736 commented 2 years ago

Follow this tutorial to setup PX4 with wsl2 amd AirSim https://youtu.be/DiqgsWIOoW4 thank you very much!