Skip to content

Commit

Permalink
doc: improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Oct 21, 2023
1 parent 078722a commit 81b4ed4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/sbstudio/plugin/operators/land.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def _run(self, storyboard, *, context) -> bool:
if not drones:
return False

# Get the current positions of the drones to land
# Get the current positions of the drones to land. We are operating under
# the implicit assumption that the drones do not move between the end
# of the last formation and the frame where the landing starts.
with create_position_evaluator() as get_positions_of:
source = get_positions_of(drones, frame=self.start_frame)

Expand Down Expand Up @@ -175,7 +177,7 @@ def _run(self, storyboard, *, context) -> bool:
return True

def _validate_start_frame(self, context: Context) -> bool:
"""Returns whether the takeoff time chosen by the user is valid."""
"""Returns whether the landing time chosen by the user is valid."""
storyboard = context.scene.skybrush.storyboard
if storyboard.last_entry is not None:
last_frame = context.scene.skybrush.storyboard.frame_end
Expand Down

0 comments on commit 81b4ed4

Please sign in to comment.