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

Execution "takeoff_and_land.py" with 2 instances in PX4 SITL #3259

Closed
AIKUUM opened this issue Dec 29, 2020 · 4 comments
Closed

Execution "takeoff_and_land.py" with 2 instances in PX4 SITL #3259

AIKUUM opened this issue Dec 29, 2020 · 4 comments
Labels

Comments

@AIKUUM
Copy link

AIKUUM commented Dec 29, 2020

Bug report

System details: https://user-images.githubusercontent.com/72294070/102069277-90db4a00-3e23-11eb-8f71-d14e10181433.PNG
AirSim version (1.3.1)
Unreal version(4.25)
python version (3.8.3)

What's the issue you encountered?

I had done this in PX4 SITL for 2 drones:
https://user-images.githubusercontent.com/72294070/103081709-7ca30400-45fe-11eb-9dae-78919e6e6c40.png

After that i opened Unreal Engine environment, and executed "takeoff_and_land.py" file of mavsdk package. This is what that was appearing the unreal engine screen:
https://user-images.githubusercontent.com/72294070/103081760-99d7d280-45fe-11eb-86d5-f958e46a8ef7.png

But nothing happens in Anaconda prompt after this:
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone to connect...

Settings

contents of settings.json file:
{ "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/master/docs/settings.md", "SettingsVersion": 1.2, "SimMode": "Multirotor", "ClockSpeed": 1, "LocalHostIp": "127.0.0.1", "CameraDefaults": { "CaptureSettings": [ { "ImageType": 0, "Width": 3000, "Height": 2000, "FOV_Degrees": 90, "AutoExposureSpeed": 100, "AutoExposureBias": 0, "AutoExposureMaxBrightness": 0.64, "AutoExposureMinBrightness": 0.03, "MotionBlurAmount": 0, "TargetGamma": 1.0, "ProjectionMode": "", "OrthoWidth": 5.12 } ] }, "Vehicles": { "Drone1": { "VehicleType": "PX4Multirotor", "UseSerial": false, "UseTcp": true, "TcpPort": 4560, "ControlPort": 14570, "VehicleSysID": 10, "X": 0, "Y": 0, "Z": 0 }, "Drone2": { "VehicleType": "PX4Multirotor", "UseSerial": false, "UseTcp": true, "TcpPort": 4561, "ControlPort": 14570, "VehicleSysID": 20, "X": 2, "Y": 0, "Z": 0 } } }

How can the issue be reproduced?

Include full error message in text form

What's better than filing an issue? Filing a pull request :).

If anyone wants to know any other details, please let me know, and if possible someone please guide me.

@jonyMarino
Copy link
Collaborator

Hi @AIKUUM! And what happens if you use one PX4 drone without using the script?

@AIKUUM
Copy link
Author

AIKUUM commented Jan 6, 2021

Hi @AIKUUM! And what happens if you use one PX4 drone without using the script?

Hi @jonyMarino,
PX4 console contents:
Screenshot (6)

Unreal engine screen:
Screenshot (4)

@AIKUUM
Copy link
Author

AIKUUM commented Jan 10, 2021

Hi @AIKUUM! And what happens if you use one PX4 drone without using the script?

Hi @jonyMarino,
PX4 console contents:
Screenshot (6)

Unreal engine screen:
Screenshot (4)

Hi @jonyMarino, What could be the reasons behind these issues?

@jonyMarino
Copy link
Collaborator

Already responded in #3213

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

No branches or pull requests

2 participants