Go to Post It'd be nice to have some more data to look at, I like data - Aren_Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 05-02-2016, 12:32
cantdecide cantdecide is offline
Registered User
FRC #5773 (YAFL Mechatronics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Turkey
Posts: 31
cantdecide is an unknown quantity at this point
Re: Easy communication between Raspberry Pi and roboRIO

Quote:
Originally Posted by riftware View Post
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.
It really depends on which programming language you're using on the Pi. We use Python, so all I had to do was run "pip install pynetworktables".
Closed Thread


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 11:08.

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