View Source Tello (Tello v0.1.0)
An unofficial Ryze Tech Tello SDK
usage
Usage
# Start a client
{:ok, tello_client} = Tello.start_client({192, 168, 10, 1}, 8889)
# Enable the Tello's SDK mode
:ok = Tello.Command.enable(tello_client)
# Control Tello
:ok = Tello.Command.get_sdk_version(tello_client)
:ok = Tello.Command.takeoff(tello_client)
Please check Tello.Command
for a full list of commands.
architecture
Architecture
flowchart TD
Application(Tello.Application)
Command(Tello.Command)
Tello2(((Ryze Tello)))
Application --- Manager
Command --- Client1
Command --- Client2
subgraph TelloClient[Client]
Manager(Tello.Client.Manager)
Manager -.- Client1
Manager -.- Client2
subgraph ClientCluster[Cluster]
Client1(Tello.Client)
Client2(Tello.Client)
More(...)
end
end
subgraph CyberTello
Gateway(Tello.CyberTello.Gateway)
Memory[(Tello.CyberTello.Memory)]
subgraph CPU
Processor(Tello.CyberTello.Processor)
ControlUnit(Tello.CyberTello.ControlUnit)
Processor -.- ControlUnit
end
Memory --- Processor
Gateway --- Processor
end
Client1 --- Gateway
Client2 --- Tello2
see-also
See also
Link to this section Summary
Link to this section Functions
@spec start_client(:inet.ip_address(), :inet.port_number()) :: :ignore | {:error, any()} | {:ok, pid()} | {:ok, pid(), any()}
Start a new Tello.Client
.
@spec terminate_client(pid()) :: :ok | {:error, :not_found}
Terminate a Tello.Client
.