CS223A / ME320 : Introduction to Robotics - Winter 2024

This course provides an introduction to physics-based design, modeling, and control of robotic systems, in particular of robotic arms. You will learn basic methodologies and tools, and build a solid foundation that will enable you to move forward in both robotic research (CS327A, CS326) and applications (CS225A). Concepts that will be covered in the course are Spatial Transformations; Forward and Inverse Kinematics of Robots; Jacobians; Robot Dynamics, Joint, Cartesian, Operational Space and Force Control as well as Vision-based Control.

Expected Learning Outcomes

After taking the class, students will be able to

  • Design a robot with an optimal workspace
  • Model a robot to sufficient precision
  • Implement and tune a robot motion controller that exposes desired behaviour
  • Implement and tune a compliant robot motion/force controller that exposes desired behaviour
  • Implement and tune a vision-based robot motion controller that is robust to noise
  • Assess limitations of traditional, model-based approaches, visualise these failure cases, and propose an approach on how they can be addressed (as assessed by bonus exercises in homework assignments)

All learning outcomes are assessed by homework assignments, midterm and final exam.

Class

Mon & Wed from 3:00 PM - 4:20 PM
Lectures conducted in-person in Gates B3
Recordings available through Panopto Course Videos on Canvas

Course Reader

Available at the Bookstore here.

Website

All course materials will be shared through the Canvas page, including important class announcements from the Teaching Staff.

Discussion

This course uses an Ed Dicussion forum which can be found here. Here you can ask questions about the homework, the exams, and class material in general.

Grading

Homework: 40%
Midterm (in class): 25%
Final (in class): 35%

Homework

There are 8 assignments, total worth 40% of your final grade.
Due @ 5:00 PM on Fridays on Gradescope (class code NPNR8W).

Staff

Generic placeholder image

Oussama Khatib

Instructor

khatib@cs.stanford.edu
Office hours: Mon + Wed, 4:30 - 5:30 PM, Gates 203 (pending availability)
Generic placeholder image

Wesley Guo

Course Assistant

wguo95@stanford.edu
Office hours: Tue 5:00 - 7:00 PM, Gates 200, Join by Zoom
Generic placeholder image

William Chong

Course Assistant

wmchong@stanford.edu
Office hours: Thu 1:00 - 3:00 PM, Fri 1:00 - 3:00 PM, Gates 200
Generic placeholder image

Chinmay Devmalya

Course Assistant

devmalya@stanford.edu
Office hours: Wed 1:00 - 3:00 PM, Thu 10:00 AM - 12:00 PM, Gates 200
Generic placeholder image

Sreenidhi Tupuri

Course Assistant

stupuri@stanford.edu
Office hours: Mon 10:00 AM - 12:00 PM, Wed 10:00 AM - 12:00 PM, Gates 200
Generic placeholder image

Bo Kim

Course Assistant

bokim@stanford.edu
Office hours: Mon 1:00 - 3:00 PM, Tue 1:00 - 3:00 PM, Gates 200




Timeline

