Skip to content

airsim能否连接PX4,在QGC里查看数据 #55

@Rinka63

Description

@Rinka63

我执行的步骤如下:
按照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时能正常启动模拟器
sym文件报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions