1 of 28

CS123: A Hands-On Introduction to Building AI-Enabled Robots

2 of 28

Teaching Team

Karen Liu

Stanford

Instructors

Jie Tan

Stanford

Google Deepmind (Gemini Robotics)

Stuart Bowers

Google Deepmind (Gemini Robotics) Hands-on Robotics

3 of 28

Teaching Team

Teaching Assistants

Ankush Dhawan

Jiacheng (JC) Hu

4 of 28

Karen

Stuart

Ankush

Gabrael

Brandon

Jie

Peng

Wenhao

5 of 28

6 of 28

CS123

  • Give students a hands-on and comprehensive introduction to AI-enabled robotics
    • Construct a quadruped robot, Pupper, from scratch
    • Develop basic skills to move, see, and speak(bark)
    • Advance physical intelligence to make Pupper capable
  • Inspire students to get involved in robotics and AI research

7 of 28

Prerequisites

  • MATH51 (so you know what gradient is)
  • CS106A (basic programming)
  • A good working knowledge of Python, familiarity with the command line
  • No robotics experience necessary

8 of 28

Class

  • Time and Location: Mondays 3:30 - 6:30pm, STLC 114 (Behind Gates)

​

  • Each class consists of
    • 50-minute lecture covering the background knowledge
    • 15-minute lab instructions
    • 5-minute break
    • 100-minute group-based lab

9 of 28

TA Office Hours

  • Location: Gates B08
  • If the lab assignment is incomplete (not checked off by a TA) at the end of the lab session, the entire group must attend one of the TA Office Hours in the same week
  • Times are TBD, will be posted on Canvas/ED
    • Will be scattered throughout the week
  • Instructor office hours are by appointment (email for scheduling)

10 of 28

Grading

Labs (67% total): Lab 1 (11%), Lab 2 (11%), Lab 3 (11%), Lab 4 (11%), Lab 5 (12%), Lab 6 (11%). Group scores only.

Final Project (25% total): Proposal (2%), Presentation (8%), Product (15%).

Quizzes (5% total): Given randomly twice throughout the quarter. (individual score only)

Attendance (3% total): 0–1 absence (3%), 2 absences (1.5%), >2 absences (0%).

11 of 28

General Expectations

  • In-person attendance is required and accounts for 3% of the final grade; attendance will be taken in every class
  • Each group of three depends on meaningful contributions from all members
  • The final project is extremely important, so be prepared to commit long hours toward the end of the quarter
  • Our final demo night will feature leaders from the high-tech industry, who will be scouting for talent
  • In general, the teaching staff will dedicate significant time and resources to support your success, and in return, we expect you to invest substantial effort in this course

12 of 28

Other Logistics

  • No midterms; no final exam; only 2 short quizzes
  • No textbook
  • Communication: Ed (fast) and email (faster)

13 of 28

Late Policy

  • Lab: each team has a total of 7 late days over all labs. Using 1 late day extends the deadline by 24 hours. A team may use up to 3 late days per lab. No lab will be accepted more than 72 hours after the deadline.
  • Individual written assignments: Each student has a total of 5 late days over all written assignments. Using 1 late day extends the deadline by 24 hours. You may use up to 3 late days per assignment. No assignment will be accepted more than 72 hours after the deadline.
  • Final project: no extension is allowed for the final project proposal and presentation.
  • Late assignments will not be accepted if you are out of late days, so use the late days wisely!

14 of 28

Course Resources

Course Website (main resource):

https://cs123-stanford.readthedocs.io/en/latest/

  • Syllabus, lecture slides, lab instructions, additional materials

Canvas:

  • Announcements and logistics

Gradescope

  • Lab submissions and grading

Ed

  • Q&A and discussions

15 of 28

Assigned Groups

  • Groups will be assigned and announced on Canvas/Ed. Please organize with your group on when you can make office hours to start your first lab

16 of 28

17 of 28

Lab 1: Motors and PD Control

  • Set up the infrastructure for this quarter
  • Build the torso of Pupper and one leg
  • Experiment with motors and PD control

18 of 28

Lab 2: Forward Kinematics

  • Build full Pupper
  • Implement forward kinematics and test it on the Pupper leg

19 of 28

Lab 3: Inverse Kinematics and Heuristic Walking

  • Program an inverse kinematics solver in simulation
  • Test it on the Pupper legs to make them track desired trajectories and make Pupper walk

20 of 28

Lab 4: Reinforcement Learning for Locomotion

  • Teach a virtual Pupper in simulation by training a Reinforcement-Learning policy
  • Deploy the policy to the real Pupper

21 of 28

Lab 5: Follow me, Pupper!

  • Develop robot vision algorithms so that the Pupper can see the world
  • At the end of this lab, your Pupper will be able to recognize and track a person and avoid obstacles

22 of 28

Lab 6: Robot Foundation Models

  • Use Robot Foundation Models to give your Pupper language and vision understanding
  • At the end of this lab, your Pupper should be able to follow your commands and interact with you with natural language

23 of 28

Final Project Showcase

24 of 28

25 of 28

26 of 28

“[Pupper] reminds me of my own dog at home. He makes me feel like I’m back at home with my own puppy again and not in [a hospital] room just watching tv and taking medication.”

“Robotic Puppies Bring Joy and Therapy to Patients at Stanford Medicine Children’s Health”

E Valente. Healthier, Happy Lives Blog. Stanford Children’s Health. Jul. 2023

27 of 28

Let’s get started!

28 of 28

Week 1 Logistics

No class Monday 9/22 due to holiday

​

Todos:

  • Watch week 1 intro lecture by Jie and PD control lecture by Stuart (on course website)
  • Communicate with your team via email/text to schedule a good office hours time for you to start on lab 1
  • Attend office hours to work on lab 1 between Tuesday - Friday (times released on Canvas/Ed)

​

Deliverable

  • First in person class 9/29 Monday at 3:30 in STLC 114
  • Submit lab 1 by Week 2 Wednesday 9/30 (extended deadline due to holiday)