Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (34 sloc) 955 Bytes

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.