Skip to content

Vehicle.commands.next is not writeable #390

Closed

Description

@hamishwillee

In DKPY1.0 the next field on commands was writeable to skip a step in a command sequence. This does not appear to be the case in #384 - you can change the value but any change is ignored. The mission_basic.py in that pull request demonstrates this (ie the skip here is ignored.

Activity

  1. added 3 commits that reference this issue on Nov 2, 2015
    19a817a
    4754718
    7a3be6e
  2. hamishwillee commented on Nov 2, 2015

    @hamishwillee
    ContributorAuthor

    I don't know what last_waypoint is, but this has changed the meaning of next!

    Previously next meant "the waypoint you are heading towards". So initially this returns 0, but as soon as you start moving it reports next as "1" the first waypoint. When you reach the waypoint the system reports "Reached waypoint 1". In the current branch now it is reporting "next" as the waypoint you just went to - the last waypoint. This means that you get next reported as 0 when you're heading towards the first waypoint.

    In addition, the mission_basic.py example shows that vehicle.commands.next is still not settable - ie in dkpy 1.0 as soon as you changed the number this was written and the target changed ... now changing the value makes no difference at all

  3. added a commit that references this issue on Nov 3, 2015
    45ec6de
  4. hamishwillee commented on Nov 5, 2015

    @hamishwillee
    ContributorAuthor

    This is not fixed (rc7/today's master). The .next command is ignored - the test code is the example mission_export.py in the master codeline.

    There is an associated issue #419 which also breaks this example.

  5. tcr3dr commented on Nov 7, 2015

    @tcr3dr
    Contributor

    Fixed by #423 (on rc8).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions