Skip to content

Guide Updates to reflect Windows DroneKit Installer #164

Closed

Description

@hamishwillee

Update the DK-Python docs to reflect the addition of new DroneKit installer for Windows. Topics to cover

  • How to use it (where you get it, mapping of installer version to DK version, version of MavProxy required)
  • When you use it - why use this and when use PIP package.
  • Using DroneKit vs / Working on DroneKit distinction in guides for Windows

This requires #163 be completed.

Activity

  1. self-assigned this
    on Jun 16, 2015
  2. hamishwillee commented on Jun 16, 2015

    @hamishwillee
    ContributorAuthor

    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?

  3. hamishwillee commented on Jun 16, 2015

    @hamishwillee
    ContributorAuthor

    @mrpollo Re

    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.

  4. stephendade commented on Jun 16, 2015

    @stephendade
    Contributor

    @hamishwillee

    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.

  5. hamishwillee commented on Jun 16, 2015

    @hamishwillee
    ContributorAuthor

    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.

  6. stephendade commented on Jun 16, 2015

    @stephendade
    Contributor

    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.

  7. stephendade commented on Jun 16, 2015

    @stephendade
    Contributor

    The dependency on C:/Python2.7/ is for the initial build/compilation only.

  8. hamishwillee commented on Jun 16, 2015

    @hamishwillee
    ContributorAuthor

    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).

  9. removed their assignment
    on Jul 27, 2015
  10. tcr3dr commented on Jul 30, 2015

    @tcr3dr
    Contributor
  11. hamishwillee commented on Aug 2, 2015

    @hamishwillee
    ContributorAuthor

    @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".

  12. hamishwillee commented on Aug 3, 2015

    @hamishwillee
    ContributorAuthor

    Docs issues are addressed by #268

  13. jamesbellaero commented on Aug 15, 2015

    @jamesbellaero

    Both of the links stopped working.

  14. hamishwillee commented on Aug 15, 2015

    @hamishwillee
    ContributorAuthor

    @jamesbellaero Yes, but the ones on the live site getting started do work - we pushed fixes for that today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions