I've two piped process :
gnome-terminal -e ./script1 | ./script2.py
That I use for "real time" process (my script2.py control motors by serial port) ... It work fine but after a short time it slowdown a lot...
Is there any way to "flush" or to skip some data passing from the pipe to keep my "realtime" as short as possible ? (and get my motors reacting as fast as possible to any change coming from my script1)
thanks a lot !