View Single Post
  #2   Spotlight this post!  
Unread 28-01-2016, 08:27
Cinnamon Toast's Avatar
Cinnamon Toast Cinnamon Toast is offline
Registered User
FRC #3641 (The Flying Toasters)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Michigan
Posts: 32
Cinnamon Toast is an unknown quantity at this point
Re: I2C read from Raspberry Pi to RoboRio

Quote:
Originally Posted by fovea1959 View Post
If you want to run Ethernet between the roboRIO and the rPi, it's straightfoward. Our code to do that from last year is posted. It's for a roboRIO running Java. We didn't post the rPi code (Python), but UDP and JSON from Python are very straightforward....

http://www.chiefdelphi.com/media/papers/3189
Is there any particular reason that you encoded your information to JSON before sending it to the roboRIO over UDP? This looks like a good option to try too. I have zero experience in socket programming as it stands right now though, so I've got some reading to do. Any links on it would be helpful.