-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create waypoint dictionary for Lap locations #42
Conversation
… waypoint; Created lap waypoint list; Renamed mentions to generic waypoints to named waypoint / waypoint_names
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed.
2024/waypoints/waypoint_task_1.csv
Outdated
Alpha,48.5112750,-71.6505486 | ||
Bravo,48.5058636,-71.6322229 | ||
Landing,48.5103379,-71.6472006 |
There was a problem hiding this comment.
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.
path_2024_task_1.py
Outdated
@@ -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") |
There was a problem hiding this comment.
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
path_2024_task_1.py
Outdated
@@ -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") |
There was a problem hiding this comment.
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
path_2024_task_1.py
Outdated
# Create waypoint name to coordinate dictionary | ||
result, waypoint_dictionary = \ | ||
# Create waypoint name to coordinate dictionary for named waypoints | ||
result, waypoint_names_dictionary = \ |
There was a problem hiding this comment.
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
.
path_2024_task_1.py
Outdated
# Convert waypoint dictionary to list | ||
result, waypoint_list = \ | ||
# Convert named waypoint dictionary to list | ||
result, waypoint_names_list = \ |
There was a problem hiding this comment.
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
There was a problem hiding this 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") |
There was a problem hiding this comment.
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
?
Added Bravo, takeoff and landing to waypoint CSV