Refactor out a GyroSensor that has a much simpler api and manages all
the internal bookkeeping.