Skip to content

Commit

Permalink
correct point index in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Schmoeppel committed Nov 16, 2023
1 parent fa752af commit 8e64a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djitellopy/tello.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ def go_xyz_speed(self, x: int, y: int, z: int, speed: int):
self.send_control_command(cmd)

def curve_xyz_speed(self, x1: int, y1: int, z1: int, x2: int, y2: int, z2: int, speed: int):
"""Fly to x2 y2 z2 in a curve via x2 y2 z2. Speed defines the traveling speed in cm/s.
"""Fly to x2 y2 z2 in a curve via x1 y1 z1. Speed defines the traveling speed in cm/s.
- Both points are relative to the current position
- The current position and both points must form a circle arc.
Expand Down Expand Up @@ -753,7 +753,7 @@ def go_xyz_speed_mid(self, x: int, y: int, z: int, speed: int, mid: int):
self.send_control_command(cmd)

def curve_xyz_speed_mid(self, x1: int, y1: int, z1: int, x2: int, y2: int, z2: int, speed: int, mid: int):
"""Fly to x2 y2 z2 in a curve via x2 y2 z2. Speed defines the traveling speed in cm/s.
"""Fly to x2 y2 z2 in a curve via x1 y1 z1. Speed defines the traveling speed in cm/s.
- Both points are relative to the mission pad with id mid.
- The current position and both points must form a circle arc.
Expand Down

0 comments on commit 8e64a0f

Please sign in to comment.