Pose Ordered Tello
Human-Robot-Interaction using Pose-Estimation tree.
The code contains of 3 main parts:
- Pose Estimation
- Body Tracking
- And some other actions for Sending Commands for the Tello Drone!
The Commands Part Contains of:
- Active Track
- Forward Movement
- Backward Movement
- Left Movement
- Right Movement
- Flipping Backward
- Taking a Snapshot
- Land
For the Active Track Part:
3 PID Controllers are applied for tracking the person in the frame.
- To control the altitude(Tracking Error = Y position of the person in each frame).
- Control the orientation(TE = X position of the person in the frame).
- Control the distance(TE = height difference of Hip and Nose of the person).
For the Pose Detection:
- Body joints were detected using Google's Mediapipe Framework
- Angles of the elbows and shoulders for both right and left hands are being detected
- Based on the given angles, each pose is getting detected
- Based on that, the commands are being sent to the Quadcopter
- After executing each command, 50 frames of images are ignored until the following command arises!
Note: Only tested on Ubuntu 20.04 and Windows 11(Perfectly Working!)!