Microsoft Kinect Based Mobile Robot Car
Total Page:16
File Type:pdf, Size:1020Kb
Microsoft Kinect Based Mobile Robot Car China Project Center E term, 2012 A Major Qualifying Project submitted to the Faculty of WORCESTER POLYTECHNIC INSTITUTE in partial fulfillment of the requirements for the Degree of Bachelor of Science Authors Max Saccoccio, Robotics and Mechanical Engineering, 2013 ([email protected]) Joseph Taleb, Electrical and Computer Engineering, 2013 ([email protected]) Partnered With: Kang Lutan, Mechanical Engineering ([email protected]) Xie Man, Mechanical Engineering, ([email protected]) Wei Bo, Mechanical Engineering ([email protected]) Wang Li, Mechanical Engineering ([email protected]) Liaison Zhang Huiping, DEPUSH Technologies Ltd., Wuhan, China Project Advisors Professor Lingsong He, HUST Dept. of Mechanical Engineering Professor Xinmin Huang, WPI Dept. of Electrical and Computer Engineering Professor Yiming Rong, WPI Dept. of Mechanical Engineering Professor Stephen Nestinger, WPI Dept. of Mechanical Engineering Abstract Using Microsoft Robotics Developer Studio and the Parallax Eddie robot platform, a mobile robot car was developed using the Microsoft Kinect as the primary computer vision sensor to identify and respond to voice and gesture commands. The project sponsor, Depush Technology of Wuhan, China has requested a commercially viable educational platform. The end user programs the robot using Microsoft Visual Programming Language to implement code written in C#. ii Acknowledgements We would like to thank our project advisors, Professor Rong of Worcester Polytechnic Institute, and Professor He of Huazhong University of Technology, for their help with our project. We would like to thank them for the input they have provided to our project, especially to our presentation and this report. Professor Rong supplied valuable suggestions to help us make our presentation the best that it could be. We would also like to thank them for affording us the opportunity to work with students from different countries. We would also like to thank our contact at Depush, Zhang,Huiping, for his support to our project. Without his constant support on our project, none of what we have achieved could have been possible. The team is grateful to have had the opportunity to visit Depush Technology and the chance to see the several different kinds of interesting robots they produce. iii Table of Contents Abstract ......................................................................................................................................................... ii Acknowledgements ...................................................................................................................................... iii Table of Figures ............................................................................................................................................ vi Table of Tables ............................................................................................................................................ vii Introduction .................................................................................................................................................. 1 Literature Review .......................................................................................................................................... 3 Robot-Human Interaction ......................................................................................................................... 3 Task Completion.................................................................................................................................... 3 Personal Experience .............................................................................................................................. 4 Interaction Experience .......................................................................................................................... 4 Computer Vision ....................................................................................................................................... 5 Kinect Specifications ................................................................................................................................. 6 Robot Platform .......................................................................................................................................... 8 Microsoft Robotics Developer Studio ..................................................................................................... 11 Programming Languages ......................................................................................................................... 12 C# ........................................................................................................................................................ 12 VPL ...................................................................................................................................................... 13 Project Sponsor ....................................................................................................................................... 15 Educational Robotics ............................................................................................................................... 17 Methodology ............................................................................................................................................... 20 Purpose ................................................................................................................................................... 20 Objectives ............................................................................................................................................... 21 Objective 1: Kinect Technology ........................................................................................................... 21 Objective 2: Voice and Gesture Control.............................................................................................. 21 Objective 3: Self-preservation ............................................................................................................ 22 Objective 4: Final Product ................................................................................................................... 22 Project Planning ...................................................................................................................................... 22 Design .......................................................................................................................................................... 24 Follower Service ...................................................................................................................................... 24 Gesture Recognition Service ................................................................................................................... 25 iv Speech Recognition Service .................................................................................................................... 28 Operations .......................................................................................................................................... 29 Initial state properties ......................................................................................................................... 31 Service State ........................................................................................................................................ 32 Obstacle Avoidance Algorithm................................................................................................................ 33 User Interface ......................................................................................................................................... 33 Analysis ....................................................................................................................................................... 37 Final Prototype Evaluation ...................................................................................................................... 37 Kinect as Computer Vision .................................................................................................................. 37 Gesture Recognition Performance...................................................................................................... 38 Speech Recognition Performance ....................................................................................................... 39 Economic Analysis ................................................................................................................................... 40 Challenges ............................................................................................................................................... 41 Future Improvements ............................................................................................................................. 42 Bibliography ................................................................................................................................................ 44 Appendix A: Depush Product Information .............................................................................................. 46 Appendix B: Project Description from Sponsor ...................................................................................... 48 Appendix C: Visual Programming Language Demo Code ......................................................................