[Python] How to run Python program with realtime priority Linux

Discussão em 'Python' iniciado por Stack, Setembro 16, 2024.

  1. Stack

    Stack Membro Participativo

    I am writing a python program that is latency sensitive (taking stereo images simultanously from 2 cameras).

    I am reading up on real time operating systems and I would like to run my python program with SCHED_FIFO or FF priority or something similar. I am using Rasbian(debian) with RT_PREMPT kernal.

    Is this the right approach? How do I run my python program with real time (SCHED_FIFO) priority?

    attempt


    sudo chrt --rr 50 python3 loopExample.py
    ​

    Continue reading...

Compartilhe esta Página