Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Your task is to implement the code in __init__() and run() to travel to and land at the designated waypoint if the drone is within self.acceptance_radius.

Once your code is implemented, the simulator should exit after the drone lands, which should occur within 60 seconds of start. The difference between the coordinates of the drone position and waypoint under the text file in log/ should be less than 0.1 . You can also confirm with the screenshot.

...

Note

Bonus:

  • While the simulated drone will always successfully complete its movement, what if it was possible for the drone to halt at any time (without your input)? Does your code handle this case?

  • A real drone, unlike the simulation, might fail to halt on exactly top of a waypoint (due to wind and other external factors). Does your code handle this case?

...