Lesson 15 Quiz: The Gripper

Test your understanding of the fourth servo, the 3-mode state machine, and per-joint limits

🤏 10 questions covering the gripper, mode cycling, and pick-and-place thinking

Student Information

Question 1: One Servo, Two Fingers

Our two-finger gripper needs only one servo channel. Why?

Question 2: The Mode Machine Grows

Why did bool elbowMode have to become int armMode?

Question 3: The Wraparound

What does armMode = (armMode + 1) % NUM_MODES; do when armMode is already 2?

Question 4: Per-Joint Limits

Why does the gripper get GRIP_OPEN/GRIP_CLOSED instead of sharing the arm's 20–160° range?

Question 5: Homing That Actually Homes

In Lesson 14, homing just set the angle variables — the servo moved on its next armed write. What changed in Lesson 15's homeAll()?

Question 6: Power at Four Servos

The supply spec from Lesson 14 was chosen with this lesson in mind. What's the real concern now?

Question 7: The Name Table

What does modeName[armMode] buy us over an if/else chain?

Question 8: Mode Awareness

You push the stick and the gripper opens when you meant to lift the shoulder. What's the fix AND the prevention?

Question 9: Pick-and-Place Sequence

Describe the complete sequence of stick moves and A2 mode presses to: drive over an object, open the gripper, lower the arm, close on the object, lift, rotate to a new spot, and set it down. Where can things go wrong?

Question 10: Gripper on Click vs Stick

The lesson's challenge suggests making SW click toggle open/closed instead of putting the gripper on the Y-axis. Trade off the two schemes: which gives finer control, which is faster mid-task, and what happens to homing in each design?

← Back to Lesson 15
Next: Lesson 16 →