Date Lecture Homework
Mon, Jan 08 Introduction & Course Review
Wed, Jan 10 Spatial Descriptions
Fri, Jan 12 Review - Essential Math (Gates 203, 2:00 PM - 3:00 PM, Join by Zoom ) HW 1 Out
Mon, Jan 15 Holiday, No Class (Martin Luther King Day)
Wed, Jan 17 Articulated Body Systems
Fri, Jan 19 HW 1 Due, HW 2 Out
Mon, Jan 22 Forward Kinematics
Wed, Jan 24 Inverse Kinematics and Workspace
Fri, Jan 26 HW 2 Due, HW 3 Out
Mon, Jan 29 Trajectory Generation
Wed, Jan 31 Jacobians I
Fri, Feb 02 HW 3 Due, HW 4 Out
Mon, Feb 05 Jacobians II
Wed, Feb 07 Jacobians III
Fri, Feb 09
HW 4 Due, HW 5 Out
Mon, Feb 12 Dynamics: Acceleration and Inertia
Wed, Feb 14 Dynamics: Newton Euler
Fri, Feb 16 Midterm Review 1 (Time TBD) HW 5 Due
Mon, Feb 19 Holiday, No Lecture (President's Day)
Tue, Feb 20 Midterm Review 2 (Time TBD)
Wed, Feb 21 Midterm (In Class at Regular Lecture Time)
Fri, Feb 22 Review - Essential Physics (Time TBD) HW 6 Out
Mon, Feb 26 Dynamics: Explicit Form
Wed, Feb 28 Pereceiption in Robotics (Guest Lecture)
Fri, Mar 01 HW 6 Due, HW 7 Out
Mon, Mar 04 Joint Space Control
Wed, Mar 06 Operational Space Control
Fri, Mar 08 HW 7 Due, HW 8 Out
Mon, Mar 11 Lecture Review
Wed, Mar 13 Advanced Topics
Thu, Mar 14 Final Review Session I (6:00 - 8:00 PM in Gates 104, Join by Zoom )
Fri, Mar 15 Final Review Session II (3:00 - 5:00 PM in Gates 104, Join by Zoom ) HW 8 Due
Tue, Mar 19 Final Examination (8:30 AM - 11:30 AM, Bishop Auditorium)

Detailed Syllabus Info

Website & Other Information Channels

All course materials will be shared through the Canvas website, including important class announcements from the Teaching Staff. All assignments should be submitted via Gradescope.

If you have a question, to get a response from the teaching staff quickly we strongly encourage you to post it to the Ed Discussion forum here. This is a great place to ask questions of the staff, as well as share information among your peers. For private matters, please make a private note visible only to the course instructors. For longer discussions with CA's, we strongly encourage you to come to office hours.

Assignments

Homework

There will be 8 homework problem sets that are pen-and-paper exercises. Their purpose is to practice the concepts covered in class by applying them to different robotics-related example problems. All assignments will be released on Friday at 5:00 PM and due on the following Friday at 5:00 PM. You should submit directly to Gradescope.

Collaboration Policy

Although group discussion and work is encouraged, each student should submit their own assignment and perform any necessary calculations on their own.

Exam

There will be a midterm and a final for this course. It will include similar problems to those you have encountered in the homework, and will additionally include problems and questions covering the content from the lectures. TA review sessions (schedule TBD) will help you to prepare for the exam.

Grading

Homework: 40%
Midterm (in class): 25%
Final (in class): 35%

Late Policy

Each student will have a total of three free late days to use for homeworks for the whole quarter. You may use up these late days for any assignment as you see fit. You can use partial late days (i.e. if you submit your first assignment 5 hours late, you will have 72-5 = 67 total late hours remaining), Once these late days are exhausted, any assignments turned in late will be penalized 20% per late day. However, no assignment will be accepted more than three days after its due date. If you need additional assignment extensions beyond the free late days given for whatever reason, contact the CAs directly and we will work something out with you.

Regrading

Regrades will also be handled through Gradescope. We will begin to accept regrades for an assignment the day after grades are released for a window of three days. We will not accept regrades for an assignment outside of that window. Regrades are intended to remedy grading errors, so regrade requests must discuss why you believe your answer is correct in light of the deduction you received. We do not accept regrade requests of the form "I deserve more points for this" or "that deduction is too harsh."

Textbook

The Course Reader is available at the bookstore.

Supplementary Material (Optional)

  • Textbook: Robotics - Modelling, Planning and Control by Siciliano, B., Sciavicco, L., Villani, L., Oriolo, G. Available on Springer within Stanford network.
  • Essence of Linear Algebra by 3blue1brown
  • Python tutorial

Students with Documented Disabilities

Students who may need an academic accommodation based on the impact of a disability must initiate the request with the Office of Accessible Education (OAE). Professional staff will evaluate the request with required documentation, recommend reasonable accommodations, and prepare an Accommodation Letter for faculty dated in the current quarter in which the request is made. Students should contact the OAE as soon as possible since timely notice is needed to coordinate accommodations. The OAE is located at 563 Salvatierra Walk (phone: 723-1066, URL: http://studentaffairs.stanford.edu/oae). Please send your OAE letter directly to Wesley at wguo95@stanford.edu.

SCPD Accommodations

SCPD students who cannot physically attend lecture can still participate and ask questions through the Canvas Course Videos tab. This tab will show a 40-second delayed livestream of the lecture, and the associated text chat will be Tueitored by a TA. The Course Videos tab also contains recordings of past lectures and out-of-class review sessions.

One of the office hours sessions will be designated as SCPD priority office hours and be made available remotely through Zoom. The TA administering these office hours will be available through the Zoom video conference platform for live discussion of course material and homework. SCPD students will receive priority during this time, but non-SCPD students are also welcome to attend.

For Exams, if you are local to the area you are welcome to come to campus to take your midterms and finals in person. If you are not, you will need to desginate an Exam Monitorby the second week of class so you can take your exam remotely. Please visit this SCPD page for more information.

The Stanford University Honor Code is a part of this course

It is Stanford’s statement on academic integrity first written by Stanford students in 1921. It articulates university expectations of students and faculty in establishing and maintaining the highest standards in academic work. It is agreed to by every student who enrolls and by every instructor who accepts appointment at Stanford.
The Honor Code states:

  • The Honor Code is an undertaking of the students, individually and collectively
    • that they will not give or receive aid in examinations; that they will not give or receive unpermitted aid in class work, in the preparation of reports, or in any other work that is to be used by the instructor as the basis of grading;
    • that they will do their share and take an active part in seeing to it that others as well as themselves uphold the spirit and letter of the Honor Code.
  • The faculty on its part manifests its confidence in the honor of its students by refraining from proctoring examinations and from taking unusual and unreasonable precautions to prevent the forms of dishonesty mentioned above. The faculty will also avoid, as far as practicable, academic procedures that create temptations to violate the Honor Code.
  • While the faculty alone has the right and obligation to set academic requirements, the students and faculty will work together to establish optimal conditions for honorable academic work.