as2_python_api.mission_interpreter.mission module

Mission message definitions.

class as2_python_api.mission_interpreter.mission.InterpreterStatus(*args: Any, **kwargs: Any)

Bases: BaseModel

Mission status.

current_item: MissionItem = None
done_items: int = 0
feedback_current: Any = None
pending_items: int = 0
state: str = 'IDLE'
property total_items: int

Total amount of items in mission, done + current + pending.

class as2_python_api.mission_interpreter.mission.Mission(*args: Any, **kwargs: Any)

Bases: BaseModel

Mission data model.

plan: list[MissionItem] = []
property stack: MissionStack

Return mission stack.

Raises:

exc – if behavior arg doesn’t exist

Return type:

MissionStack

target: str
verbose: bool = False
class as2_python_api.mission_interpreter.mission.MissionItem(*args: Any, **kwargs: Any)

Bases: BaseModel

Mission Item data model.

args: dict
property args_extended: list

Check if module exist and return full list of arguments, default.

behavior: str
method: str = '__call__'