microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.04k stars 4.48k forks source link

client.isApiControlEnabled() return False. #4901

Open Z-Xiong opened 7 months ago

Z-Xiong commented 7 months ago

Question

What's your question?

client = airsim.MultirotorClient()
client.confirmConnection()
client.enableApiControl(True)
print("API Control enabled: %s" % client.isApiControlEnabled())

API Control enabled: False

Include context on what you are trying to achieve

Why API Control enabled is not True ? How to solve it ?

Context details

Include details of what you already did to find answers