CS1951R

Welcome to Introduction to Robotics! In this course, you will learn the fundamentals of robotics and use them to create your very own autonomously flying drone. Oh, the places you’ll drone!

Welcome!


We're excited to build and fly drones with you. Please watch this video for a brief overview of the course.

Lectures


Our lectures can be found on edX Edge. Use this link to make an account and access the lecture material.

Anonymous Feedback Form


Please use this anonymous feedback form to tell us how we're doing.

Syllabus


Course Description

The aim of this course is to empower people to build robots. Students will build, program, and fly an autonomous drone. We will cover everything needed to program an autonomous robot, including safety, networking, state estimation, controls, and high-level planning. Although the course focuses on an autonomous drone, we will provide a broad overview of modern robotics, including some topics relating to autonomous ground vehicles and robotic arms.

Course Objectives

Each student will build and program their own small quadcopter. The course will provide basic components and a small number of replacement parts. After taking this course, students will be able to:

  • Explain the space of designs for robotic communications, safety, state estimation, and control.

  • Apply that knowledge to construct programs for communications, safety, state estimation, and control.

  • Build, program, and operate an autonomous robot drone.

Grading

The course will consist of projects, assignments, lectures and exams. Your grade will be made up of:

  • Projects (60%). You will be graded primarilly by getting checked off by the staff for demonstrating a certain capability.
  • Assignments (20%). You will be graded primarilly by getting checked off by the staff for demonstrating a certain capabilitiy.

  • Attendance (20%). The course is remote and asynchronous, but we want to connect with you! We will require (Zoom) attendence at office hours at least once per week, which will be held in a variety of time zones to accomodate all students. This policy is still being developed and may change; we are open to feedback. But somehow we want to mandate that we get face time with you and can help answer your questions and the like.

Projects and assignments will be due at 11:59pm on the day of the deadline.

Extra Credit for Outreach

You can obtain 15 points of extra credit applied optimally on projects, assignments, and exams for using your robot for an outreach activity during the semester. For it to count as outreach, it has to be with a formal organization (so a demo to your friends doesn’t count, but a demo to your friends in WiCS as part of a WiCS event would count). You are encouraged to do this in collaboration with others in the class. (You will all receive extra credit in this case.) To obtain extra credit, email the staff a report of your activity along with a photograph or video. In past semesters these demonstrations took place in person. In COVID times, we are looking for ideas on creative ways to do outreach remotely, so please share your thoughts and let us know how we can help.

If you do this, be sure to test out the site in advance, bring adequate batteries, and take adequate safety precautions! You are strongly encouraged to consult with us in advance, we want to help your demo be a success!

Drones

We will provide all parts for a drone, plus a reasonable number of replacement parts for the inevitable crashes. You will also need a base station laptop. We will have a limited number of these to loan out, but we hope most students can use their own laptop for this purpose. Please contact us if you’d like to borrow a laptop.

Due to the equipment needs, we are only allowing 30 students to take the course.

Safety

Please read this policy carefully.

This drone can inflict serious bodily harm. You should treat it as you would a dangerous chemical or heavy equipment such as a lathe. It can move very quickly; faster than if you dropped it from a 3 story building. It is your responsibility to learn and apply all safety guidelines and rules in order to keep yourself and everyone around you safe when operating the drone.

  1. You agree to follow all guidelines on the FAA Website.

  2. If your drone injures a person or damages any property, you will be held responsible, whether or not you are present.

  3. If you are flying a drone that injures a person or damages any property, you will also be held responsible.

  4. If you are not following guidelines from the course staff, you will be held responsible for any damage or injury.

  5. I agree that all observers and participants will wear safety glasses.

Workload

This course will be a substantial time commitment. If you are unable to allocate 10+ hours a week, please consider taking the course during a sememster when you will have more time. Tuning a PID can be a time consuming process even for a veteran.

That being said, hard work will lead to success with high probability. We put the hardware through many revisions and tested multiple choices for each component, ultimately choosing parts based on robustness and performance. If hot glue is employed as prescribed, we are confident that your drone could survive many crashes of magnitude beyond those your unit will experience (skimp on the glue and your flight controller USB port will snap on the first crash). The projects and research pipeline have been devised to allow the safe development of capabilities through proper ordering and test equipment.

Late Policy

Up to six late days total on projects and labs will be allowed. A single day cannot be subdivided between assignments but the late days will be applied optimally at the end of the semester. After the late days are applied, a penalty of 10% per day will be in effect (i.e. max point will become 90, then 80, etc).

Please do not email asking for exceptions to this policy unless there is a real need. Interviews and the like will not result in an exception. The point of having a late day policy is that you have forgiveness in advance if you need some extra slack during the semester.

Sometimes there are special circumstances during the semester that result in exceptions to this late policy. All such circumstances require permission from the instructor, and usually a letter from the dean. In general if you have any problems it’s a good idea to contact the Deans because they can help balance your course load and take the pressure off in difficult situations.

Collaboration Policy

Please read this policy carefully.

