human tracking and gesture recognition autonomous...

32
Autonomous Quadcopter with Human Tracking and Gesture Recognition By Daniel Garber, Jacob Hindle, and Bradley Lan Advised by Joseph A. Driscoll, Ph.D.

Upload: others

Post on 18-Oct-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Autonomous Quadcopter with Human Tracking and Gesture RecognitionBy Daniel Garber, Jacob Hindle, and Bradley LanAdvised by Joseph A. Driscoll, Ph.D.

Page 2: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Presentation Overview

• Introduction to Quadcopters

• Project Goals

• Initial Design

• New Design

• Human Tracking

• Gesture Recognition

Page 3: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Introduction to Quadcopter

• Quadrotor Helicopter = “Quadcopter”

• Rapidly Expanded Use

• Commercial

• Military

• Private

• Helicopter vs. Quadcopter

• Inherently Unstable

Page 4: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Project Goals

• Develop Autonomous Platform Capable of

• Tracking/Following Individual

• Recognizing/Responding to Gestures

• Personal Assistant

• “Pet Quadcopter”

• Start with “Ready-to-Fly” Quadcopter

Page 5: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design

• Platform

• Block Diagram

• Results

• Shortcomings

Page 6: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design -- Platform

• XAircraft X650CF Platform

• Advantages

• Large Payload

• Already Owned

Page 7: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design -- Block Diagram

Page 8: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design -- Results

• BBB PWM Signal Output

• Communication Between Human and Quadcopter

• XBee (IEEE 802.15.4)

• GPS

Page 9: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design -- Results cont.

• Obstacle Avoidance System

• PID Control

• Altitude Hold

• Power Circuitry

• RC Override

Page 10: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Initial Design -- Shortcomings

• Calibration Method

• PC and Application

• R/C Trim

• Inability to Hover in Place

• Flight Safety

Page 11: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design

• Platform

• Advantages

• Disadvantages

• Block Diagram

• Differences

• Similarities

• Flow Chart

Page 12: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Platform

• Parrot AR Drone 2.0

• Advantages

• Able to Hover in Place

• Built-in Sensors

• Two Cameras

• Ultrasonic Sensor

• WiFi Communication

• Safety and Manageability

Page 13: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Platform cont.

• Disadvantages

• Lower Payload

• No RC Controller

• Limits Range

Page 14: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Block Diagram

Front Camera

Bottom Camera

ARM Processor

Ultrasonic Sensor

AR Drone 2.0 Laptop

IMU

SDK Autonomous Code

ESCsMotors

Page 15: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Differences

• Onboard Camera

• Payload Decrease

• GPS

• Ultrasonic Sensors

• Wireless Communication Method

Page 16: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Similarities

• Human Tracking

• Gesture Recognition

• Wireless Communication

• Live Video/Data Feed

Page 17: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

New Design -- Flow Chart

Get New Image

Process Image

Adjust Yaw

Vertically Centered

?

Adjust Throttle

Correct Distance

?

Adjust Pitch

Gesture detected

?

Takeoff/Land

Yes No

No

Yes

Yes

Yes

No

No

Visible Red?

Hover

Page 18: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Human Tracking (H.T.)

• Human Holds Ball

• Quad Looks for Color of Ball

• Quad Centers the Ball in the Image

Page 19: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

H.T. -- Image Processing

Page 20: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

H.T. -- Image Processing

Page 21: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Dynamic Gesture Recognition

• Based on Movement of Ball

• High Velocity Movements

• Two Gestureso Vertical Movemento Horizontal Movement

Page 22: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Video Demonstration

Page 23: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Summary

•Work Completed on Old Quadcopter

• XBee, GPS, Ultrasonic Sensors, Power Circuitry, Prop Guard

•Work Completed on New Quadcopter

• Image-based Human Tracking, Dynamic Gesture Recognition, Live Video/Data Streams

Page 24: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

References[1] "Home-XAircraft." Home-XAircraft. N.p., n.d. Web. 26 Sept. 2013. <http://xaircraft.com/en/portal.php>.

[2] "X650." XAircraft Wiki. N.p., 27 Oct. 2011. Web. 26 Sept. 2013.<http://wiki.xaircraft.com/en-us/X650>.

[3] “AR.Drone AutoPylot.” Autopylot Website. N.p., n.d. Web. 5 May 2014. <http://home.wlu.edu/~levys/software/ardrone_autopylot/#greenball>

[4] “ARDrone_Developer_Guide.” AR Drone SDK. N.p., n.d. Web. 5 May 2014. <http://www.msh-tools.com/ardrone/ARDrone_Developer_Guide.pdf>

Page 25: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Xaircraft Investigation

• Two ESC Failures

• Poor Documentation

• Black Box Controllers

• FC1212-S (Flight Controller)

• AHRS-S (IMU)

• IMU Not Accurate Enough

Page 26: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Alternative Options

• Option 1 - Repair X650CF

• Option 2 - X650CF Frame, New Parts

• Option 3 - Purchase a New Quadcopter

• APM:Copter

• ELEV-8 Parallax

• Parrot AR Drone

• DJI Phantom

Page 27: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Ultrasonic SensorsXL-MaxSonar-EZ3 Ultrasonic Sensor

• Size: 2.2cm x 2.0cm x 2.5cm (6.1g)

• Range: 20cm - 750cm (datasheet)

• Reading rate: 10Hz (datasheet)

Page 28: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Low Noise Chaining Diagram

Page 29: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Ultrasonic Sensors ResultsLab Tests:

• Max Distance = About 500cm

• Chained, about 1.6 Hz

• Travel Limitation = 8m/s (500cm/625ms)

Page 30: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition
Page 31: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Skin Color Detection

Page 32: Human Tracking and Gesture Recognition Autonomous ...ee.bradley.edu/projects/proj2014/quadhtgr/QUADHTGRFinalPresentat… · Autonomous Quadcopter with Human Tracking and Gesture Recognition

Division of LaborDaniel Garber

• XAircraft Communication/GPS, AR Drone Flight Control and Testing, Website

Jacob Hindle• Power Circuitry, Autonomous Control, Dynamic

Gesture RecognitionBradley Lan

• Ultrasonic Sensors, Data Collection, Skin Detection