add optimal_way_to using dijkstra

This commit is contained in:
abnerhexu
2026-01-23 22:45:58 +08:00
parent 77264c172f
commit 5c500f1d11
6 changed files with 583 additions and 21 deletions

View File

@@ -86,6 +86,7 @@ Tips for you to finish task in the most efficient way:
5. If battery is below 30, find the nerest waypoint, go there and land, then charge to 100.
6. Reaching to a higher latitude can help you see targets, but do not exceed the drone's limit.
7. Cannot move from current status: DroneStatus.IDLE means you need to take off first then move.
8. If the start point is different with the current position of the drone, first go to the start point, then continue the left paths.
Begin!