Skip to content

Add AUTO mode documentation #220

Open

Description

@hamishwillee

We have a few minor examples of using AUTO mode, but nothing exhaustive. It needs to show how to add mission waypoints, clear waypoints, use next. Also needs to show dynamic updating.

One gotcha that needs to be tested is how vehicle.commands.next works/is implemented. #201 research seems to indicate that next is only switched over once the current command completes - if you need to switch immediately then you'd use https://pixhawk.ethz.ch/mavlink/#MISSION_SET_CURRENT . Both ideas need to be tested.

Also need to make it clear that you don't need to set the HOME position (waypiont 0).

Also cover clearing semantics as per #132

Activity

  1. self-assigned this
    on Jul 21, 2015
  2. tcr3dr commented on Jul 22, 2015

    @tcr3dr
    Contributor

    My only caveat here is we need to keep the right level of abstraction. AUTO mode for Solo is increasingly trending toward GUIDED + refreshing of waypoints. I anticipate DroneKit will be supporting both for some time but we want to avoid when possible the need to memorize two conceptual models.

    (That said, it doesn't impact the technical aspects of this issue, which is explaining the API behavior to make it intuitive.)

  3. hamishwillee commented on Jul 22, 2015

    @hamishwillee
    ContributorAuthor

    @tcr3dr Can you expand on what you mean by "Guided" + refreshing of waypoints? My guess is that you're saying missions are now done in guided mode using scripts rather than as "mission definitions" in AUTO?

    Appreciate that we don't want to confuse users. Using AUTO is important at the moment mainly because there are plenty of functions only available in auto mode. In Plane particularly this is so bad that the "guided" model is actually to dynamically modify a mission.

    We really need to get our basic guided API "up to scratch" (like addition of change speed and roi commands in interface) with corresponding changes in plane/copter to support them. At that point AUTO mode could really fade away.

  4. removed their assignment
    on Jul 27, 2015
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