Go to Post Even better than any [book] is simply becoming an active member of the Chief Delphi forums. Where do you think I got everything I know? - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 12-02-2016, 21:36
nickbrickmaster's Avatar
nickbrickmaster nickbrickmaster is offline
Not Allowed Near Power Tools
AKA: Nick Schatz
FRC #3184 (Blaze Robotics)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Eagan MN
Posts: 151
nickbrickmaster is an unknown quantity at this point
Re: I2C Error on read() or write()

Thanks for the help. Turns out that I had connected the board incorrectly, and that the data I was getting from Java was random noise, which I did not get in Python because I never ran initialize() in Java.

Again, thanks for the help. I got the gyro working. It still throws an error every once in a while (but good data otherwise), which the code catches and replaces with an array of zeroes. I'd like a better solution, and to get to the bottom of the I2C errors, but that is a project for later. I'll definitely add it to robotpy-wpilib-utilities once decoding and calibration is all figured out.
__________________
I have approximate knowledge of many things.

FRC 3184: 2014-, FTC 10648: 2015-
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi