Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding drone issue (with Python Client) #38

Closed
vincentho7 opened this issue Oct 5, 2024 · 1 comment
Closed

Adding drone issue (with Python Client) #38

vincentho7 opened this issue Oct 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@vincentho7
Copy link

vincentho7 commented Oct 5, 2024

Hi,

I have some issue with adding drones on the environment. When i am running the script "add_drone.py", I get an error :

Exception thrown at 0x00007FFC54318DEF (UnrealEditor-Renderer.dll) in UnrealEditor-Win64-DebugGame.exe: 0xC0000005: Access violation reading location 0x00000831FBDC8A38.

My version of Unreal Engine is 5.2.1, hello_drone.py works well

There were errors also in the file i changed the quaternion to : airsim.Quaternionr(0, 0, 0, 0)

I am currently working with a free environment called Cityparkenvironement

@vincentho7 vincentho7 changed the title Adding drone issue (Python Client Adding drone issue (with Python Client) Oct 5, 2024
@WouterJansen WouterJansen added the bug Something isn't working label Oct 8, 2024
@WouterJansen
Copy link
Contributor

Hi, I could unfortunately not replicate this issue. I had to also fix the Quaternion definition to airsim.Quaternionr(0, 0, 0, 0)
as you did but did not get a crash in the Blocks environment. If you have any more logs or traces that would help to track down the issue.

I used the following settings to start with:

{
    "SeeDocsAt": "https://cosys-lab.github.io/settings/",
    "SettingsVersion": 2,
    "ClockSpeed": 1,
    "LocalHostIp": "127.0.0.1",
    "ApiServerPort": 41451,
    "RpcEnabled": true,
    "SimMode": "Multirotor",
    "Vehicles": {
        "Drone1": {
            "VehicleType": "SimpleFlight",
            "AllowAPIAlways": true,
            "X": 0,
            "Y": 0,
            "Z": 0,
            "Yaw": 0
        }
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants