We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think these should be self.add_wp(home[0],home[1],alt,speed,wait) self.land()
The definition of run() looks like this: def run(self,home:list,pts:list[list[float]], alt:int, speed:int, wait:int):
but in Python3, this resulted in "TypeError: 'type' object is not subscriptable".
This modified definition does not result in an error: def run(self,home:list,pts:list, alt:int, speed:int, wait:int):
The text was updated successfully, but these errors were encountered:
You're absolutely right. Please feel free to make a PR and I'll merge it
Sorry, something went wrong.
No branches or pull requests
sp.add_wp(home[0],home[1],alt,speed,wait)
sp.land()
I think these should be
self.add_wp(home[0],home[1],alt,speed,wait)
self.land()
The definition of run() looks like this:
def run(self,home:list,pts:list[list[float]], alt:int, speed:int, wait:int):
but in Python3, this resulted in "TypeError: 'type' object is not subscriptable".
This modified definition does not result in an error:
def run(self,home:list,pts:list, alt:int, speed:int, wait:int):
The text was updated successfully, but these errors were encountered: