Open potatoes9113 opened 6 years ago
Hey, I am having the same problem.
Do we have to change directories or something like that?
( I am using Ubuntu 17.04 ) ( When I installed sitl through PIP on Windows, It ran as documented with no errors)
In the dronekit-python Documentation, it's mentioned that DroneKit-SITL runs for x86 version of Linux only. I am using x64 version. Is this the issue?
Same problem !!!Any thoughts yet?
but where to find x86 version of linux?
The toolchain works by downloading prebuilt images. They are downloaded when you call a command like dronekit-sitl copter
.
BUT, the images are only prebuilt for x86 and for quite old versions of ArduPilot. If you want a more recent version of SITL OR if you want to have x64 then you can still use DK-SITL, but you will have to build the binaries yourself following the normal instructions for building native binaries.
If you do this you lose most of the benefit of DK-SITL - getting easy pre-build binaries. However this is still useful for integrating with test frameworks etc.
The toolchain works by downloading prebuilt images. They are downloaded when you call a command like
dronekit-sitl copter
.BUT, the images are only prebuilt for x86 and for quite old versions of ArduPilot. If you want a more recent version of SITL OR if you want to have x64 then you can still use DK-SITL, but you will have to build the binaries yourself following the normal instructions for building native binaries.
If you do this you lose most of the benefit of DK-SITL - getting easy pre-build binaries. However this is still useful for integrating with test frameworks etc.
how to run the simulator?any idea i am x64 same problem? where to find the simulator file?
@ABDULBASIT1998 You just quoted the answer to your own question. The files are not provided.
What you can do is build SITL natively: http://ardupilot.org/dev/docs/building-the-code.html
Even though you can't use prebuilt binaries, some people will still want to use DK-SITL with the binaries they build natively, because that makes it easier to script tests etc. You can do that by passing the file path to your natively built binary.
this solved it for me
sudo -H pip install dronekit-sitl
I followed the instruction and install mavproxy, dronekit and, dronekit-sitl but when I try to run dronekit-sitl copter the return is command not found. I checked pip list both are installed. I ran python --version the version I'm using is 2.7.14. How can I fix this?