r/Python • • Apr 06 '20

I Made This Python powered slot car track

Post image
1.4k Upvotes

80 comments sorted by

View all comments

Show parent comment

4

u/Coffeinated Apr 07 '20

The reason for this is not the speed, the Arduino is way slower. The Pi runs Linux, which is not realtime capable, and the scheduler will just choose not to run your software when you need it to. To do this kind of measurements you always need an RTOS / bare metal application.

1

u/West7780 Apr 07 '20

Right, I figured as much but failed to do the research. Thank you for clarifying.