-
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
Created path_2024_task_1.py #39
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
''' | ||
Task 1 path | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we change the docstring to be like |
||
''' | ||
|
||
import dronekit | ||
|
||
|
||
CONNECTION_ADDRESS = "tcp:localhost:14550" | ||
|
||
|
||
def run() -> int: | ||
mgupta27 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
""" | ||
Reads in hardcoded waypoints from CSV file and sends drone commands. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the docstring can you change it to this: |
||
""" | ||
# Wait ready is false as the drone may be on the ground | ||
drone = dronekit.connect(CONNECTION_ADDRESS, wait_ready = False) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to |
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: Can you make these double quotations.