Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
chompsky06 committed Jan 28, 2025
1 parent 64ddfa2 commit 30a8381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/bootcamp/decision_waypoint_landing_pads.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def run(
if self.has_sent_landing_command:
command = commands.Command.create_land_command()

# finding nearest landing pad anf setting relative destination
# finding nearest landing pad and setting relative destination
elif not self.has_sent_landing_command and proximity < self.acceptance_radius**2:
smallest_dist = float("inf")
for landing_pads in landing_pad_locations:
Expand All @@ -108,7 +108,7 @@ def run(
)
self.has_sent_landing_command = True

# setting relative destination to waypoint
# setting relative destination to designated waypoint
elif proximity > self.acceptance_radius and not self.has_sent_landing_command:
command = commands.Command.create_set_relative_destination_command(
self.waypoint.location_x, self.waypoint.location_y
Expand Down

0 comments on commit 30a8381

Please sign in to comment.