as2_python_api.modules.module_base module

Module Base.

class as2_python_api.modules.module_base.ModuleBase(drone: DroneInterface, alias: str)

Bases: object

Module Base.

classmethod get_plan_item(method_name: Callable | None = None, *args, **kwargs) MissionItem

Get a MissionItem from a method call.

Parameters:

method_name (Callable, optional) – Method to be called. Defaults to “cls.__call__”.

Returns:

MissionItem with the method call

Return type:

MissionItem