Closed ArthurAllshire closed 8 years ago
This problem is fixed in the latest master, I just haven't made a release yet (you should subscribe to the robotpy mailing list :) ).
Master also contains functionality that allows you to simulate i2c devices, check out https://github.com/robotpy/robotpy-wpilib/blob/master/wpilib/tests/test_i2c.py. I was hoping to add a simulator for one of the gyros as an example before making the release.
@virtuald How would I go about installing the current master to the roborio or should we just wait until the next release?
Thanks for responding so quickly. Definitely signed up to the mailing list ;)
See devtools/build_and_deploy.sh
. I'm trying to get it out tonight (so.. maybe in the next 4 hours).
Pushed 2016.1.0 to pypi. Added more stuff to the i2c/spi simulators, there will be an update of pyfrc to support some of it too.
I2C reading and writing does not work on the roboRIO. It seems like the fail to _i2CTransaction in i2CTransaction fails. Code: from wpilib import I2C
Fails on call to addressOnly() Error I am getting on the driver station:
I'm just calling the function from teleopInit(), and it completely crashes the robot code.