You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
blocking issue on motor runs on ev3dev2 (maybe ev3dev too) #558
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===========================-==================-==================-===========================================================
ii python3-ev3dev2 2.0.0~beta2 all Python language bindings for ev3dev
So running m.on_for_degrees(-30, 90, block=True) works on the Lego brick (returning control when position is reached) and the same command on the Dexter brick doesn't return control. The code for repro is :
from ev3dev2.motor import LargeMotor, OUTPUT_A, SpeedPercent
m = LargeMotor(OUTPUT_A)
m.on_for_degrees(SpeedPercent(10), 180, block = True)
This will be stuck forever on the dexter (polling issue?) but not on the lego brick. We can repro on 2 different Dexter devices with EV3 and NXT.
Activity
WasabiFan commentedon Nov 6, 2018
@dwalton76 Do you have a BrickPi you can test this on?
omartin2010 commentedon Nov 6, 2018
adding @lynn-orell
dwalton76 commentedon Nov 6, 2018
This should get fixed via #548
WasabiFan commentedon Nov 6, 2018
Ah, I had forgotten about that one; thanks for staying on top of it! I just edited the PR description to link back with
fixes.