190 likes | 360 Views
IN.1010, IN.0111, IN.0114, IN.1910, IN.0300 Robotics Project Autumn Semester 2013 Lecture 1 : Introduction and Setup Prof. B. Hirsbrunner (beat.hirsbrunner@unifr.ch) Thomas Rouvinez (thomas.rouvinez@unifr.ch). Today. Goals Organisation Project description e -puck robots
E N D
IN.1010, IN.0111, IN.0114, IN.1910, IN.0300 Robotics ProjectAutumn Semester 2013 Lecture 1: Introduction and Setup Prof. B. Hirsbrunner (beat.hirsbrunner@unifr.ch) Thomas Rouvinez (thomas.rouvinez@unifr.ch)
Today • Goals • Organisation • Project description • e-puck robots • ProgrammingenvironmentAseba • Demonstration ofsimulation • Todo's • Lab visit
Goals • Gain some hands-on programmingexperience • Write applications for mobile robots: • Event-based programming • Dealing with dynamic physical environments • Learn best practices of software development • Write a detailed project documentation • Hold a project presentation
Organisation • Diuf.unifr.ch • diuf.unifr.ch/pai/pr1 • Coursewebsite, slides, exercises, labs, forum • Gestens • http://gestens.unifr.ch/sc/ ( > Verbindung Studierende) • Subscription in gestensiscompulsoryfor all studentswhowishtoobtainthecoursecredits ;)
Organisation: Project (1) • The problemsolvingisdone in groupsoftwopersons • The coding, documentationandpresentationaredonebyeachstudentindividually • Final projecthastobeacceptedandisgraded • Best project will beawarded a prize • Final Project Deadline: • Oneweekbeforethe final presentation
Organisation: Project (2) • Project acceptance criteria: • The code has to work in the simulation and on the mobile robots in the physical arena • The documentation and the presentation have to be done according to the standards which will be discussed in class • No plagiarism!
Organisation: Exercises • Doingtheexercisesiscompulsoryforeverystudent • An exerciseisacceptedif ... • thecodecanbeexecuted • thecoderespectsprinciplesofbestpractice • Questions: • Usethemoodleforum • Use email for individual questions • Deadline: Upload everyMondaybefore 14:00
Organisation: Office hours • Thomas Rouvinez (thomas.rouvinez@unifr.ch) • Tuesday, 8h15-10h00 - lecture • Friday, 11h15-13h00 - individual help • Can berearanged
Project Description (1) • Program the behaviour of 2-4 robots • Use their capacity to: • Move • Detect and recognise obstacles • Explore an area • Communicate among themselves • Manage their energy accounts • Develop a game strategy
Project Description (2) • The descriptionofwhathastobedonecanbefound in theweeklyexercises • The physicalarenaisavailablebyappointmentthrough a Google Drive Calendar. Formostexercises, twogroupscanusethearena in parallel
Aseba (1) • Simulation environment which allows us to simulate the physical arena • Development environment in a language which is inspired by C, but simplified bluetooth e-puck robot Aseba simulation TCP
Aseba(2) Installation: • Since we had problems with the compatibility on different operating systems in past years, testing your code on Linux is mandatory • You can install a virtualized Linux (we recommend Ubuntu) on your computer by following the HowTo guide on http://diuf.unifr.ch/pai/pr1
Aseba (3) • Starting Aseba: • Start Aseba Playground and select a .playground file • Camera movement: • Rotation: Ctrl+left mouse button • Movement on x/y axis: Ctrl+Shift+left mouse button • Movement on z axis: Ctrl+Shift+right mouse button
Aseba (4) • Studio • Start Aseba Studio • Choose „network“ (TCP) • Click connect
ASEBA Demo • Short demowiththePlaygroundsimulator • Variables' use • Basic movements
Todo's: Exercise Do Series 1 anduploadyoursolutionsto shttp://diuf.unifr.ch/pai/pr1 Upload on Monday, September 23th at 14:00
Thank you for your attention Now we will visit the Lab on the fourth floor in room A421