I was having problems with the GryoSensor where sometimes when I would try to read the value I would get an empty string instead of an integer which would cause python to barf. David figured out that this was a threading issue, see https://github.com/ev3dev/ev3dev/issues/1269
I was having problems with the GryoSensor where sometimes when I would try to read the value I would get an empty string instead of an integer which would cause python to barf. David figured out that this was a threading issue, see https://github.com/ev3dev/ev3dev/issues/1269
I am running this:
System info (from
ev3dev-sysinfo
)A potential fix for this is
but this would need some testing to see what sort of performance hit all of the locking and unlocking would create.