Go to Post I trust in Martus. - Petey [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #46   Spotlight this post!  
Unread 05-04-2010, 15:15
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by JamJam263 View Post
Why not just go all out and use http://www.newegg.com/Product/Produc...-228-_-Product .
All youd have to get is a DC laptop chrager with the same specs, and your good to go.
I don't think putting a computer on teh robot will go well with the teammates... At least for the other boards, it doesnt look anything like a computer, but it is
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #47   Spotlight this post!  
Unread 05-04-2010, 20:30
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Regarding The cRio

Quote:
Originally Posted by JamJam263 View Post
Why not just go all out and use http://www.newegg.com/Product/Produc...-228-_-Product .
All youd have to get is a DC laptop chrager with the same specs, and your good to go.
Be very careful. I've heard that the motor in the hard drive is considered a motor, and is therefore not allowed to be used on the robot since it didn't come in the kit. Same goes for the fan inside that computer, if there is one. So, you'd need something with a SSD, and that is fanless.

On a completely separate note, you can use USB to attach another simpler board to do IO, if you are having trouble finding a powerful board to use that has good IO. Food for the thought to get you thinking.
  #48   Spotlight this post!  
Unread 02-05-2010, 13:49
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,190
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Regarding The cRio

Quote:
Originally Posted by Foster View Post
Or in a slightly longer, more informative way:

Yes, you will need the VGA connection to act as a monitor. You use the combination monitor / keyboard to be the main console to program, etc.

Plan B would be to use one of the serial ports as a TTY device. That would only work in a non-Windows OS mode.

They are pretty spiffy boards, but running a full blown OS on them isn't a good idea. Linux, DOS or one of the Embedded Windows is fine, performance for full XP isn't fast.

Good luck!
yes, I have the cable to connect the board to my computer for terminal IO, The plan was to create a live usb on either an XUbuntu or windows machine with the Debian (or Ubuntu) i386 image on it. then the instructions I have get fuzzy. I either boot my computer with the live usb, configure the SSH for terminal access, and boot the roboard with it and install the kernel package on the roboard, or I do the same thing but install the kernel before I boot the roboard with it, or I just make the live USB, boot the Roboard and some how do every thing from there with the remote terminal interface. My main issue is the person on my team who is attempting to help me thinks that I know more than I do.
__________________
  #49   Spotlight this post!  
Unread 02-05-2010, 14:53
Foster Foster is offline
Engineering Program Management
VRC #8081 (STEMRobotics)
Team Role: Mentor
 
Join Date: Jul 2007
Rookie Year: 2005
Location: Delaware
Posts: 1,393
Foster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond reputeFoster has a reputation beyond repute
Re: Regarding The cRio

What I'd do is create a bootable (livecd) image and put it on the USB stick. Your co-processor board would boot up the "livecd" image and start running. You would put a script to run your user code in /etc/rc.local (that script runs after everything is up.) You do have an issue that it takes some time to boot up completely. It "should" be less than the cRio, but your mileage may vary.

Your user code would be the program that runs to do your image processing / sensor processing / etc. The nice thing is that you could write that code in anything (C, Perl, Java, Awk, Cobol, etc.)

You could write on the Host PC and then ssh file transfer down to the coprocessor board. It then becomes the same "code, download, restart, test" cycle you do with the cRio.

Remember Google is your friend. Somebody, someplace at sometime has done something very, very close to what you want to do and has written it up. So don't be afraid to us Google to search it out.
__________________
Foster - VEX Delaware - 17 teams -- Chief Roboteer STEMRobotics.org
2010 - Mentor of the Year - VEX Clean Sweep World Championship
2006-2016, a decade of doing VEX, time really flies while having fun
Downingtown Area Robotics Web site and VEXMen Team Site come see what we can do for you.
  #50   Spotlight this post!  
Unread 02-05-2010, 17:17
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by Foster View Post
What I'd do is create a bootable (livecd) image and put it on the USB stick. Your co-processor board would boot up the "livecd" image and start running. You would put a script to run your user code in /etc/rc.local (that script runs after everything is up.) You do have an issue that it takes some time to boot up completely. It "should" be less than the cRio, but your mileage may vary.

Your user code would be the program that runs to do your image processing / sensor processing / etc. The nice thing is that you could write that code in anything (C, Perl, Java, Awk, Cobol, etc.)

You could write on the Host PC and then ssh file transfer down to the coprocessor board. It then becomes the same "code, download, restart, test" cycle you do with the cRio.

Remember Google is your friend. Somebody, someplace at sometime has done something very, very close to what you want to do and has written it up. So don't be afraid to us Google to search it out.
My mentor pretty much told me that a second PC will not be needed, since the crio is pretty powerful as it is, but I am still keeping the PC idea in mind, the problem is that the usb idea is "fragile". the USB can pop out mid competition, so thats dead. I was thinking of just using a SS drive (no moving parts) instead of HDD, so it can't get messed up as bad
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #51   Spotlight this post!  
Unread 02-05-2010, 17:22
M.Wong's Avatar
M.Wong M.Wong is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Apr 2009
Rookie Year: 2008
Location: Novi, MI
Posts: 80
M.Wong is a jewel in the roughM.Wong is a jewel in the roughM.Wong is a jewel in the rough
Re: Regarding The cRio

It would not be worth the added power. The cRio has so much power, most teams do not get anywhere near fully utilizing the cRio. Plus, using two cRios would be extremely restrictive on the rest of your robot (cost wise).
__________________
  #52   Spotlight this post!  
Unread 02-05-2010, 20:04
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by M.Wong View Post
It would not be worth the added power. The cRio has so much power, most teams do not get anywhere near fully utilizing the cRio. Plus, using two cRios would be extremely restrictive on the rest of your robot (cost wise).
Baha, image detection algorithms push the Crio to its limits as is. Anything more advanced is simply impossible.
Right now, I notice the severe lag from doing two or more circle detections per cycle, and this only adds up to about 10-15 times per second.
Does anyone think asking FIRST to ease this restriction concerning BIOS batteries for next year would be option?
  #53   Spotlight this post!  
Unread 02-05-2010, 20:19
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by theprgramerdude View Post
Baha, image detection algorithms push the Crio to its limits as is. Anything more advanced is simply impossible.
Right now, I notice the severe lag from doing two or more circle detections per cycle, and this only adds up to about 10-15 times per second.
Does anyone think asking FIRST to ease this restriction concerning BIOS batteries for next year would be option?
They don't have to know what they don't know... Just enclose it in a regular pc case


edit: Or even more bad $@#$@#$@#, use 1 or more ps3's on board, they are like $300 each, so its legal. Just use a enternet hub and boot up linux on it... BAD $@#$@#$@#!!
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.

Last edited by davidthefat : 02-05-2010 at 20:22.
  #54   Spotlight this post!  
Unread 02-05-2010, 21:36
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Regarding The cRio

That's a very neat idea, but really, the Cell is just a CPU on steroids. And thus, it's a CPU which can't compare to a GPU's performance, even though it's easier to code. It's like trying to compare anything to infinity.

Unfortunately, a PC case would probably be a big weight and shock-resistance hassle. These components already have to withstand huge Gforce shocks, even with bumpers. Kudos for the idea, though. That'd be interesting, seeing my neon-blue case on a robot.
  #55   Spotlight this post!  
Unread 02-05-2010, 21:53
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by theprgramerdude View Post
That's a very neat idea, but really, the Cell is just a CPU on steroids. And thus, it's a CPU which can't compare to a GPU's performance, even though it's easier to code. It's like trying to compare anything to infinity.

Unfortunately, a PC case would probably be a big weight and shock-resistance hassle. These components already have to withstand huge Gforce shocks, even with bumpers. Kudos for the idea, though. That'd be interesting, seeing my neon-blue case on a robot.
Actually coded right, the Cell processor is way more useful than the PS3 RSX (the gpu), it was the only way that Uncharted 2 looked so good, they took some of the GPU work to the cell

http://www.ibm.com/developerworks/po...pa-linuxps3-1/
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #56   Spotlight this post!  
Unread 03-05-2010, 06:51
M.Wong's Avatar
M.Wong M.Wong is offline
Registered User
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Apr 2009
Rookie Year: 2008
Location: Novi, MI
Posts: 80
M.Wong is a jewel in the roughM.Wong is a jewel in the roughM.Wong is a jewel in the rough
Re: Regarding The cRio

Quote:
Originally Posted by davidthefat View Post

edit: Or even more bad $@#$@#$@#, use 1 or more ps3's on board, they are like $300 each, so its legal. Just use a enternet hub and boot up linux on it... BAD $@#$@#$@#!!
Don't update your Ps3 then. Linux support just got dropped.
__________________
  #57   Spotlight this post!  
Unread 03-05-2010, 10:04
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by M.Wong View Post
Don't update your Ps3 then. Linux support just got dropped.
Im aware, gah no PSN for me now
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
  #58   Spotlight this post!  
Unread 03-05-2010, 10:50
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,281
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Regarding The cRio

Quote:
Originally Posted by Fletch1373 View Post
Just putting this out there, I've been an inspector at 3 regionals(WPI, Boston, and CT) and the inspection checklist has always included this line:



The way I read that is that you can't use more than 1(even if cost wasn't an issue). So as an inspector, without seeing an update or Q&A post specifically allowing it, I would say no to that idea.

