CODE 86805 ACADEMIC YEAR 2018/2019 CREDITS 6 cfu anno 2 INGEGNERIA INFORMATICA 8733 (LM-32) - GENOVA 5 cfu anno 1 ROBOTICS ENGINEERING 10635 (LM-32) - GENOVA SCIENTIFIC DISCIPLINARY SECTOR ING-INF/05 LANGUAGE English TEACHING LOCATION GENOVA SEMESTER 1° Semester TEACHING MATERIALS AULAWEB OVERVIEW Software Architectures for Robotics (SofAR) is a novel and highly experimental field involving research and development activities aimed at providing scholars and professionals with conceptual tools and practical knowledge about how to design and implement complex software architectures for real-world robots. The course covers a few basics in high-end software development and focuses on real-world scenarios, e.g., companion robots for in-home assistance, or collaborative robots in factories. AIMS AND CONTENT LEARNING OUTCOMES A robot is a multi-purpose, multi-form and multi-function machine. It exhibits completely new and unique characteristics with respect to what it is for, how it is structured and what it is able to do. In order to cope with this diversity in form and function, software architectures for robots must be grounded on top of a model enforcing flexibility and efficiency well beyond those developed in other domain applications. AIMS AND LEARNING OUTCOMES The main objective of Software Architectures for Robotics (SofAR) is to provide students and scholars with methodological tools and practical information about how to design and develop complex software architectures for robots able to operate in real-world conditions. Robots are becoming complex systems made up of modules and components which behavior is complex in its own right, i.e., not all consequences of certain design choices can be easily predicted in advance. Given a specific scenario where a robot must operate autonomously and effectively, the problem of defining a software architecture requires: to define which sensor information is needed and how it must be processed; to couple sensor information and internal representation structures, which are appropriate in terms of efficiency, computational load, and usability; to design and develop algorithms to operate on such representation structures; to embed those algorithms in software modules and components, which must be concurrently executed on (typically real‐time) operating systems. SofAR will provide a reasoned treatment of current state‐of‐the‐art design approaches, development software frameworks (specifically, ROS will be considered), modeling tools and advanced research trends in this field, as well as a comprehensive discussion about typical scenarios, solutions, and use cases. PREREQUISITES An advanced knowledge of C/C++ is required. A basic knowledge of Java maybe helpful in certain situations. TEACHING METHODS SofAR is organized in four key topics. Each key topic is made up of theoretical lectures followed by practice classes, usually amounting to a comparable number of hours. Students are strongly encouraged to propose novel solutions to specific practical problems, which originate from real-world research challenges or industrial needs. Every year, SofAR hosts the so-call SofAR seminars, with lecturers addressing specific issues or providing a unique perspective on novel problems. SYLLABUS/CONTENT Each year, the SofAR team tries at best to update the course given new trends and findings. This means that every year the course is slightly different. SofAR mixes up theoretical insights with practice classes centered around the widely adopted ROS framework. SofAR is usually centered around four key topics. TOPIC 1: Introduction and motivations: Introduction to the course The robot software design process: requirements and challenges TOPIC 2: The component-based software engineering (CBSE) methodology: Introduction to CSBE: needs and advantages. Six well-known design patterns in Robotics Design patterns for behavior-based robots Three patterns to enable autonomous robot behaviors Design patterns for human-robot interaction Practice classes focused on TOPIC 2. TOPIC 3: Bio-inspired approaches to the development of software architectures for robots: Reactive and behavior-based control Subsumption architectures Behavior-based architectures Practice classes focused on TOPIC 3. TOPIC 4: Knowledge representation and reasoning: Knowledge representation techniques Reasoning and STRIPS-based planning, and how to integrate it ROSPlan: planning in ROS Using classical planners for tasks with continuous operators in robot tasks Combined task and motion planning Practice classes focused on TOPIC 4. RECOMMENDED READING/BIBLIOGRAPHY Relevant material will be given by the teacher during lectures. TEACHERS AND EXAM BOARD FULVIO MASTROGIOVANNI Ricevimento: The teacher is available as per meeting request by email at: his office on the second floor of the "E" building, Via Opera Pia 13, 16145, Genoa, the EMAROlab, Via Causa 18, 16145, Genoa. Exam Board FULVIO MASTROGIOVANNI (President) RENATO UGO RAFFAELE ZACCARIA (President) LESSONS Class schedule The timetable for this course is available here: Portale EasyAcademy EXAMS EXAM DESCRIPTION The SofAR final mark is based solely on assignments. Assignments work as follows: at the beginning of October, a number of assignments are proposed; students, self-organized in groups of 2/3 people, bid on assignments; each group is required to express 3 ordered preferences; we'll try to satisfy the preferences at best and allocate assignments to groups accordingly; at that point, work on assignments can start. Please note that: EMARO+ students have a strict deadline to complete their assignment, which is usually end of February; Computer Science Engineering students can take as much time as they want because they adhere to Italian rules only; Ph.D. students following the course can propose a topic on their own, agreed with me, as an assignment, and do not have any specific deadline. Properly carrying out an assignment means providing: a (possibly working, maybe with limitations) solution to the given problem; properly commented code (in a specific format) and, where appropriate, a tutorial; a video showing how the system works. ASSESSMENT METHODS Assignments will be evaluated on the basis of: the exhibited group's capability in applying the notions and insights discussed in the class; the "quality" of the provided documentation; the outcome of a discussion about the assignment. Exam schedule Data appello Orario Luogo Degree type Note 15/02/2019 09:00 GENOVA Esame su appuntamento 01/03/2019 09:00 GENOVA Scritto 02/08/2019 09:00 GENOVA Esame su appuntamento 13/09/2019 09:00 GENOVA Esame su appuntamento FURTHER INFORMATION Follow-ups: for successful assignments, we typically encourage students to co-author a scientific paper for Robotics-related conferences; for EMARO+ students, a few assignments can be continued as group projects; for Computer Science Engineering students, assignments can be continued as MSc theses.