Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mavtypes/waypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ def __hash__(self):
round(self.speed, 10),
)
)

def __iter__(self):
yield self.x
yield self.y
yield self.z
2 changes: 1 addition & 1 deletion protocols/moving_drop_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from mavcore.mav_protocol import MAVProtocol
from mavcore.messages import SetpointVelocity, LocalPositionNED
from mavcore.types import Waypoint
from mavcore.mavtypes import Waypoint
import time
import numpy as np
from typing import Callable
Expand Down
Loading