as2_python_api.service_clients package

Submodules

as2_python_api.service_clients.arming module

Arming service handler

class as2_python_api.service_clients.arming.Arm(drone: DroneInterfaceBase, value: bool = True)[source]

Bases: ServiceHandler

Arming service handler class

class as2_python_api.service_clients.arming.Disarm(drone)[source]

Bases: Arm

Disarming service handler

as2_python_api.service_clients.offboard module

Offboard service handler

class as2_python_api.service_clients.offboard.Offboard(drone: DroneInterfaceBase, value: bool = True)[source]

Bases: ServiceHandler

Offboard service handler

as2_python_api.service_clients.service_handler module

Service handler

class as2_python_api.service_clients.service_handler.ServiceHandler(service_client: Client, request_msg, logger)[source]

Bases: object

Service handler class

exception ServiceFailed[source]

Bases: Exception

Service failed exection

exception ServiceNotAvailable[source]

Bases: Exception

Service not available exception

TIMEOUT = 3

Module contents