Skip to content

Python Api still not working after update #1237

@vaschindler

Description

@vaschindler

Hey,

I got the newest build of AirSim with the Python Api fix and still have problems with the settings file. In my settings.json I just have

{
  "SettingsVersion": 1.2,
  "SimMode": "Multirotor"
}

When I press play to simulate, I got the following error message:

"There were no compatible vehicles created for current SimMode! Check your settings.json."

But the drone got spawned after all. Now I type in python hello_drone.py and get:


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

Is there something I've missed? I had no problems with the API control before the new API changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions