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
In the 18-ev3dev kernel release, we fixed a long standing bug with the EV3 buttons. 1 for pressed and 0 for released were reversed. This most likely breaks some of the button code. You probably need to remove the nothere. Not sure if other changes need to be made, so please test.
I changed /usr/lib/python3/dist-packages/ev3dev/core.py on the ev3 and can confirm that this fix works. It is super important to include this in a release before releasing a new image, since the openroberta lab has a restart key handler that can be used to reset a stuck program and due to the inverted logic, this triggers everytime now.
I couldn't try the whole library due to #287.
Activity
DJuego commentedon Jan 28, 2017
@ensonic suspects that this problem is related with this issue (partially at least )
Fix inverted button logic.
ensonic commentedon Jan 29, 2017
I changed
/usr/lib/python3/dist-packages/ev3dev/core.pyon the ev3 and can confirm that this fix works. It is super important to include this in a release before releasing a new image, since the openroberta lab has a restart key handler that can be used to reset a stuck program and due to the inverted logic, this triggers everytime now.I couldn't try the whole library due to #287.
Fix inverted button logic. (#288)
Fix button logic for 18-ev3dev kernel
fixed button logic for 18-ev3dev and follow-up kernels