View Single Post
  #1   Spotlight this post!  
Unread 01-02-2016, 14:49
riftware riftware is offline
Parent Mentor
AKA: Andrew Chandler
FRC #0031
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Tulsa
Posts: 27
riftware is an unknown quantity at this point
Re: Easy communication between Raspberry Pi and roboRIO

Quote:
Originally Posted by cantdecide View Post
The NetworkTables solution worked great, now we have bi-directional communication between the roboRIO and the Raspberry Pi. Thanks to the amazing team behind RobotPy and pynetworktables! You guys rock.

I have one question though. Is it viable bandwidth and latency wise to send image data over NetworkTables, or will I have to resort to a traditional HTTP server implementation for that? I'm asking because I'd like to display output from the OpenCV script in SmartDashboard but all the solutions I've seen for video streaming from Python use a basic web server implementation and I don't feel like I'd be able to pull that off without concurrency problems since I'm a novice at Python.
My lead programmer wasn't sure how to get network tables installed on the Pi. We're a Java (or in a pinch c++ team) - does anybody have a reference on how to get them there? (or are they there to begin with?)

- Update - I found another thread that seems to show how to do it:
http://www.chiefdelphi.com/forums/sh....php?p=1525831 I'll try it tonight and update this post tomorrow.

Last edited by riftware : 01-02-2016 at 14:57. Reason: New Info