Skip to content

Commit

Permalink
remove generate_each_points from waypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Dec 23, 2024
1 parent 2500376 commit 0585bbb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drone_flightplan/waypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ def create_waypoint(
forward_overlap: float,
side_overlap: float,
rotation_angle: float = 0.0,
generate_each_points: bool = False,
generate_3d: bool = False,
no_fly_zones: dict = None,
take_off_point: list[float] = None,
Expand All @@ -268,7 +267,6 @@ def create_waypoint(
forward_overlap (float): Forward overlap percentage for the waypoints.
side_overlap (float): Side overlap percentage for the waypoints.
rotation_angle (float): The rotation angle for the flight grid in degrees.
generate_each_points (bool): Flag True to generate individual waypoints, False for waylines.
generate_3d (bool): Flag to determine if 3D waypoints should be generated.
no_fly_zones (dict, optional): GeoJSON dictionary representing no-fly zones.
mode (str): "waypoints" for individual points, "waylines" for path lines.
Expand Down Expand Up @@ -460,11 +458,6 @@ def main():
default=0.0,
help="The rotation angle for the flight grid in degrees.",
)
parser.add_argument(
"--generate_each_points",
action="store_true",
help="Do you want waypoints or waylines.",
)
parser.add_argument(
"--generate_3d", action="store_true", help="Generate 3D imagery."
)
Expand Down Expand Up @@ -500,7 +493,6 @@ def main():
args.forward_overlap,
args.side_overlap,
args.rotation_angle,
args.generate_each_points,
args.generate_3d,
no_fly_zones,
args.take_off_point,
Expand Down

0 comments on commit 0585bbb

Please sign in to comment.