# Course 1: Frames, Transform Networks & Intro to Kinematics

- HTML Page: https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/
- Estimated Time: 3–4 hrs

## Core Focus
Give newcomers a clear visual foundation for what kinematics actually is (the geometry of motion without forces), why a single global coordinate grid is never enough, how robots organize dozens of moving parts into a transform network, and how forward and inverse kinematics map between joint angles and 3D space.

## Why It Matters Today
Choosing and debugging coordinate frames is daily work in modern robotics, from calibrating wrist camera extrinsics and retargeting human teleoperation data to deciding whether a learned policy predicts joint angles or end-effector deltas.

## Modules
- **Module 1.1: [What is a Robot, and What is Kinematics?](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/what-is-a-robot-and-kinematics.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/01_what_is_kinematics_dof.py)
  Separating motion geometry from forces and torques; rigid links, hinges (revolute joints), and sliders (prismatic joints); counting degrees of freedom on everyday objects and arms.
- **Module 1.2: [Coordinate Frames](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/coordinate-frames.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/02_coordinate_frames_rotations.py)
  Why cameras, grippers, and wheels each need their own local point of view; 2D offsets and heading angles; understanding 2×2 rotation matrices visually as geometric recipes rather than abstract number tables.
- **Module 1.3: [Transform Networks (TF Trees)](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/transform-networks-tf-trees.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/03_transform_networks_tf_trees.py)
  Packing translation and rotation into homogeneous matrices; organizing parent and child frames into a directed tree; inverting and chaining transforms to map sensor detections into gripper coordinates; stepping into 3D orientations and why quaternions avoid gimbal lock.
- **Module 1.4: [Forward Kinematics](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/forward-kinematics.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/04_forward_kinematics.py)
  Walking the transform tree from base to hand; comparing right-triangle geometry with chained transforms on 2-link and 3-link planar arms; sweeping joint limits to visualize the reachable workspace and full end-effector pose.
- **Module 1.5: [Inverse Kinematics](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/inverse-kinematics.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/05_inverse_kinematics.py)
  Working backward from a desired hand pose to joint angles; why targets can be unreachable, ambiguous (elbow-up vs. elbow-down), or stuck at stretched-out singularities; triangle geometry vs. iterative solvers like Cyclic Coordinate Descent.
- **Module 1.6: [End-to-End Pick and Place Loop](https://roboticsconcepts.dev/courses/frames-transform-networks-kinematics/end-to-end-pick-and-place-loop.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-1/06_end_to_end_pick_and_place.py)
  Combining camera frame detection, transform tree lookup, inverse kinematics, and forward kinematics verification in a tabletop task, plus how modern neural policies rely on these exact frame choices.

## Interactive Sandboxes
- **DOF Explorer** (native-canvas): Toggle joint locks and switch between revolute hinges and prismatic sliders to see how each joint adds or constrains degrees of freedom.
- **Coordinate Frames & Visual 2×2 Rotation Lab** (native-canvas): Move a mobile robot and target cone around a room, switch between Room and Robot POV, and watch the 2×2 rotation matrix columns track the robot's axes.
- **Transform Network Graph & Tabletop Inspector** (native-canvas): Click any source and target frame in a directed transform tree to see forward edges, inverted parent links, and the chained SE(2) matrix update live.
- **Forward Kinematics & Point-of-View Frame Switcher** (native-canvas): Scrub 2-link or 3-link joint angles, overlay right-triangle projections, sweep the reachable workspace, and recenter the grid around the world, base, or tool.
- **Iterative vs. Geometric Inverse Kinematics Playground** (native-canvas): Drag a target crosshair in the plane and compare closed-form triangle IK (elbow-up vs. elbow-down) against step-by-step Cyclic Coordinate Descent iterations.
- **End-to-End Pick-and-Place Loop & Policy Frames** (native-canvas): Step through a complete tabletop pick-and-place cycle from camera detection and TF lookup to IK solving and FK verification, and compare learned policy frame choices.