We strongly encourage teaching and learning with your peers. We also strongly encourage taking advantage of Wikipedia and other online sources during your education. We want every sufficiently motivated student in the course to be able to understand and complete all the homeworks and projects. At the same time, your work must, in the end, represent your own understanding of the material.

  • Using the internet: This course will have significant technical components, and we expect you to make use of the online resources to solve some technical problems like interfacing with components and installing packages. Finding solutions online is an important skill! However, you may not make use of the internet to find implementation details (code, pseudo-code or otherwise) of the algorithms and systems we are asking you to develop.

  • Using your peers: You may discuss ideas and debug with your peers. However, keep you will be assessed individually on exams (which may involved randomized components), so get in the habit of seriously thinking about each problem alone before looking for peer and online help.

Textbook

The textbook is Probabilistic Robotics by Sebastian Thrun, Wolfram Burgard and Dieter Fox, 2005. However we are also developing our own book and course notes for drone-specific material. These can be found in the operations manual and the Duckiesky textbook on the Duckietown website. (We will post the links soon.) The operations manual is a reference that describes how to build and fly the drone; it is a detailed reference on the system architecture, hardware components, and web interface. The course textbook contains mathematical derivations for the topics we will be covering, as well as the assignments and projects for the course.

Special Needs

Please inform Professor Tellex (stefie10@cs.brown.edu) if you have a disability or other condition that might require some modification of any of these course procedures. You may speak with her after class or during office hours. For more information, contact Students and Employee Accessibility Services at 401-863-9588 or SEAS@brown.edu.

Assignments


We are asking you to do shorter homework assignments to broaden your understanding of the material and explore some areas not directly addressed by the drone projects. Assignments are due at 11:59pm on the due date. Please use a handin script to hand in the assignment.

AssignmentOutDue
Assignment 1: Introduction 9/10 9/17
Assignment 2: Safety 9/17 9/24
Assignment 3: Project PID Theory 9/24 10/8
Assignment 4: Linux + Networking 10/8 10/15
Assignment 4.5: ROS 10/8 10/22
Assignment 5: Project Sensors Theory 10/22 10/29
Assignment 6: Project UKF Theory 11/5 11/12

Projects


The projects are where you get to build and fly a drone. You will get hands-on practical experience with the robot. The Law of Leaky Abstractions is especially relevant to a robot. And you are working on a new robot that we have designed specifically for the class. In short, things will go wrong. It is important to think systematically about what is happening and debug each piece of the system and make sure it is working on its own before putting things together. There are many reasons why something might fail, ranging from a flakey network connection to bad lighting for the camera to a bug in the code, and we will all need to work together to figure things out. Don’t hesitate to come to office hours if you get stuck or need help!

Safety is extremely important whenever flying a drone. Please be very careful to follow all safety precautions we recommend. Never fly the drone over people, and never try to catch the drone when it falls. Crashes are part of flight - they will happen. We have replacement parts, but we expect you to fix your drone when it crashes.

ProjectOutDue
Project 1: Build 10/1 10/22
Project 2: Sensors 10/22 11/5
Project 3: PID 11/5 11/19
Project 4: UKF 11/19 12/3

Schedule


We can recommend you follow this schedule so you can introduce yourself to the relevant material ahead of each assignment and project.

LectureDate
Lecture 1: Introduction (Slides) 9/9
Lecture 2: Safety and Ethics (Slides) 9/16
Lecture 3: PID Controllers I (Slides) 9/23
Lecture 4: Hardware and Robot Design (Slides) 9/30
Lecture 5: Networking (Slides) 9/30
Lecture 6: Robot Middleware (Slides) 9/30
Lecture 7: Sensors (Slides) 10/21
Lecture 8: Transforms (Slides) 10/21
Lecture 9: Optical Flow and Height Estimation (No slides - please check EdX) 10/21
Lecture 10: PID Controllers II (Slides) 11/4
Lecture 11: Uncertainty (Slides) 11/4
Lecture 12: Motion Models and Measurement Models (Slides) 11/4
Lecture 13: Unscented Kalman Filtering (Slides) 11/4

Hours


Hours will be held on Zoom. Please see the calendar below for Professor and TA hours.

FAQ


Can I have an extension?

Please see the course late policy in the Syllabus. Almost all extensions should be handled through this mechanism. Exceptions will need a note from the Dean. However if you have a problem, we encourage you to reach out to the Office of Student Life, as they can help in many other ways as well.

My drone isn’t flying!

Come to office hours and we will try to help! It is useful to debug piece by piece. Does it power on? Can you fly with the RC controller? Can you connect to the Pi? Do all the sensors work?

If you have a a question that pertains to the rest of the class, please post it on Piazza. Otherwise, please contact the TA list (cs1951rtas@lists.brown.edu) or the HTA list (cs1951rheadtas@lists.brown.edu).

Staff


Professor

Stefanie Tellex

Rochester Location: Rochester, NY

Grad TA

Ifrah Idrees

Pakistan Location: Pakistan

Head TA

Seiji Shaw

LosAngeles Location: Los Angeles, CA

TAs

Jung Yeop (Steve) Kim

Seoul Location: Seoul, South Korea

Sean Hastings
Philadelphia Location: Philadelphia, PA