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
Build Error in Hello Drone #3550
Comments
We are trying to run your exact scenario. I feel super dense. The READMEs are scattered a bit so hard to know where to start. But at https://microsoft.github.io/AirSim/use_precompiled/ We have windows 10. We downloaded the binaries from the release page and unzipped it. The README says look for https://github.com/Microsoft/AirSim/releases we unzipped the files. And it looks like an image of the GitHub repo and then it says to “ run the run.bat” I don’t see any file like this in that in the .zip file. So I think we are looking in the wrong place for installation. What’s the correct instruction? |
Hi RichTong, To be Honest, MS-Airsim, instructions are not that much clear and it vague and the Video explanation available on the you tube are pretty old and faced same problem with installation . Some how managed to build and run and now completedly freezed dono where to proceed - our integration from visual studio code to python -Anaconda environment is very challenging one , we followed the instruction but still we could not .... Tried Implementing with AZURE : |
@richtong double clicking the executable should launch the binary: @Roopesh-Bharatwaj-K-R you can just install the |
@ahmed-elsaharti Thank You very Much , Actually, we tried running this and but still face error, i'm attaching the image of that , please look over and give us some idea and suggestions. Thanks Again. |
@Roopesh-Bharatwaj-K-R This error suggests that script cant reach an airsim instance. Are you sure you are running an airsim simulation/binary while testing the script? |
@ahmed-elsaharti , Thanks...It works well now, but the drone moves upwards and its bit erratic , Actually where do we need to input the required code for object detection and autonomous driving(pathing). Is it going to be in the computer vision folder or we can code it directly into hello drone.py?. |
@ahmed-elsaharti, I've also been having problem with running the code. it Always doesn't build the current instance because there are errors in myclass.h, I haven't even tempered with the file. Attached is the error, can you please help me out. Thanks in Advance. |
@Roopesh-Bharatwaj-K-R You could create a python script using your IDE of choice and run it either using the IDE or through terminal as long as your script imports airsim just like the demo scripts (hello_drone, etc) do. I generally recommend doing that rather than trying to run python through visual studio 2019 |
@ahmed-elsaharti , At first this was working well but then i tried to clone some files from github(not really sure the cause). Had to reinstall python and trying to run hello_drone.py again didnt work. i have also tried to set the python path in the environment variable. I think the problem is with python but im not sure. Please help. Thanks |
You're probably right. Its most likely a python problem (similar to this). I'd try the suggestions in the issue linked above. |
@ahmed-elsaharti Thank You, Uninstalling Python environment from scratch and reinstalling. |
@ahmed-elsaharti its working now !... Thanks Again |
@ahmed-elsaharti Hi, we tried Running Hello drone, every thing was fine and in mid way we reached with an unexpected Attribute Error, Thanks. |
Hi @Roopesh-Bharatwaj-K-R , can you try this solution and let us know if it works? |
Hi, @ahmed-elsaharti We followed the Solution provided from the link , of uninstalling of airsim/ msg-rpc python package , we did it but still there error seems to be persist , |
@Roopesh-Bharatwaj-K-R try using |
After that reinstall the two needed packages again. |
Hi, @ahmed-elsaharti , Thanks for the clear image explanation but to be Honest we uninstalled the Both Msgpack, msgpack-python and looked for the Pip list, and we reinstalled them both, and tried couple of times but still the problem does not move out. Thanks Again. Attaching the image : For Uninstalling and Installing ..... |
@Roopesh-Bharatwaj-K-R Hmmm...thats odd |
Also, maybe try creating a fresh new conda environment and install ONLY the airsim package? (don't upgrade anything since upgrading msgpack is what causes one of the issues) |
|
Try a new conda environment and see if that works. That could help us understand if it's a package that's interfering. |
@Roopesh-Bharatwaj-K-R did you change hello_drone.py? |
yes, i have modified .. |
try changing it back. |
Now re modifying to original drone code --- Previous error Occurs... |
@ahmed-elsaharti , What could be the possible solution to resolve this and have tried entire suggested approaches, but Error Persist. |
@ahmed-elsaharti Hi, awaiting your kind response ... to tackle this error issue, Thanks ! |
Hi @Roopesh-Bharatwaj-K-R, I'm unable to reproduce the error which is why I'm not able to debug it. What environment are you testing this on? Is it the blocks environment from the latest Airsim commit? If thats the case, try testing with the precompiled blocks binary in the releases section. If the issue still occurs with the precompiled binary then I'm almost certain that this is happening due to the way you've got python set up on your machine or because of the packages you have installed. If the script works fine using the binary then this could be an issue caused by a recent commit. If thats the case do let me know and we could try to track down the commit causing this. |
Hi @ahmed-elsaharti, we changed the airsim entire to old airsim which we had in another computer ..and new one was cloned in github very recently...i think the new version caused us this error----(we tried both City Landscape and Landscape Mountains, both had the errors on newly cloned airsim even after installing and uninstalling packages). Thank You very much for your support. Now its working fine |
Hi!, this has become a long thread. Is there anything open after PR #3594 from David? |
Has there been any progress in this bug? I'm experiencing the same error and tried all the proposed workarounds in this thread w/o success. Thanks! |
Hi @ilopezfr! Which commit are you using? |
Closed due to inactivity. Please, feel free to ask for it to be reopened if you wish to continue posting. |
Build Error
we are trying to run the hello drone but still problem persist after installing all packages.
trying to run the hello drone in landscape mountains, pops the error this was one scenario.
next is when is insert the joystick control it runs and it pops error showing do you want to proceed with the previous successful build , if yes ...joystick control is enabled with drone .
is this hello drone program automatically allows to fly or this only allows to use aid with joystick control ?
Context details
windows-10, Python 3.7, Unreal- 4.26
The text was updated successfully, but these errors were encountered: