Skip to content
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

Download mission capability #145

Merged
merged 13 commits into from
Nov 10, 2017
Merged

Download mission capability #145

merged 13 commits into from
Nov 10, 2017

Commits on Nov 8, 2017

  1. mission: change send_mission to upload_mission

    It seems more intuitive to "upload" a mission than to "send" it.
    Also, once the functionality to download a mission, it would be awkward
    to call it "receive" a mission.
    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    710e5ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16247d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc5e11a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1bc5a9 View commit details
    Browse the repository at this point in the history
  5. mission: various cleanup

    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    b684be5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9072384 View commit details
    Browse the repository at this point in the history
  7. mission: set activity before calling callback

    And don't forget to set activity.
    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    3e6ba4e View commit details
    Browse the repository at this point in the history
  8. mission: always send item, even if no change

    When we implement mission item download we need to have a unique
    mapping from mavlink messages to mission items, otherwise we can't
    compare uploaded to downloaded mission items.
    
    Previously, we omitted gimbal and speed settings if the previous mission
    item had the same setting. However, this would mean that we don't have a
    unique mapping when downloading a mission item.
    For instance if we have two mission items with speed 5 m/s, we would only
    send one mission item and omit the speed setting in the second
    mission item. When downloading the mavlink items for this, we get NAN
    for the speed of the second mission item because we don't if it was
    actually set or omitted when set.  By always setting the speed, we have
    a bit more overhead but it makes it explicit and we don't lose
    information when doing multiple transfers.
    
    To save mission item "space" it is always possible to set the speed to
    NAN which means no mavlink item is sent for it.
    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    5a01a27 View commit details
    Browse the repository at this point in the history
  9. mission: add a mutex to lock everything

    This should make the mission module somewhat thread-safe.
    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    1390c0c View commit details
    Browse the repository at this point in the history
  10. mission: add mission item download

    This adds the feature to download mission items from a vehicle. This
    currently fails if any command or waypoint is downloaded that is not
    implemented. Implemented means what can be uploaded.
    julianoes committed Nov 8, 2017
    Configuration menu
    Copy the full SHA
    8704697 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f4b847d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    af5007d View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2017

  1. Configuration menu
    Copy the full SHA
    7085d97 View commit details
    Browse the repository at this point in the history