View Source Tello.Command (Tello v0.1.0)
Collection of functions to send command to a Tello.Client.
Link to this section Summary
Functions
Fly back for distance cm.
Set the Tello to station mode, and connect to the access point.
Fly at a curve according to the two given coordinates of the Mission Pad mission_pad_id
at speed (cm/s).
Fly down for distance cm.
Stop motors immediately.
Enable Tello's SDK mode.
Flip direction
Fly forward for distance cm.
Get current battery percentage.
Get Tello SDK version
Get Tello serial number
Get current speed (cm/s).
Get current flight time.
Get Wi-Fi SNR.
Fly to coordinate x,y,z at speed (cm/s).
Fly to coordinates x,y,z of Mission Pad first_mission_pad_id after recognizing,
and recognize coordinates 0,0,z of Mission Pad second_mission_pad_id
and rotate to the yaw value after hovering at the coordinates.
Auto landing.
Fly left for distance cm.
Fly right for distance cm.
Rotate degree degrees on direction.
Set Mission Pad detection to on/off
Set Mission Pad detection mode
Set remote controller via four channels
Set speed to speed cm/s
Set Wi-Fi SSID and password
Hover in the air.
Set the video stream to on/off.
Auto takeoff.
Fly up for distance cm.
Link to this section Types
@type mission_pad_id() :: :m1 | :m2 | :m3 | :m4 | :m5 | :m6 | :m7 | :m8
Link to this section Functions
Fly back for distance cm.
Set the Tello to station mode, and connect to the access point.
curve(tello_client, coordinate1, coordinate2, speed, mission_pad_id \\ nil)
View SourceFly at a curve according to the two given coordinates of the Mission Pad mission_pad_id
at speed (cm/s).
Fly down for distance cm.
Stop motors immediately.
Enable Tello's SDK mode.
Flip direction
Available direction:
:left:rightforwardback
Fly forward for distance cm.
Get current battery percentage.
Get Tello SDK version
Get Tello serial number
Get current speed (cm/s).
Get current flight time.
Get Wi-Fi SNR.
@spec go(pid(), coordinate(), integer(), mission_pad_id()) :: :ok | {:error, any()}
Fly to coordinate x,y,z at speed (cm/s).
If mission_pad_id is set, the coordinates will be set of the Mission Pad.
jump(tello_client, coordinate, speed, yaw, first_mission_pad_id, second_mission_pad_id)
View SourceFly to coordinates x,y,z of Mission Pad first_mission_pad_id after recognizing,
and recognize coordinates 0,0,z of Mission Pad second_mission_pad_id
and rotate to the yaw value after hovering at the coordinates.
Auto landing.
Fly left for distance cm.
Fly right for distance cm.
Rotate degree degrees on direction.
Set Mission Pad detection to on/off
Set Mission Pad detection mode
set_remote_controller(tello_client, channel_left_right, channel_forward_backward, channel_up_down, yaw)
View SourceSet remote controller via four channels
Set speed to speed cm/s
Set Wi-Fi SSID and password
Hover in the air.
Set the video stream to on/off.
Auto takeoff.
Fly up for distance cm.