# Course 2: Robot Modeling, Velocities & Physical Structure

- HTML Page: https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/
- Estimated Time: 3–4 hrs

## Core Focus
Scale up from simple linkages to complete, multi-branched robots described in software, and move from static positions to instantaneous velocities, singularities, and static force mappings.

## Why It Matters Today
Every modern simulation workflow in MuJoCo, Isaac, or Drake depends on well-structured URDF or MJCF files, fast convex collision primitives, and Jacobian-based velocity controllers or safety wrappers.

## Modules
- **Module 2.1: [Kinematic Trees and Robot Description Formats](https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/kinematic-trees-and-robot-descriptions.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-2/01_kinematic_trees_urdf.py)
  Moving from single serial arms to branched quadrupeds and humanoids; reading and authoring links, joints, origin offsets, and limits in URDF and MJCF.
- **Module 2.2: [Visual Meshes vs. Collision Primitives](https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/visual-meshes-vs-collision-primitives.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-2/02_visual_vs_collision_primitives.py)
  Why simulators separate detailed display geometry from simplified spheres, capsules, and boxes to run thousands of fast contact checks per second.
- **Module 2.3: [Standardized Arm Conventions](https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/standardized-arm-conventions.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-2/03_standardized_arm_conventions.py)
  Classic Denavit-Hartenberg parameters alongside modern Product of Exponentials and screw axes defined in the robot's home posture.
- **Module 2.4: [Differential Kinematics and Jacobians](https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/differential-kinematics-and-jacobians.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-2/04_differential_kinematics_jacobians.py)
  Relating joint speeds to end-effector linear and angular velocity; drawing manipulability ellipsoids; seeing physically and mathematically why rank loss at singularities causes joint speeds to spike.
- **Module 2.5: [Static Force Duality and Mobile Bases](https://roboticsconcepts.dev/courses/robot-modeling-velocities-physical-structure/static-force-duality-and-mobile-bases.md)** | [Python notebook (.py)](https://roboticsconcepts.dev/downloads/notebooks/course-2/05_static_force_duality_mobile_bases.py)
  Using the Jacobian transpose to map external tip forces to holding joint torques; modeling holonomic vs. nonholonomic wheel constraints across differential drive, Ackermann steering, and omniwheel platforms.

## Interactive Sandboxes
- **URDF & Collision Capsule Inspector** (threejs): Edit a live URDF/MJCF tree snippet and toggle between detailed visual meshes and simplified collision capsules in 3D.
- **Manipulability Ellipsoid & Force Vector Visualizer** (marimo): Move a 2-link arm toward full extension and watch its velocity manipulability ellipsoid collapse while required joint speeds spike.
- **Wheeled Mobile Base Arena** (native-canvas): Drive differential-drive, Ackermann car-steering, and omniwheel robots through a tight parallel-parking course to feel nonholonomic constraints.
