Skip to content

How to use both car and UAV. #4644

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

Open
bitshenwenxiao opened this issue Jul 28, 2022 · 1 comment
Open

How to use both car and UAV. #4644

bitshenwenxiao opened this issue Jul 28, 2022 · 1 comment

Comments

@bitshenwenxiao
Copy link

bitshenwenxiao commented Jul 28, 2022

Question

What's your question?

I want to simulate this situation: A car runs in the ground and an UAV follows the car in the sky. I add car and UAV in "settings.json". If I chose car mode, the UAV is not loaded in UE4. If I chose UAV mode, the car is not loaded in UE4.

Include context on what you are trying to achieve

the settings is as follow:

{
"SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md",
"SettingsVersion": 1.2,
"SimMode": "Car",
"CameraDefaults": {
"CaptureSettings":[{
"ImageType":0,
"Width":1920,"Height":1080,
"FOV_Degrees": 90,"AutoExposureSpeed": 100,"MotionBlurAmount": 0
}]
},
"Vehicles": {
"AAA": {
"VehicleType": "SimpleFlight",
"X": 100, "Y": 100, "Z": -10,
"Yaw": -135
},
"CARA": {
"VehicleType": "PhysXCar",
"DefaultVehicleState": "",
"AutoCreate": true,
"EnableCollisionPassthrogh": false,
"EnableCollisions": true,
"RC": {
"RemoteControlID": 0
},
"Pitch": 0, "Roll": 0, "Yaw": 0
},

    "CARB": {
        "VehicleType": "PhysXCar",
        "DefaultVehicleState": "",
        "AutoCreate": true,
        "EnableCollisionPassthrogh": false,
        "EnableCollisions": true,
        "RC": {
            "RemoteControlID": 1
        },
        "X": 0, "Y":  -30, "Z": 0,
        "Pitch": 0, "Roll": 0, "Yaw": 0
    }
}

}

@dzywater
Copy link
Contributor

dzywater commented Aug 3, 2022

see #4340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants