90 likes | 233 Views
Integration of a Graphics-Based Programming Tool with Robotics to Stimulate Interest in Computing. Research Proposal Presentation, June 21, 2011 : David South and Mary Shuman. Motivation : The Challenge.
E N D
Integration of a Graphics-Based Programming Tool with Robotics to Stimulate Interest in Computing Research Proposal Presentation,June 21, 2011: David South and Mary Shuman *This research is supported by NSF Grant No. CNS 1005212. Opinions,findings, conclusions, or recommendations expressed in this paper arethose of the author(s) and do not necessarily reflect the views of NSF.
Motivation : The Challenge • In academic computer science programs, women and minority groups still continue to make up only a small population, and have low retention rates even after joining the program. • Reasons? • Lack of exposure to computer science concepts. • Stereotypes. • Confidence in field. • Confidence is what fuels perseverance in the field.
Motivation : Solutions Offered Graphics-Based Programming Robotics • Alice, Greenfoot, Scratch. • Minimizes frustrating syntax. • Teaches the logic behind the code. • Inspires creativity. • Virtual world centered. • Naos, scribblers, and iRobots, lego robots are examples. • Stimulates interest. • Hands on. • Real world problem solving. • Hardware difficulties. • Programming difficulties.
Our Motivation : Why not do BOTH?! • The solution is to integrate the interest stimulating factors of working with a real robot and a graphics- based programming tool. • Approach: Students program by manipulating a robot in the Alice world scene, then the code is translated to a robots language. • Students see an actual robot act out the scene. • This reduces the complexities of language specific syntax and hard ware. • Teaches computational thinking. • Students see the physical enactment of programming logic. • Capable of teaching / education use for all levels of individuals.
Objectives This project is investigating how to integrate the Alice language with fluke robots as a tool to teach computational thinking. • Achieving this objective requires. • Literary review of previous work with Alice and robotics. • Exploring Alice to discover how to retrieve Alice code. • Translating Alice code to robot commands. • Creating a user-friendly robot object within Alice, with new robot specific actions. • Interfacing with multiple robots and different types of robots.
Related Work • Wellman (2009) Wellman, B., Davis, J., and Anderson, M., “Alice and Robotics in Introductory CS Courses,” Proceedings of the Richard Tapia Celebration of Diversity in Computing Conference, Portland, Oregon, April. • Wing (2006) Wing, J. M., “Computational Thinking,” Communications of the ACM, 49, 3 pp. 33–35. Feb. 2006. • Computational Thinking for Middle School Students Through the Integration of Graphical Programming and Robotics. Technical Report. Department of Computer Science, Texas Tech University.
A General View of How it Works • Alice saves each command as its own separate xml file • By looking at where in the file hierarchy an xml file is saved to, we can determine the object, function, and conditional statement it is nested in. • The xml files contain the type of command to be performed and the variables associated with it. • We use a dictionary data structure to hold all of the possible Alice commands associated with a robot specific translation • For example: The Alice object’s move forward command is associated with Myro’s move command myro.<<direction>>(<<speed>>,<<duration>>) where variables contained in “<< >> “ get replaced by their respective variables in the command’s xml file.
Tasks and Issues To Address • Restricting movements to realistic actions. • Allows access to the robot’s senses. • Addressing Alice commands the robot does not understand. • Creating new commands for what the robot can do. • Defining commands for a robots dictionary. • Make software more flexible in regards to reading commands from dictionary. • Software’s functionality within Alice itself. • Commands for multiple robots at the same time. • Dictionaries for robots of different types.
Current Status • Currently we have a basic Python program created that handles Alice’s hierarchal XML output, parses it, and forms Myro commands. • We are still under going literature review, • We are working to make the program work with more Alice commands. • We are looking more into Alice’s software in regards to how objects are handled and how our program can fit into it. • The results of this project can be implemented in the future to improve the effectiveness of K-12 computer science education.