Cylinder position sensors