[Question]: Delay between different Infrared Sensor modes #62
Labels
documentation
Improvements or additions to documentation
platform: EV3
Issues related to LEGO MINDSTORMS EV3
support
Request for technical support for a problem that is not a bug or feature request
topic: sensors
Issues involving sensors
Hi @laurensvalk @dlech I have programmed the Ev3rstorm with both PyBricks2 and EV3Dev2 and would like to report significantly slower execution by PyBricks2 than by EV3Dev2. My 2 programs are attached for your review.
Ev3rstorm-PyBricks2-vs-EV3Dev2.zip
The 2 programs are trying to perform the same capabilities:
Each of these activities is conditioned on certain "if"s, and the activities are arranged sequentially in a main "while True" loop. No multiprocessing/threading is used.
When I execute the EV3Dev2 program, the performance is pretty smooth: the Ev3rstorm is very responsive to sensory stimuli and actuates the various tricks satisfactorily.
However, when I run the PyBricks2 program, the Ev3rstorm's responses are very laggy/slow, suggesting that each loop in the "while True" takes a significantly longer time to execute.
Could you let me know how I can go about troubleshooting this? Thank you @laurensvalk @dlech .
The text was updated successfully, but these errors were encountered: