-
Notifications
You must be signed in to change notification settings - Fork 28
Description
我执行的步骤如下:
按照airsim官方提供的软件在环,修改settings.json,{
"SettingsVersion":1.2,
"SimMode":"Multirotor",
"ClockType": "SteppableClock",
"Vehicles":{
"drone_1":{
"VehicleType":"PX4Multirotor",
"UseSerial": false,
"UseTcp": true,
"TcpPort": 4560,
"ControlPortLocal": 14540,
"ControlPortRemote": 14580,
"DefaultVehicleState":"Armed",
"EnableCollisionPassthrogh":false,
"EnableCollisions":true,
"AllowAPIAlways":true,
"RC":{
"RemoteControlID":0,
"AllowAPIWhenDisconnected":false
},
"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
}
}
}
}参考链接:https://microsoft.github.io/AirSim/px4_sitl/#remote-controller
实现效果:VehicleType为PX4Multirotor报错如图所示,修改为SimpleFlight时能正常启动模拟器
