"A gyroscope," Priya said, "is only as honest as the last thing that touched it."
It was Saturday morning, Day 15, and she was addressing the IMU board lying on the workbench like a small green patient. We had run six more turns overnight. Every one had come up short: commanded 90, actual about 87.6. A bias-corrected gyro, a filtered derivative, voltage-compensated output, a controller that had hit every spec on the whiteboard, and an error that wouldn't go away.
"It isn't the controller," I said. "The controller did what the gyro told it. The gyro told it ninety."
"The gyro was wrong by 2.7 percent," said Priya. "That's a scale-factor error. A gyro outputs a number proportional to rotation rate. The datasheet says each unit counts a certain number per degree per second. But the datasheet gives a tolerance. Usually plus or minus three percent."
"Which means every IMU off the shelf is a little different," Dex said.
"Which means we can't trust the datasheet. We have to measure *this chip.*"
"How do you measure a rotation rate you know exactly?"
It was Tomi who said it, from the floor, not looking up from the muffin tin of washers. "A record player."
We all looked at him.
"Thirty-three and a third," Tomi said. "It's right on the label. It's a rotation rate. My abuela has one."
I did the arithmetic in my head and had to sit down. "Thirty-three and a third revolutions per minute is..."
"Two hundred degrees a second," said Priya, faster than I could. "Thirty-three and a third times three-sixty, over sixty. It's *exactly* two hundred. It's an engineering gift from the 1940s."
"My abuela won't lend the record player," said Tomi. "But she'll let us borrow her."
That is how, at 11 a.m. on a Saturday, a seventy-one-year-old woman named Marisol Reyes arrived at the Pell Creek shop room carrying a wooden-cased turntable the size of a briefcase, a stack of Celia Cruz records, and a thermos of cafecito that she insisted on pouring for everyone, including Mr. Ruiz, who accepted it with unusual dignity.
"My grandson says you need to spin a computer," she told me.
"A gyroscope. A sensor. We need to rotate it at a known speed and compare."
"Then I'll supervise," she said. "I know when it's off. I can hear."
I should say: a turntable is not a laboratory instrument. A cheap one can run a percent or two fast or slow, and the one Mrs. Reyes had owned since 1983 had a belt that had probably stretched. If we trusted its label, we'd be calibrating our sensor against another sensor we hadn't calibrated. So the first measurement wasn't the gyro. It was the turntable.
"Don't trust the label," I told the team. "Time it."
We set a small piece of white tape on the edge of the platter. Tomi aimed his phone down at the turntable. Sixty frames per second, locked. We let it run for a full minute to settle. Then Priya counted revolutions as the tape passed a mark.
"Twenty revolutions," she called. "Start. Frame zero."
Mrs. Reyes sipped her coffee and watched the tape go around, and around.
"Twenty," said Priya. "Stop."
Tomi read the timestamps off the video. Start at 0.000 s. End at 36.067 s. "Thirty-six point oh-six-seven seconds."
"Twenty revolutions in 36.067 seconds is 33.27 revolutions per minute," said Priya. "That's 0.2 percent slow. So the true rate is about 199.6 degrees per second."
"Close enough to two hundred that the turntable's fine," I said. "And now we know *how* fine. We have an uncertainty on our reference: a fifth of a percent. That's smaller than the error we're hunting."
"The reference has to be better than the thing it measures," said Priya, in the tone of someone reciting a hymn.
"Good rule," Mrs. Reyes said. "In cooking, too."
Dex had built a fixture overnight, a plywood disc with three screws to hold the IMU board flat at the exact center of the platter. At the center, so it would spin about its own axis without picking up centripetal acceleration. He had taken a photo of it before attaching it and typed an entry in the Verification Build Log: *Fixture F-2, calibration, 3 screws, plywood. Reason: gyro scale test.* He'd written it *before* he built it. I noticed that and said nothing, because some changes are too fragile to be noticed out loud.
We put the board on the platter. Priya started the log.
For thirty seconds, the platter turned and the IMU recorded. Gyro bias first, with the platter stopped, as we always did. Then we switched it on, waited two seconds for the platter to reach speed, and let it go.
The log produced a flat plateau. Priya averaged the middle twenty seconds.
"Average measured rate, after bias subtraction: 205.1 degrees per second."
"True: 199.6," I said.
"Ratio: 1.0276."
"There it is," said Dex quietly. "Two point seven six percent."
"The gyro reads two point seven six percent high," said Priya. "So when it reports ninety degrees, the real rotation is ninety divided by 1.0276."
"Eighty-seven point six," said everyone at once, and Dex, to my surprise, started laughing, a helpless, wheezing laugh.
"All week," he said. "All week we thought it was the *code.*"
"Control engineers have a saying," said Priya. "'It's always the sensor.' I've been waiting two weeks for a chance to use it."
The fix was a single multiplication. Multiply the gyro output by 0.973. It took less than a minute to type into the firmware. But I did something else first, because Calderón's voice was in my head, and it said, *a calibration is a hypothesis.* A hypothesis needed a second test, at a condition we hadn't used to fit it.
"Mrs. Reyes," I said. "Does that record player have other speeds?"
"Forty-five," she said. "And seventy-eight, for the very old ones."
"At forty-five, that's 270 degrees a second. At seventy-eight, 468. If the correction is just a scale factor, it should work at all of them. If it's something else, a nonlinearity, it won't."
We repeated the test. At 45 rpm the IMU reported 277.5 degrees per second against a true 270. Ratio, 1.0278. At 78 rpm, 481.0 against a true 468; ratio, 1.0278.
"Linear," said Priya. "The same ratio at all three speeds. It's a clean scale error, not a curve."
"So one number fixes it everywhere."
Dex put the robot back on its tape. I ran the ninety-degree turn, my fingers just a little unsteady on the keys.
The prototype turned. Priya read the plot, then bent to the protractor on the floor and read it twice.
"Ninety point two."
Nobody cheered. The shop room was very quiet, in the way it gets when you've fixed something so small that the fixing seems out of proportion.
"I have a question," said Mrs. Reyes, to no one, finishing her cafecito. "This sensor. You said it was wrong by two and a half percent. And the robot you built before. The one that went to the national competition. Did you test it like this?"
I opened my mouth, then closed it.
"No," I said.
"Then it could have been wrong too."
"It probably was," I said. "We had encoders on the drive, and the fusion filter corrected the heading drift against the wheel odometry. It would have covered up a lot of the scale error. We never found it, because the robot worked." I looked at the turntable. "I think I built a very good robot on top of a number I'd never checked. And I was lucky it didn't matter."
"Hm," said Mrs. Reyes. "In my kitchen, we say: *the pot that doesn't burn the rice has not been tested yet.*"
"Is that a real saying?"
"It is now."
That night I went home early and found myself at the kitchen table with my mother, who had a rare evening off. Lena was asleep on the couch under three blankets with a half-finished drawing of a heron. I ate dinner. I asked my mother how work had been. She said it had been fine, which meant it hadn't.
"Mom," I said. "I'm afraid I'm going to build a robot that works in my head."
"What does that mean?"
"It means I can predict what it'll do. I'm good at that. I can sit at a table and say, *it'll turn ninety degrees in 0.6 seconds,* and then sometimes it turns eighty-seven. I think what I'm afraid of is that I've gotten used to being right about things I haven't measured."
My mother, who had worked a twelve-hour shift on her feet, rested her chin on her hand.
"When I was a nurse's aide in the first year," she said, "the head nurse told me never to trust a pulse I'd only counted once. She made me do it twice. It was irritating. She said the second count is not for the patient. It's for me."
I looked at her.
"So do it twice," she said. "Even when you're right."
Upstairs, at 1 a.m., I couldn't sleep. I opened my laptop and, instead of working on the controller, I opened Priya's archive of the Nationals logs and began to look at something that had been bothering me since the evening.
It was a small thing. I sent Priya a message.
*During the ramp climbs in the final, what was the pitch angle from the IMU?*
She replied in four minutes. She was awake, as always. *Mean 15.4°. SD 0.2. Why?*
I looked at the number. The ramp was supposed to be 15.0.
*Did we calibrate that IMU?* I wrote.
*No,* she wrote. *You know we didn't. It could be scale error. It could be an offset. It could be the ramp.* A pause, three dots, then: *Put it on the unverified list.*
I did. I opened the notes file we kept for questions we couldn't answer. Under *Pruitt report timestamp* and *Wells draft file,* I typed *Nationals ramp pitch 15.4° vs spec 15.0°. Sensor error? Field?* and saved it.
Then I did what I do. I turned to a new file and began writing the code for the ramp climb: a speed controller with an integral term, because friction on carpet always leaves a little steady error, and I could fix that. I wrote it fast and I felt very good.
I did not think about the ceiling.