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

Improve trigger control for survey applications #11878

Merged
merged 18 commits into from Mar 14, 2020

Commits on Mar 14, 2020

  1. Vehicle command: Add mission item to gate mission execution on line o…

    …rthogonal to current trajectory
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    57a71dd View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ff2e723 View commit details
    Browse the repository at this point in the history
  3. MAVLink: Add support for new gate command

    This enables the vehicle to be able to wait with executing the next item until a position has been passed.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    ee03f9b View commit details
    Browse the repository at this point in the history
  4. Navigator: Add ability to wait for a position gate with executing the…

    … mission
    
    This enables the navigator to wait for a specific gate coordinate to pass orthogonally to the current trajectory. This is particularly helpful for payload / camera handling in missions and avoids a dependency of payload handling on navigation waypoints.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    e7fa484 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    820e511 View commit details
    Browse the repository at this point in the history
  6. POSIX SITL: Enable trigger control in plane model

    This allows to test plane survey missions with the camera trigger included in SITL.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    5cc7ece View commit details
    Browse the repository at this point in the history
  7. Add dedicated survey camera plane model

    This is to allow us to test triggering properly in SITL
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    257321c View commit details
    Browse the repository at this point in the history
  8. Mission block: Style improvement

    Boolean logic improvement to avoid double assignment of true
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    07f74de View commit details
    Browse the repository at this point in the history
  9. Mission feasibility checker: Handle mission with zero elements silently

    A mission with zero elements is invalid but should not lead to a warning. Previously a fixed wing aircraft without a mission did emit warnings about a missing land item.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    7635876 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    fe52679 View commit details
    Browse the repository at this point in the history
  11. Camera trigger: Improve code readability

    This helps to trace the code, no functional changes.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    7d8eab0 View commit details
    Browse the repository at this point in the history
  12. Gazebo plane model: Enable tighter turns

    This helps to fly smaller / faster test missions.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    a06c42a View commit details
    Browse the repository at this point in the history
  13. Navigator: Warn only for non-zero missions

    Previously a zero-length mission that failed checks
    (e.g. because a mandatory element was not present) would lead to a
    warning.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    7804502 View commit details
    Browse the repository at this point in the history
  14. Navigator: Improve code readibility

    This diff does not contain any functional changes but just makes the code more readable and adds comments.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    0763436 View commit details
    Browse the repository at this point in the history
  15. Navigator: Improve documentation of mission block

    The default for the gate check condition is to pass and this needed to be explicitly documented
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    2f9a8cd View commit details
    Browse the repository at this point in the history
  16. Mission block: Gate math cleanup and checks

    This change simplifies the gate calculation.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    41639cf View commit details
    Browse the repository at this point in the history
  17. Mission feasibility checker: Prevent zero-length trajectories

    The mission logic depends in a number of locations on being able to calculate the direction from one waypoint to another. Missions that have waypoints that are in the same physical location do not make sense and need to be rejected (the GCS / SDK generating them needs to be fixed). By enforcing this we can work with a reasonable and simpler state machine while executing the mission.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    e5690b3 View commit details
    Browse the repository at this point in the history
  18. SITL plane: Do not configure trigger

    We have a plane_cam configuration for survey applications instead.
    LorenzMeier committed Mar 14, 2020
    Copy the full SHA
    1eafb20 View commit details
    Browse the repository at this point in the history