next=___ and flush() doesn't change the current waypoint · Issue #201 · dronekit/dronekit-python · GitHub
Skip to content

next=___ and flush() doesn't change the current waypoint  #201

Description

@a7scenario

I'm running an APMcopter SITL with DroneKit/MAVproxy. When DroneKit is "flying" in AUTO mode in the SITL with an 8 waypoint mission, the following function calls returns fine, but fail to actually change the current waypoint. I've confirmed that the next(value) property setter does get invoked, it just doesn't actually change the current waypoint onboard the copter nor does it change what the next() getter returns (it was waypoint #1 before and waypoint #1 after the below function calls).

        MyQuad.vehicle.commands.next=5
        MyQuad.vehicle.flush()

If I do a set_mode command after changing the value of next and doing the flush(), the current waypoint will indeed change to #5 as intended. Welcome any thoughts :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions