Go to Post [the last period is] a free for all, both goals are turned on, and any robot can go anywhere on the field and score in any goal (although I would recommend scoring in the correct goal, not your opponents :D ) - Ryan Foley [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 17-01-2015, 21:42
amesmich's Avatar
amesmich amesmich is offline
Registered User
FRC #4638 (Jagbots)
Team Role: Teacher
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Maryland
Posts: 101
amesmich is an unknown quantity at this point
RoboRio + Beaglebone Black

Hi all,

I am not an expert on the subject I am askign about but I knwo a bit abou it and have some experience with arduino. My question is there instructions or a method to connect a beaglebone black to the roborion through the expension port?

I know andymark sells the Rioduino http://www.andymark.com/product-p/am-2996.htm but I was looking for pore power than an arduin UNO which is what is on that. I know it spossible I was just wondering if there was a standard method.

Our lead programer had some concerns that I was not able to speak to. We will have 6 encoders on our bot and will be running a mecanum drive with a gyro and an accelerometer. With all the other functions we have the concern was the delay in processing all the information interfearing with the operation of the drive. I am sure this has been discussed.

Does this sound reasonable with the new roborio, or will someone say "what the heck are you doing that you need more processing power"

Ideally we would liek to use the beaglebone for either the encoders or the gyro and accelerometer. Thought, ideas, info? Any insight is appreciated. Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2015, 08:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: RoboRio + Beaglebone Black

The decoding of the encoder pulses and the accumulation of the gyro are done in the FPGA. They are hard-real-time and take no CPU. The remaining work, scaling the values and putting them into the WPILib format, is trivial.

My suggestion would be to hook all of the sensors up on a test bench and measure it. I think you'll find that you have nothing to worry about and you do not need to complicate things by throwing other dedicated processors on the robot.

If you have questions, or more detailed concerns about meeting timing on some sensor, please post the details.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2015, 09:40
amesmich's Avatar
amesmich amesmich is offline
Registered User
FRC #4638 (Jagbots)
Team Role: Teacher
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Maryland
Posts: 101
amesmich is an unknown quantity at this point
Re: RoboRio + Beaglebone Black

Wow, thanks so much. Thats where I didnt know the architecture of the system. FPGA makes sense. Thansk so much.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2015, 09:50
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 327
fovea1959 will become famous soon enough
Re: RoboRio + Beaglebone Black

I agree with Greg about whether or not you probably *need* another processor for that.

That being said, if you *do* need/want an offboard processor, the new control system has UDP available to us (I believe we did not have that for Java in previous years).

One of our students coded up a neat little threaded UDP receiver (lifted from a threaded "Quote Server" tutorial, Google for it) on our roboRIO. We were able to send data using 'socat' on the Raspberry PI, and start and stop commands on the roboRIO using the received data.

If you use a Linux based offboard, make sure you install avahi so that you have access to the 'roboRIO-nnnn.local' mDNS names.
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 07:28.

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