Skip to content
Use PS4 controller control DJI Tello
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
device
model
service
.gitignore
README.md
go.mod
go.sum
main.go

README.md

PS4 DualShock controller + Tello

Use PlayStation 4 DualShock controller control DJI Tello drone

Youtube: https://www.youtube.com/watch?v=WId8eJ22bAA

Preparation

  1. Connect dualshock controller by USB cable. (I tried to use bluetooth, the gods4 lib not able to to make a connection)
  2. Power on Tello
  3. Connect computer wifi to Tello-XXXXX

Build

go build

Run

go run tello

Control

L1 -> LANDOFF
R1 -> TAKEOFF

L2 -> DOWN
R2 -> UP

LFET STICK

UP -> FORWARD  
DOWN -> BACKWARD  
LEFT -> MOVE_LEFT   
RIGHT -> MOVE_RIGHT

RIGHT STICK

LEFT -> CLOCKWISE   
RIGHT -> COUNTER_CLOCKWISE

Reference

kpeu3i/gods4
gobot
Automating DJI Tello Drone using GOBOT

TO DO

I will try to use raspberrypi to control Tello later

You can’t perform that action at this time.