Go to Post While Grace will carry you through good times and victory, Professionalism will carry you through hard times and defeat. - Venkatesh [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2017, 19:03
Maxcr1's Avatar
Maxcr1 Maxcr1 is offline
Registered User
AKA: Max D
FRC #2169 (KING TeC)
Team Role: Programmer
 
Join Date: Nov 2016
Rookie Year: 2013
Location: Savage, MN
Posts: 9
Maxcr1 is an unknown quantity at this point
Communcation between Raspberry Pi and RoboRio configured for Java

Is it possible to communicate between a Raspberry Pi and a RoboRio configured for Java? I read all the docs and was unable to find anywhere where it clearly stated that it was possible to communicate between a RoboRio configured for Java and a RoboRio. I assume it is possible based on this thread, but I don't know for sure.

Any help is appreciated

-Max
KING TeC 2169
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2017, 07:14
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Communcation between Raspberry Pi and RoboRio configured for Java

I don't know the exact code, but we are doing it via Network Tables. I think one of our programmers was also doing it via sockets.
__________________

Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2017, 10:43
MikePerreman's Avatar
MikePerreman MikePerreman is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Michigan
Posts: 47
MikePerreman is an unknown quantity at this point
Re: Communcation between Raspberry Pi and RoboRio configured for Java

currently im trying the pynetworktables module, and i have my laptop communicating to robot through that. (windows install: "pip install pynetworktables") and so far its been working ok. the next phase is to try on the pi, and hope and pray that i can get mdns to work
__________________
Programmer - A creature known for converting Caffeine into Code.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2017, 10:52
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,102
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Communcation between Raspberry Pi and RoboRio configured for Java

Quote:
Originally Posted by MikePerreman View Post
currently im trying the pynetworktables module, and i have my laptop communicating to robot through that. (windows install: "pip install pynetworktables") and so far its been working ok. the next phase is to try on the pi, and hope and pray that i can get mdns to work
Use static ips. mDNS is a bad idea.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
Reply


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 15:26.

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