Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create waypoint dictionary for Lap locations #42

Merged
merged 4 commits into from
Mar 12, 2024

Conversation

BalajiLeninrajan
Copy link
Contributor

Added Bravo, takeoff and landing to waypoint CSV

Balaji Leninrajan added 2 commits March 10, 2024 15:22
… waypoint; Created lap waypoint list; Renamed mentions to generic waypoints to named waypoint / waypoint_names
Copy link
Collaborator

@mgupta27 mgupta27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed.

Comment on lines 2 to 5
Alpha,48.5112750,-71.6505486
Bravo,48.5058636,-71.6322229
Landing,48.5103379,-71.6472006
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get rid of these changes. We only need to know the waypoint Alpha because when the drone takes off, it will need to fly to waypoint Alpha, then run laps.

@@ -9,7 +9,8 @@
from modules import waypoints_dict_to_list


WAYPOINT_FILE_PATH = pathlib.Path("2024", "waypoints", "waypoint_task_1.csv")
WAYPOINT_NAMES_FILE_PATH = pathlib.Path("2024", "waypoints", "waypoint_task_1.csv")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename file to takeoff_waypoint_task_1.csv

@@ -9,7 +9,8 @@
from modules import waypoints_dict_to_list


WAYPOINT_FILE_PATH = pathlib.Path("2024", "waypoints", "waypoint_task_1.csv")
WAYPOINT_NAMES_FILE_PATH = pathlib.Path("2024", "waypoints", "waypoint_task_1.csv")
LAP_WAYPOINT_FILE_PATH = pathlib.Path("2024", "waypoints", "lap_waypoint_task_1.csv")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename to lap_waypoints_task_1.csv

# Create waypoint name to coordinate dictionary
result, waypoint_dictionary = \
# Create waypoint name to coordinate dictionary for named waypoints
result, waypoint_names_dictionary = \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename to takeoff_waypoint_dictionary.

# Convert waypoint dictionary to list
result, waypoint_list = \
# Convert named waypoint dictionary to list
result, waypoint_names_list = \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename to waypoint_takeoff_list

Copy link
Collaborator

@mgupta27 mgupta27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -9,7 +9,8 @@
from modules import waypoints_dict_to_list


WAYPOINT_FILE_PATH = pathlib.Path("2024", "waypoints", "waypoint_task_1.csv")
TAKEOFF_WAYPOINT_FILE_PATH = pathlib.Path("2024", "waypoints", "takeoff_waypoint_task_1")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Should it be takeoff_waypoint_task_1.csv?

@BalajiLeninrajan BalajiLeninrajan merged commit a8ca9ef into main Mar 12, 2024
1 check passed
@BalajiLeninrajan BalajiLeninrajan deleted the create-lap-location-waypoint-dictionary branch March 12, 2024 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants