Go to Post The game is leaking? That can only mean... - GeeTwo [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-04-2016, 15:38
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 203
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Help: Raspberry pi and GRIP

Quote:
Originally Posted by gegozi View Post
Are you sure that I am using the roboRIO's information? I thought that the raspberry pi doesn't know the existence of the roboRIO and vice versa; I thought that the pi publishes to Network Tables, and the RIO picks it up.

Please correct me if I am wrong.
I thought that as well too, but you set up the roboRIO as the server and the raspberry pi as the client. Also, I tried using roboRIO-2053-frc.local as the ip to connect to, but that didnt work that often, so I just switched to static IP's everywhere. We had no connection issues at competition.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-04-2016, 18:03
gegozi gegozi is offline
Registered User
no team
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Bellaire, TX
Posts: 46
gegozi is an unknown quantity at this point
Re: Help: Raspberry pi and GRIP

Hello people,
Thank you for your help.
I was trying to test my code, since the roborio is in the bag. How do you think I should test it? Do I need a router?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-04-2016, 18:35
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 203
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Re: Help: Raspberry pi and GRIP

Do you have a spare roboRIO? If so, set that up and get basic code running. If not, then you might be able to set up the network tables viewer as a server and set your pc as the ip on the raspberry pi side. You probably need a switch for this for the connection to work. I've never done it this way. This is my best guess as I've always had a spare robot.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-04-2016, 23:32
gegozi gegozi is offline
Registered User
no team
 
Join Date: Apr 2014
Rookie Year: 2012
Location: Bellaire, TX
Posts: 46
gegozi is an unknown quantity at this point
Re: Help: Raspberry pi and GRIP

I don't have a spare robo rio, so if anyone has done this without a roborio, please tell me how you did it. Thanks.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-04-2016, 09:21
techplex's Avatar
techplex techplex is offline
Blake B
AKA: Blake
FRC #4909 (The Bionics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Massachusetts
Posts: 94
techplex is just really nicetechplex is just really nicetechplex is just really nicetechplex is just really nice
Re: Help: Raspberry pi and GRIP

You can test Network Tables without a RoboRIO you just need a Network Tables server. Luckily, the Outline Viewer application has the option to run as a Network Tables server.

https://wpilib.screenstepslive.com/s...#OutlineViewer

The outline viewer jar file lives in the wpilib folder in your home directory.
If you are on windows that is C:\Users\<username>\wpilib
__________________
Blake
Electrical, Programming and Design

Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
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 03:22.

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