Go to Post You don't have to build a robot to be on a robot team. This isn't about the robot, it's about learning. - engunneer [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 26-01-2016, 18:52
pnitin pnitin is offline
Registered User
no team
 
Join Date: Oct 2015
Location: USA
Posts: 14
pnitin is infamous around these partspnitin is infamous around these parts
Re: RoboRio to rasberrypi

Quote:
Originally Posted by E, Palmer View Post
My team would like to use a raspberrypi this year as a co-processor for vision tracking. We understand how to do it form a software standpoint but cant for the life us figure out how to connect it to the roborio. We were thinking maybe something like a usb-ethernet adapter, we've also heard of using the roborio's i2c. Have any teams used a rasberry pi and have a reliable way to connect the two?


see this
Look here for tracking shronghold goalpost
http://www.mindsensors.com/blog/how-...our-frc-robot-
you can connect the Pi to RoboRio on serial line that will be simplest,
other solutions may be I2C or Ethernet but I think best and easiest will be serial (not usb serial)
  #2   Spotlight this post!  
Unread 27-01-2016, 22:11
snekiam snekiam is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2010
Location: SE Michigan
Posts: 91
snekiam has a spectacular aura aboutsnekiam has a spectacular aura aboutsnekiam has a spectacular aura about
Re: RoboRio to rasberrypi

3322 will be using UART to communicate between the two. I will post our code here in a week or two when we get around to writing it.
  #3   Spotlight this post!  
Unread 27-01-2016, 23:17
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: RoboRio to rasberrypi

Why not use network tables?

http://first.wpi.edu/FRC/roborio/rel...workTable.html

Here is an example in python.
https://github.com/robotpy/pynetwork...iverstation.py

NetworkTable sd = NetworkTable.getTable("SmartDashboard");

sd.getNumber('dsTime');

sd.putNumber('robotTime', 10);
__________________
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)
  #4   Spotlight this post!  
Unread 28-01-2016, 08:02
iSpotix iSpotix is offline
Registered User
FRC #4049
 
Join Date: Jan 2016
Location: Pittsburgh
Posts: 27
iSpotix is an unknown quantity at this point
Re: RoboRio to rasberrypi

I would second Network Tables. It's what we are using to use vision processing on our Driver Station.
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 02:36.

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