You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Guide Updates to reflect Windows DroneKit Installer #164
With respect to "When you use it - why use this and when use PIP package.". You use this as it is the simplest approach by far and it works! We haven't got a working "full" installation via the python command prompt yet so if you want the map and console and DK you need this. (in fact for SITL only you don't since SITL will show you the map and console on windows - but if you connect from windows to anything else then you do).
@stephendade, are there any limitations as compared to installing DK/Mavproxy in a command prompt?
My understanding is that there aren't. The only potential limitation was that you might want to use a library not currently loaded by DK/MAVProxy - however there is nothing to stop you going to Python command prompt at C:/Python2.7/ and installing whatever librarys you need right?
Using DroneKit vs / Working on DroneKit distinction in guides for Windows
We have a clear distinction on this already based on the titles of the Building vs Installing sections and the text explaining that Building DroneKit-Python on Windows is for developing.
I am assuming here that we don't change our current Building DroneKit-Python on Windows to use some process whereby they rebuild the installer and then reapply it. That would be more complex and have additional dependencies.
are there any limitations as compared to installing DK/Mavproxy in a command prompt?
There are no differences that I am aware of. They should run exactly the same.
however there is nothing to stop you going to Python command prompt at C:/Python2.7/ and installing whatever librarys you need right
The install is completely independent of whatever Python environment you've got, so that won't work. If the user's custom modules require other python libraries, I'm not sure how they'd do that - maybe if those libraries were installed with their module in the MAVproxy dir.
The install is completely independent of whatever Python environment you've got, so that won't work. If the user's custom modules require other python libraries, I'm not sure how they'd do that - maybe if those libraries were installed with their module in the MAVproxy dir.
I don't quite get that - there was a stated dependency/assumption on C:/Python2.7/ so isn't that the "Python environment you've got"? i.e. if you open the command prompt and add something from PIP wont that be useable.
During the build process for MAVProxy (py -> exe) for the Windows build, it takes all the dependent Python libraries (and Python itself) and bundles it all up into the exe and associated support files. Then it take all this and puts it into a setup.exe.
Thus MAVProxy (and all modules running within it) are using a "mini-Python" environment contained within the MAVProxy.exe and associated files in the install folder.
Thank you - that makes perfect sense. I guess you might well set things up using the command prompt in order to get more control over these dependencies (rather than using the installer).
Activity
hamishwillee commentedon Jun 16, 2015
With respect to "When you use it - why use this and when use PIP package.". You use this as it is the simplest approach by far and it works! We haven't got a working "full" installation via the python command prompt yet so if you want the map and console and DK you need this. (in fact for SITL only you don't since SITL will show you the map and console on windows - but if you connect from windows to anything else then you do).
@stephendade, are there any limitations as compared to installing DK/Mavproxy in a command prompt?
My understanding is that there aren't. The only potential limitation was that you might want to use a library not currently loaded by DK/MAVProxy - however there is nothing to stop you going to Python command prompt at C:/Python2.7/ and installing whatever librarys you need right?
hamishwillee commentedon Jun 16, 2015
@mrpollo Re
We have a clear distinction on this already based on the titles of the Building vs Installing sections and the text explaining that Building DroneKit-Python on Windows is for developing.
I am assuming here that we don't change our current Building DroneKit-Python on Windows to use some process whereby they rebuild the installer and then reapply it. That would be more complex and have additional dependencies.
stephendade commentedon Jun 16, 2015
@hamishwillee
There are no differences that I am aware of. They should run exactly the same.
The install is completely independent of whatever Python environment you've got, so that won't work. If the user's custom modules require other python libraries, I'm not sure how they'd do that - maybe if those libraries were installed with their module in the MAVproxy dir.
hamishwillee commentedon Jun 16, 2015
I don't quite get that - there was a stated dependency/assumption on C:/Python2.7/ so isn't that the "Python environment you've got"? i.e. if you open the command prompt and add something from PIP wont that be useable.
stephendade commentedon Jun 16, 2015
During the build process for MAVProxy (py -> exe) for the Windows build, it takes all the dependent Python libraries (and Python itself) and bundles it all up into the exe and associated support files. Then it take all this and puts it into a setup.exe.
Thus MAVProxy (and all modules running within it) are using a "mini-Python" environment contained within the MAVProxy.exe and associated files in the install folder.
stephendade commentedon Jun 16, 2015
The dependency on C:/Python2.7/ is for the initial build/compilation only.
hamishwillee commentedon Jun 16, 2015
Thank you - that makes perfect sense. I guess you might well set things up using the command prompt in order to get more control over these dependencies (rather than using the installer).
tcr3dr commentedon Jul 30, 2015
See these URLs for our first Windows builds:
Thanks again @stephendade for the work behind these.
hamishwillee commentedon Aug 2, 2015
@tcr3dr Can the parent directory ( https://s3.amazonaws.com/dronekit-installers/windows/ ) be given unrestricted read access - at the moment it is not possible to see the contents.
That way I can say something like "get the latest here, but see dir HERE for legacy versions".
hamishwillee commentedon Aug 3, 2015
Docs issues are addressed by #268
jamesbellaero commentedon Aug 15, 2015
Both of the links stopped working.
hamishwillee commentedon Aug 15, 2015
@jamesbellaero Yes, but the ones on the live site getting started do work - we pushed fixes for that today.