ev3dev / ev3dev-lang-python

Pure python bindings for ev3dev
MIT License
421 stars 146 forks source link

EV3FAST – A PYTHON MODULE FOR FASTER EV3 INTERFACE #666

Closed ndward closed 4 years ago

ndward commented 4 years ago

A Posteriori has developed EV3fast – a python module for faster ev3 interface, which can be downloaded from this page: https://www.aposteriori.com.sg/ev3fast-a-python-module-for-faster-ev3-interface/ I haven't tried the EV3fast module yet myself. Quoting from that page:

Programing the Lego Mindstorm EV3 using ev3dev and Python can be great fun, but the performance can be very much poorer than LeJOS or EV3-G. For a simple 2 color sensor (…in RGB mode) line follower robot with 2 large motors, we’ve recorded performance as poor as 30+ loops per second, compared to 400+ loops per second using EV3-G.

To improve performance, we’ve created a custom Python module, ev3fast.py, that provides much better performance than the standard ev3dev Python module. As an added bonus, your Python program will load much faster if you use only ev3fast and do not import the standard ev3dev module.

ev3fast currently does not support all features (eg. onboard buttons and screen), but it can be loaded concurrently with the standard ev3dev module. Use ev3fast for your performance critical loops, and the standard ev3dev module for everything else.

ndward commented 4 years ago

I'm closing this because I just realized it was already announced here https://github.com/ev3dev/ev3dev-lang-python/issues/451