add stateful auto explore

This commit is contained in:
abnerhexu
2026-01-24 15:45:57 +08:00
parent 9b05507c5e
commit 9cb4537528
2 changed files with 504 additions and 1 deletions

View File

@@ -319,6 +319,10 @@ class UAVAPIClient:
circle = self._request('GET', '/targets/type/circle')
polygen = self._request('GET', '/targets/type/polygon')
return fixed + moving + waypoint + circle + polygen
def get_target_status(self, target_id: str) -> Dict[str, Any]:
"""Get information about a specific target"""
return self._request('GET', f'/targets/{target_id}')
def get_waypoints(self) -> List[Dict[str, Any]]:
"""Get all charging station waypoints"""