Cycloidal computed tomography provides high-resolution images within relatively short scan times by combining beam modulation with dedicated under-sampling. However, implementing the technique relies on accurate knowledge of the sample’s motion, particularly in the case of continuous scans, which is often unavailable due to hardware or software limitations. We have developed an easy-to-implement position tracking technique using a sharp edge, which can provide reliable information about the trajectory of the sample and thus improve the reconstruction process. Furthermore, this approach also enables the development of other innovative sampling schemes, which may otherwise be difficult to implement.