报错1:
msgpackrpc.error.RPCError: rpclib: server could not find function 'getMultirotorState' with argument count 1.
报错2:
rpclib: function 'simGetVehiclePose' (called with 1 arg(s)) threw an exception. The exception contained this information: Vehicle Sim-API for '' is not available. This could either because this is not a simulation or this vehicle does not exist.
解决:
由于使用了https://github.com/microsoft/AirSim/pull/4340中alonfaraj:remove-simmode的支持车机一起仿真的特殊版本,需要在连接时为Client设置端口号
client = airsim.MultirotorClient(port=41471)

被折叠的 条评论
为什么被折叠?



