Skip to content

Commit

Permalink
bump: version 0.3.3rc0 → 0.3.3rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Dec 9, 2024
1 parent 0a22bf4 commit d4e4034
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG

## 0.3.3rc1 (2024-12-09)

## 0.3.3rc0 (2024-12-09)

## 0.3.2 (2024-11-27)
Expand Down
2 changes: 1 addition & 1 deletion drone_flightplan/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.3rc0"
__version__ = "0.3.3rc1"
24 changes: 14 additions & 10 deletions drone_flightplan/waypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
from shapely.affinity import rotate
from shapely.ops import transform
from shapely.geometry.base import BaseGeometry
from drone_flightplan.calculate_parameters import calculate_parameters as cp

# from drone_flightplan.calculate_parameters import calculate_parameters as cp

import calculate_parameters as cp


log = logging.getLogger(__name__)
Expand Down Expand Up @@ -255,7 +258,7 @@ def create_waypoint(
generate_each_points: bool = False,
generate_3d: bool = False,
no_fly_zones: dict = None,
take_off_point: list[float] = None,
# take_off_point: list[float] = None,
) -> str:
"""
Create waypoints for a given project area based on specified parameters.
Expand Down Expand Up @@ -297,7 +300,8 @@ def create_waypoint(
}
"""
parameters = cp(forward_overlap, side_overlap, agl, gsd)
take_off_point = [-48.505691125287, -1.4614624905464808]
parameters = cp.calculate_parameters(forward_overlap, side_overlap, agl, gsd)
side_spacing = parameters["side_spacing"]
forward_spacing = parameters["forward_spacing"]

Expand Down Expand Up @@ -472,12 +476,12 @@ def main():
required=True,
help="The output GeoJSON file path for the waypoints.",
)
parser.add_argument(
"--take_off_point",
required=True,
type=validate_coordinates,
help="Take off Point Coordinates in 'longitude,latitude' format (e.g., 82.52,28.29).",
)
# parser.add_argument(
# "--take_off_point",
# required=True,
# type=validate_coordinates,
# help="Take off Point Coordinates in 'longitude,latitude' format (e.g., 82.52,28.29).",
# )
args = parser.parse_args()

with open(args.project_geojson_polygon, "r") as f:
Expand All @@ -498,7 +502,7 @@ def main():
args.generate_each_points,
args.generate_3d,
no_fly_zones,
args.take_off_point,
# args.take_off_point,
)

with open(args.output_file_path, "w") as f:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ source-includes = ["LICENSE.md", "README.md"]

[tool.commitizen]
name = "cz_conventional_commits"
version = "0.3.3rc0"
version = "0.3.3rc1"
version_files = [
"pyproject.toml:version",
"drone_flightplan/__version__.py",
Expand Down

0 comments on commit d4e4034

Please sign in to comment.