| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
It seems that you have a lot of conflicts. This is most likely due to conflicts with autoformatted code in master. Please follow these steps to resolve this:
Thanks for helping us with these style changes! |
Sorry, something went wrong.
|
Hi ykeuter! Thank you for applying the clang-format. It seems that there are more conflicts in your PR. If you can solve them, we are ready to test this and merge it. Thanks! |
Sorry, something went wrong.
|
Hi Jonathan (@jonyMarino) ! Thanks for your message. It's been a long time since I worked on this code. I just tried to apply the clang format, but indeed saw there are still conflicts. I will need time to get back into the project. No guarantee on my schedule, but I will keep you posted. |
Sorry, something went wrong.
|
Hi Jonathan (@jonyMarino) ! The merge conflicts are resolved now. I was able to run the MultiDroneDemo scene and everything seems to be working. Please have a look and let me know if there are any more issues / questions. Cheers. Yvo |
Sorry, something went wrong.
|
Thanks, Yvo! We will start testing this! |
Sorry, something went wrong.
There was a problem hiding this comment.
Tested with hello_drone.py and multi_agent_drone.py scripts, which both worked as expected. Looks good apart from minor style comments.
Sorry, something went wrong.
|
Hi David Zimmermann (@zimmy87)! Thanks for the review and merging this PR. Much appreciated! |
Sorry, something went wrong.
Hi ykeuter I try to play MultiDroneDemo, but it always make my unity crashed like #4764. whatever the latest airsim version, or this merge version. I also alter my settings.json like https://github.com/microsoft/AirSim/blob/main/PythonClient/multirotor/multi_agent_drone.py .Could you please tell me how can you play the MultiDroneDemo as normal, what the steps. Thanks so much ! |
Sorry, something went wrong.
Hi SworterW ! Thanks for your message. It has been an awful long time since I looked at this. I do remember that the following point is really important:
Apart from that I do not know if subsequent commits / changes to the code base have broken the multi-drone version. At a later stage I might look back into this. |
Sorry, something went wrong.
Hi ykeuter ! Thank you for your reply. I find my defalt setting in names of vehicles in the scene is the same as my settings.json. Honestly, i have no clue now. If it's convenient for you, could you please send a version that you play multidrone successfully. Then i will have a new test. Thanks so much!! |
Sorry, something went wrong.
|
Hi SworterW ! That is really strange. I was able to install everything from scratch and run MultiDroneDemo. The only thing I needed to change was the settings.json, but yours seems to be correct. Could you check if you have a stale (single drone) settings.json hanging around somewhere? I remember AirSim checks at multiple locations for this file and could pick up the wrong one. I put mine in My Documents\AirSim\settings.json. |
Sorry, something went wrong.
Hi ykeuter ! Your reply inspired me a lot. When i built airsim at the beginning, it would spawn setting.json at Document\AirSim\settings.json
|
Sorry, something went wrong.
|
SworterW, you probably still have yet another settings file lying around somewhere. The issue is that the dll plugin looks at different locations than the Unity code itself does. I once made a PR to deal with this confusion by using an environment variable: |
Sorry, something went wrong.
Hi ykeuter ! I'm so sorry to bother you again. I tried this method main...ykeuter:AirSim:settings-env-var |
Sorry, something went wrong.
|
I also encountered the problem of modifying the json. I added the drone to the drone scene and modified the json file. Adding an additional drone directly at the point (0, 0, 0) is out of control. Did you solve this problem? |
Sorry, something went wrong.
|
ykeuter SworterW David Zimmermann (@zimmy87) Can you please give the steps you took to run the multi_agent_drone.py? I have my settings.json correctly set up, and in Unity I am running the "SimModeSelector" scene, after which I select "Drone" mode, but it crashes. What are the correct steps to setting this up? |
Sorry, something went wrong.
|
Most of these issues still boil down to stale (auto-generated) settings.json files... Please check for any of those on your machine and take a look at main...ykeuter:AirSim:settings-env-var for some ways to get around this. |
Sorry, something went wrong.
|
Sandilya Sai Garimella (@sandilyasg) panqingcheng (@pankan2) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Using multiple vehicles is not yet supported in Unity ( #1540 ). This PR attempts to add this functionality.
A few things to note: