Unit 06 · reflection

Unit 4 Wrap-Up: What Makes a Good Component Class?

Use your Robot Component Model Card and your finished RangeSensor class. Respond in 75–125 words or record an equivalent one-minute recording. Use at least two exact labels from your artifact, such as minRangeMeters, updateRange, RangeSensor, or isInsideCautionZone.

  1. What design choice in your class makes the component easier to understand or harder to misuse?
  2. What changed in your thinking about classes, constructors, or private state while you built the component?
  3. What remains uncertain when you move from a Java object to a WPILib subsystem, ROS 2 node, or physical sensor?