From 95f5b9e5ef0eec3557c13b8a88a68020e28bdbea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 11 Mar 2025 21:28:57 +0000 Subject: [PATCH] feat: APIs update from https://github.com/anduril/apis/commit/c790d457456f9c1569cafc44b2ab9fffecf4aef2 --- src/anduril/entitymanager/v1/__init__.py | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/src/anduril/entitymanager/v1/__init__.py b/src/anduril/entitymanager/v1/__init__.py index a5f03ec..c0bf91b 100644 --- a/src/anduril/entitymanager/v1/__init__.py +++ b/src/anduril/entitymanager/v1/__init__.py @@ -92,6 +92,28 @@ class GeoType(betterproto.Enum): CONTROL_AREA = 6 BULLSEYE = 7 + ACM = 8 + """Airspace Coordinating Measure""" + + +class ControlAreaType(betterproto.Enum): + INVALID = 0 + KEEP_IN_ZONE = 1 + KEEP_OUT_ZONE = 2 + DITCH_ZONE = 3 + """ + The zone for an autonomous asset to nose-dive into + when its assignment has been concluded. + """ + + LOITER_ZONE = 7 + """The area where an asset is able to loiter.""" + + +class AcmDetailType(betterproto.Enum): + INVALID = 0 + LANDING_ZONE = 16 + """The zone that the autonomous asset is configured to land in.""" class ArmyEchelon(betterproto.Enum): @@ -902,6 +924,30 @@ class GeoDetails(betterproto.Message): """A component that describes a geo-entity.""" type: "GeoType" = betterproto.enum_field(1) + control_area: "ControlAreaDetails" = betterproto.message_field( + 5, group="type_details" + ) + acm: "AcmDetails" = betterproto.message_field(6, group="type_details") + + +@dataclass(eq=False, repr=False) +class ControlAreaDetails(betterproto.Message): + """ + Determines the type of control area being represented by the geo-entity, + in which an asset can, or cannot, operate. + """ + + type: "ControlAreaType" = betterproto.enum_field(1) + + +@dataclass(eq=False, repr=False) +class AcmDetails(betterproto.Message): + acm_type: "AcmDetailType" = betterproto.enum_field(1) + acm_description: str = betterproto.string_field(2) + """ + Used for loosely typed associations, such as assignment to a specific fires unit. + Limit to 150 characters. + """ @dataclass(eq=False, repr=False)