Skip to content

Commit

Permalink
Fix square pattern in pathplanner
Browse files Browse the repository at this point in the history
  • Loading branch information
EinEinfach committed May 8, 2024
1 parent a1b5a6b commit 395d6a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CaSSAndRA/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

#Version:0.109.2 Fix an issue where api settings or message service setting could be removed after save and reboot
#Version:0.109.3 Fix square pattern in pathplanner
# package imports
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion CaSSAndRA/src/backend/data/appdata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logging
logger = logging.getLogger(__name__)

version = '0.109.2'
version = '0.109.3'
2 changes: 1 addition & 1 deletion CaSSAndRA/src/backend/map/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def calc(selected_perimeter: Polygon, parameters: PathPlannerCfg, start_pos: lis
line_mask = map.linemask(area_to_mow, parameters.width)
else:
line_mask = MultiLineString()
route2 = lines.calcroute(area_to_mow, border, line_mask, [], list(last_coord.coords), parameters, angle+90)
route2 = lines.calcroute(border, line_mask, [], list(last_coord.coords), parameters, angle+90)
route2 = map.turn(route2, -angle-90)
route.extend(list(route2.coords))
# Clear progress bar
Expand Down

0 comments on commit 395d6a3

Please sign in to comment.