Go to Post I think the only way I'd die from posting on CD is from my wife killing me. - Koko Ed [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 01-02-2017, 18:20
TeamImp219 TeamImp219 is offline
Registered User
FRC #0219
 
Join Date: Jan 2017
Location: Washington
Posts: 6
TeamImp219 is an unknown quantity at this point
NetworkTables with two lanuages

Hello, we have a question about networktables. We are using opencv written in pyton on a raspberry pi 3 as a co processor to do vision processing for our robot this year. But, we are coding our RoboRIO in Java through our driver station. We were wondering if we would be able to transfer data through networktables with two different languages? If not, what would we use to transfer data between the coprocessor and driver station? Thanks a lot
Reply With Quote
  #2   Spotlight this post!  
Unread 01-02-2017, 18:22
T8PineappleSam T8PineappleSam is online now
Jonathan
AKA: Jonathan Zwiebel
FRC #0008 (Paly Robotics)
Team Role: Driver
 
Join Date: Jan 2016
Rookie Year: 2013
Location: California
Posts: 23
T8PineappleSam is on a distinguished road
Re: NetworkTables with two lanuages

The same NetworkTables can be written to and accessed by multiple languages. We used them last year to relay data between our roboRIO (Java) and a vision program on our driver station (python).
__________________
Jonathan Zwiebel
Driver, Project Manager, Programmer [Team 8, Paly Robotics]




2016 Central Valley Regional Finalist and Wildcard, Silicon Valley Regional Quarterfinalist, Curie Division, CalGames Quarterfinalist and Entrepreneurship Award, Capital City Classic Quarterfinalist
2015 Central Valley Regional Entrepreneurship Award, Silicon Valley Regional Entrepreneurship Award, Capital City Classic Semifinalist and Judges' Award
2014 Central Valley Regional, Silicon Valley Regional, Chezy Champs
Reply With Quote
  #3   Spotlight this post!  
Unread 01-02-2017, 18:36
TeamImp219 TeamImp219 is offline
Registered User
FRC #0219
 
Join Date: Jan 2017
Location: Washington
Posts: 6
TeamImp219 is an unknown quantity at this point
Re: NetworkTables with two lanuages

So would we have to do anything extra to interface the two languages? Or can we just keep our all python code on the pi and java on the driver station?
Thanks a lot again
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2017, 18:40
Thad House Thad House is online now
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,107
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: NetworkTables with two lanuages

Quote:
Originally Posted by TeamImp219 View Post
So would we have to do anything extra to interface the two languages? Or can we just keep our all python code on the pi and java on the driver station?
Thanks a lot again
All the different languages supported by networktables currently (C++, Java, LabVIEW, Python and C#) will all operate with each other without problems. You can keep all your code on the pi as python, and run your robot in Java.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
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 01:14.

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