-Eric
Why do you interpret it this way?

Quote:
Originally Posted by Fletch1373 View Post
Controller – 1 cRIO must be used on the robot
This part does not disallow the use of a second cRIO, it simply says that 1 must be used on the robot. If two are used on the robot then one is being used on the robot. If the rule said 1 and only 1 cRIO must be used then I would agree with this interpretation.

Quote:
Originally Posted by Fletch1373 View Post
and it must be the only device connected to the 37-pin Digital Sidecar ports and the 25-pin ports on the Solenoid and Analog Breakout(s) used on the robot <R56>
This also does not specifically prohibit using a second cRIO as a co-processor, If one cRIO is connected to all of the sensors and actuators (with the possible exception of the camera) and the other is connected to the cRIO via the second Ethernet port, and used only to interpret data sent through the ethernet port or gathered by the camera or another sensor attached to the second cRIO's second Ethernet port then this set up would not violate the quoted rule.

Obviously the best way to handle this would be to ask Q&A but If I were to read the rule indicated by the check list:

Quote:
<R56> ROBOTS must be controlled via the programmable National Instruments cRIO-FRC (National Instruments part number 780406-01). Other controllers shall not be used.
I would see nothing wrong with using a second cRIO (as in this setup it would not be a controller, just a processor).

It worries me some times that inspectors a left with a lot of room to make judgment calls (all though I understand it is necessary). I could easily show up to a competition with the set up I described (assuming it fit all of the cost guidelines) having never asked Q&A because my set up seems to be clearly allowed, only to have atleast two inspectors (Fletch and another one mentioned in this thread) who clearly have a difference in opinion to what the rule means, largely (in my opinion) based on the lack of differentiation by the inspectors between a controller and a co-processor.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #59   Spotlight this post!  
Unread 03-05-2010, 11:04
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Regarding The cRio

