AirSim,Unreal Engine ,Firmware ,QGroundControl安装完毕后,创建新的unreal工程
https://github.com/Microsoft/AirSim/blob/master/docs/unreal_custenv.md
1.px4安装
The PX4 software stack is an open source flight controller that runs on various hardware
https://github.com/Microsoft/AirSim/blob/master/docs/px4.md
2.Landscape Mountains新工程创建好,LandscapeMountains.sln打开
Reopen LandscapeMountains.sln
in Visual Studio, and makesure "DebugGame Editor" and "Win64" build configurationis the active build configuration.
.json文件修改
"UseSerial": false,
unreal运行界面
find the PlayerStart
object in the World Outliner
and set the location to this,细节
Then using Window/
World Settings
, set the GameMode Override
to AirSimGameMode
:
Note: that Unreal steals the mouse, and we don't draw one. So to get your mouse back just use Alt+TABto switch to a different window.