Mechanics: Cylinder position sensor