Oh my goodness! I forgot the fact that the cRIO has a serial port that can be used to do this stuff. If you use an absurdly high baud rate (with a heavy dose of custom code, of course) and hook up a crio to, say, an arduino over serial (hook up the tx and rx to digital ports 0 and 1), you could have a co-processor work. I'm going to experiment with this and i will keep you posted.
  #60   Spotlight this post!  
Unread 03-05-2010, 18:21
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Regarding The cRio

Quote:
Originally Posted by Robototes2412 View Post
Oh my goodness! I forgot the fact that the cRIO has a serial port that can be used to do this stuff. If you use an absurdly high baud rate (with a heavy dose of custom code, of course) and hook up a crio to, say, an arduino over serial (hook up the tx and rx to digital ports 0 and 1), you could have a co-processor work. I'm going to experiment with this and i will keep you posted.
The max for arduino is 9600 baud rate
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reimaging the cRio Issues there are no cRio devices on the subnet Stuart FRC Control System 2 25-02-2009 23:41
Question about Rules regarding the cRIO tbd FRC Control System 1 08-02-2009 12:52
What are the rules regarding joysticks, etc. for the Operator Interface? itay_ms Rules/Strategy 1 17-01-2007 12:16
An excellent discussion on #firstrobotics regarding Vex and the future of the US sanddrag General Forum 18 25-03-2006 17:56
Regarding <G13> - placement of the tetra by the human player. Leav Rules/Strategy 7 02-02-2005 10:26


All times are GMT -5. The time now is 23: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