Intermediate

Inverse Kinematics, PID and Control Basics

Make arms reach and motors hold speed, with worked code

Essaie avant d'acheter : la première leçon de chaque cours et le premier chapitre de chaque guide sont gratuits. De l'atelier derrière @arterinema, 11 000 personnes abonnées sur TikTok.

  1. 01 Reaching a point: inverse kinematics of a two-joint armGiven where the hand should be, find the two joint angles. The law of cosines does it in four lines, and the arm has two answers. Gratuit, 45 min
  2. 02 Workspace, singularities and joint limitsWhich points an arm can reach, where it gets stuck, and how servo limits shrink the reachable area. With a map you print yourself. Inclus dans le cours, 45 min
  3. 03 Coordinate frames and transformsEvery position is measured from somewhere. Learn rotation matrices and 4x4 transforms so a point seen by a camera becomes a point your arm can reach. Inclus dans le cours, 45 min
  4. 04 A real arm in 3D: the MeArmTurn a 3D target into base, shoulder and elbow angles for a three-servo arm, then into servo commands with offsets, directions and a calibration you do once. Inclus dans le cours, 50 min
  5. 05 The Jacobian and numerical IKWhen there is no neat formula, let the computer search. The Jacobian links small joint moves to small tip moves, and a few lines of damped least squares solve IK for arms with any number of joints. Inclus dans le cours, 50 min
  6. 06 Feedback: P, I and D explained with a cruise controlWhy open loop drifts, and what each of the three terms of a PID controller does, shown with a car on a hill that you simulate yourself. Inclus dans le cours, 50 min
  7. 07 Measuring a DC motor: encoder, step response and a simple modelRead a motor's datasheet, count encoder pulses with an interrupt, record a step response on your laptop, and boil the motor down to two numbers you can control with. Inclus dans le cours, 50 min
  8. 08 Tuning a motor speed loop on real hardwareA step-by-step method for choosing gains, with feedforward from your motor model, anti-windup, derivative on measurement, filtering and a stall guard, all checked with data you log yourself. Inclus dans le cours, 50 min
  9. 09 Position over speed: cascaded loops and motion profilesMake a wheel turn an exact distance without jolts: a position loop that commands your tuned speed loop, fed by a trapezoidal motion profile. Inclus dans le cours, 50 min
  10. 10 An arm that follows a target smoothlyStraight-line paths, slow-fast-slow timing, servo speed limits and a follower that chases a moving target: everything in the course combined on the MeArm. Inclus dans le cours, 50 min