AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

AirSim UE5 support

Open alonfaraj opened this issue 3 years ago • 6 comments

Fixes: https://github.com/microsoft/AirSim/issues/4480 Fixes: https://github.com/microsoft/AirSim/issues/4656 Fixes: https://github.com/microsoft/AirSim/discussions/4606 Fixes: https://github.com/microsoft/AirSim/discussions/4462 Fixes: https://github.com/microsoft/AirSim/discussions/3884 Fixes: https://github.com/microsoft/AirSim/discussions/4495

About

Although airsim is no longer maintained, for those who interested - This PR is adding the ability to use AirSim with Unreal Engine 5. It support multirotor, car (using Chaos instead of PhysX) and CV.

How Has This Been Tested?

  • Tested on windows using ue5 editor
  • Package game didn't tested
  • Only some basic features have been tested

How To Use?

Before build the blocks project, download the updated car assets from https://drive.google.com/file/d/1YRMZG2Tq9xwPq1fNEwTGvJFd1d11nAnn/view?usp=sharing (~38MB) and replace the content of Blocks\Plugins\AirSim\Content\VehicleAdv\SUV then build like you use to.

Screenshots (if appropriate):

https://user-images.githubusercontent.com/15960497/186704344-cad87824-ca8b-46f2-bee7-9aa7fc90b89b.mp4

https://user-images.githubusercontent.com/15960497/193445483-030160a0-f1bd-44ff-9d0a-9956be0809b0.mp4

alonfaraj avatar Aug 25 '22 15:08 alonfaraj

hello. alonfaraj. After i clone the branch of ue5. I run the block.sln in vscode. And I get a error D:\UeProject\Lab\AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirBlueprintLib.h(23): fatal error C1083: : “common/AirSimSettings.hpp”: No such file or directory Did I need to compile the Airsim.plugin first manualy?

chenxiandiao avatar Feb 28 '23 03:02 chenxiandiao

Fixes: #4480 Fixes: #4656 Fixes: #4606 Fixes: #4462 Fixes: #3884 Fixes: #4495

About

Although airsim is no longer maintained, for those who interested - This PR is adding the ability to use AirSim with Unreal Engine 5. It support multirotor, car (using Chaos instead of PhysX) and CV.

How Has This Been Tested?

  • Tested on windows using ue5 editor
  • Package game didn't tested
  • Only some basic features have been tested

How To Use?

Before build the blocks project, download the updated car assets from https://drive.google.com/file/d/1YRMZG2Tq9xwPq1fNEwTGvJFd1d11nAnn/view?usp=sharing (~38MB) and replace the content of Blocks\Plugins\AirSim\Content\VehicleAdv\SUV then build like you use to.

Screenshots (if appropriate):

hello. alonfaraj. After i clone the branch of ue5. I run the block.sln in vscode. And I get a error D:\UeProject\Lab\AirSim\Unreal\Environments\Blocks\Plugins\AirSim\Source\AirBlueprintLib.h(23): fatal error C1083: : “common/AirSimSettings.hpp”: No such file or directory Did I need to compile the Airsim.plugin first manualy?

chenxiandiao avatar Feb 28 '23 03:02 chenxiandiao

As far as I understand you are using windows. You should run build.cmd script, after installing visual studio 2022 which is required for UE5. Then you can open the block.sln in visual studio, build and run. It's the same as ue4 except the VS version. Anyway, you better use the updated version in colosseum repo. Airsim is no longer maintained and this branch is out of date. My updated PR for ue5 merged to main a while ago.

alonfaraj avatar Feb 28 '23 18:02 alonfaraj

Just leaving the link for Colosseum here

Colosseum

xxEoD2242 avatar Feb 28 '23 19:02 xxEoD2242

I am hoping to use this on Ubuntu 20.04 :)

jj-quantumdrones avatar Aug 08 '23 17:08 jj-quantumdrones

See the comment above for the new project supporting UE5

xxEoD2242 avatar Aug 08 '23 17:08 xxEoD2242