microsoft / AirSim-Drone-Racing-Lab

A framework for drone racing research, built on Microsoft AirSim.
MIT License
185 stars 42 forks source link

Error running test_reset.py #7

Open wanghanyu666 opened 3 years ago

wanghanyu666 commented 3 years ago

Hello, my environment win10 ADRL When I ran the code, there was an error:

msgpackrpc.error.RPCError: rpclib: function 'enableApiControl' (called with 2 arg(s)) threw an exception. The exception contained this information: Vehicle API for 'drone_1' is not available. This could either because this is simulation-only API or this vehicle does not exist.

How can I correct it

saihv commented 3 years ago

@wanghanyu666 Have you generated the settings file before running the binary? By running this script:

https://github.com/microsoft/AirSim-Drone-Racing-Lab/blob/master/baselines/generate_settings_file.py