-
Notifications
You must be signed in to change notification settings - Fork 17.4k
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
sim_vehicle.py does not exist #11454
Comments
Hi, Someone who has used Windows would be better able to help out, but I'm not sure how something like this would have gone unnoticed till now. |
The problem is likely just that you don't have Tools/autotest in your path. There's a new script for Cygwin installaion that I don't think is on the wiki yet. Try running the windows ps1 script. If you're using Windows 10, I highly suggest you try WSL, it's what I use and works great. It's like a mini-virtualMachine on Windows 10 and runs just like Ubuntu CLI. Just run the Ubuntu install script! |
I solved the issue by adding the environment variable to the file |
I'm still getting the error |
You need to install pymavlink. |
@Rajeta-Sarkar I highly recommend using WSL instead of cygwin |
I have no experience with cygwin... So I won't be much help. Better use wsl. Otherwise, use sim_vehicle.py and add --no-mavproxy and use your windows mavproxy to connect the sitl instance. But that isn't worth the trouble against using wsl directly |
Ok, @khancyr thanks. Sorry i deleted the messages cause i had not refreshed the page and did not see your reply.... Actually i figured it out, now I have to learn SITL.... But would you still recommend me to go with WSL, or should I now continue with Cygwin. It took me 6 hrs just to finally finish it. |
@UbhayAnand1 you can try doing pip install lxml and see what fails next, but I highly recommend using wsl instead. |
the pip install lxml, was failing due to some wheel error. but I went to the bin, and deleted the pip and python files,and ran the commands to install pymavlink from the wiki again, and it worked... But I will also try to use wsl now, as it seems its better. |
Issue details
I'm trying to set up SITL on Windows 10, i installed Cygwin as is described here, then installed MAVProxy, and cloned Ardupilot source files to the Cygwin filesystem. But when i try to execute :
I get this massage:
-bash: sim_vehicle.py: command not found
I checked the directory and there's no
sim_vehicle.py
file in it to run. Can someone help to figure this out, I don't know what i'm doing wrong.The text was updated successfully, but these errors were encountered: