Go to Post Embrace the challenge, dont shoot it down. - waialua359 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 17-04-2006, 21:44
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,371
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

6 sonar sensors? What are you going to do about all the reflections from them ? 1 sonar and a couple Sharp IR's on servos would be better. What about if other robots have sonar? Yes there is a serial sonar on the market now and it has a narrow cone of detection. The problem with the FRC is that it wasn't designed with a communications bus for coprocs or multiple intelligent sensors. The spi and i2c are not available. If in the future the complexity of First robots gets to the point where coprocs are needed then The controller is going to need a major over haul. From what I've seen most teams barely tap the power of the controller we have now.
Reply With Quote
  #17   Spotlight this post!  
Unread 17-04-2006, 21:47
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Gdeaver
From what I've seen most teams barely tap the power of the controller we have now.
I agree. This year's robot is the most mathmatically complicated yet, but even now we only use a fraction of what the processor can do.
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
Reply With Quote
  #18   Spotlight this post!  
Unread 17-04-2006, 22:03
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,313
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Qbranch
I agree. This year's robot is the most mathmatically complicated yet, but even now we only use a fraction of what the processor can do.
I don't know of anyone ever having a problem with the processors. I know we ran out of code space last year (code, not variable), but with the quadrupling of the space this year we were fine (all our tracking code and everything took up about 1/3 the code space).

6 sonars was just a funny idea I was throwing around before, they'd be spaced out at 60 degree intervals on a full circle so as to allow an updated complete view of the field every half second or so.

A few sonars and Sharp sensors might be better, but I know we'd need more than 1 sonar (all the Sharp sensors have too limited a range for what I was thinking of).

I think Dave's going to give us all 3 cameras next year from that statement.
Reply With Quote
  #19   Spotlight this post!  
Unread 18-04-2006, 10:42
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Gdeaver
If you needed fast floating point math. If you wanted to play with machine vision.
Quote:
Originally Posted by dlavery
Hmmmmm...
Machine vision is in the land of DSP processors... I don't think you could pull it off with a standard embedded processor... just capturing the pixels would probably take too long, let alone processing them. ( Taking too long to capture pixels = blurry image )
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
Reply With Quote
  #20   Spotlight this post!  
Unread 18-04-2006, 10:51
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Donut
I don't know of anyone ever having a problem with the processors. I know we ran out of code space last year (code, not variable), but with the quadrupling of the space this year we were fine (all our tracking code and everything took up about 1/3 the code space).

6 sonars was just a funny idea I was throwing around before, they'd be spaced out at 60 degree intervals on a full circle so as to allow an updated complete view of the field every half second or so.

A few sonars and Sharp sensors might be better, but I know we'd need more than 1 sonar (all the Sharp sensors have too limited a range for what I was thinking of).

I think Dave's going to give us all 3 cameras next year from that statement.
This year's processor could most definitely handle 2 CMUcams, I think you would run out of UARTs if you had 3 cameras. Although, you could overcome this with using the ever-famous bit banging (this can be done up to around 9600 baud, yes I know its slower, but it would still give you a few updates per second).

I would really like it if we did have 2 CMUcams, we could find our absolute position on the field (X,Y coords) using stereoscopic vision off the target.

It'd be nice if maybe Cognix or NI would donate their packaged vision systems and put them in the KOP... that'd be sweet to have geometric pattern matching, great image processing, and don't forget the high frame rates... (and yes I know this is extrememly expensive, but I can dream can't I? )

So, if we were to have a co processor unit for machine vision in the KOP, I'd like it to be DSP based ...hint hint to IFI... but it would be better yet to get one of the vision systems i listed above
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08

Last edited by Qbranch : 18-04-2006 at 17:25.
Reply With Quote
  #21   Spotlight this post!  
Unread 18-04-2006, 16:13
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Qbranch
This year's processor could most definitely handle 2 CMUcams, I think you would run out of UARTs if you had 3 cameras. Although, you could overcome this with using the ever-famous bit banging (this can be done up to around 9600 baud, yes I know its slower, but it would still give you a few updates per second).

I would really like it if we did have 2 CMUcams, we could find our absolute position on the field (X,Y coords) using stereoscopic vision off the target.

It'd be nice if maybe Cognix or NI would donate their packaged vision systems and put them in the KOP... that'd be sweet to have geometric pattern matching, great image processing, and don't forget the high frame rates...

So, if we were to have a co processor unit for machine vision in the KOP, I'd like it to be DSP based ...hint hint to IFI... but it would be better yet to get one of the vision systems i listed above
That would be awesome but also the most expensive item in the entire KOP. Far more expensive than even the RC
__________________
1139 Alumni
Reply With Quote
  #22   Spotlight this post!  
Unread 18-04-2006, 18:21
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,371
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Most machine vision systems rquire a very controled setting to work. I dobt we would have any meaningful data by placing these systems on a robot. However 2 cmu's might work.
Reply With Quote
  #23   Spotlight this post!  
Unread 18-04-2006, 21:26
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

I know using a Vex as a co-proc would be cool and all, but I think it's wayyy overkill. You can get a top of the line AVR ATMega2561 (pdf warning) for a mere 10% of the price of a vex controller ($16.99 at Digikey). Lets compare the specs.

Vex:
  • Chip: Microchip PICmicro® PIC18F8520
  • Speed: 10 MIPS
  • I/O: 16 10 bit ADC
  • Program space: 32Kb
  • Programming language: PIC C (Not totally ANSI)
AVR:
  • Chip: AVR ATMega2561
  • Speed: 16 MIPS at 16MHz
  • I/O: 16 channel 10 bit ADC, total of 86 programmable IO lines
  • Program space: 256Kb
  • Programming language: avr-gcc (AFAIK ANSI)
AVRs have the advantage in every category. Spending an extra $130 to get a fraction of the benefits... nah.
__________________
http://www.mikesorrenti.com/
Reply With Quote
  #24   Spotlight this post!  
Unread 18-04-2006, 22:02
Adam Y.'s Avatar
Adam Y. Adam Y. is offline
Adam Y.
no team (?????)
 
Join Date: Mar 2002
Location: Long Island
Posts: 1,979
Adam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to beholdAdam Y. is a splendid one to behold
Send a message via AIM to Adam Y.
Re: Using Vex Brain as FRC Coprocessor

Quote:
AVR:

* Chip: AVR ATMega2561
* Speed: 16 MIPS at 16MHz
* I/O: 16 channel 10 bit ADC, total of 86 programmable IO lines
* Program space: 256Kb
* Programming language: avr-gcc (AFAIK ANSI)

AVRs have the advantage in every category. Spending an extra $130 to get a fraction of the benefits... nah.
No they don't. In fact by introducing a microcontroller like the AVR you open about 50 other cans of worms which would probably make the price point about even with vex. The most annoying of which would have to be soldering it to something. Look at the PICs that are controlling your robot this year. Now imagine trying to solder it.
__________________
If either a public officer or any one else saw a person attempting to cross a bridge which had been ascertained to be unsafe, and there were no time to warn him of his danger, they might seize him and turn him back without any real infringement of his liberty; for liberty consists in doing what one desires, and he does not desire to fall into the river. -Mill

Last edited by Adam Y. : 18-04-2006 at 22:05.
Reply With Quote
  #25   Spotlight this post!  
Unread 18-04-2006, 22:21
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Adam Y.
No they don't. In fact by introducing a microcontroller like the AVR you open about 50 other cans of worms which would probably make the price point about even with vex. The most annoying of which would have to be soldering it to something. Look at the PICs that are controlling your robot this year. Now imagine trying to solder it.
If you REALLY REALLY still want a co-processor and you REALLY REALLY wont used a pre-packaged micro (i.e. VEX controller):

Just use the PIC18F8722 development board. Or better yet, go for a dsPIC or a Freescale Coldfire processor development board if you really want a serious co processor.

The dev. boards have the processors pre soldered, have a power supply, crystal, and have the pins brought out to an array of plated through holes. Also, most include the plugs for connecting your ICD or ICE, your power connection, as well as a ready-to-go DB9 connector to one of the uarts on the processor.

Just make sure you heed Adam Y.'s warning: you are opening a whole other can of worms. You'll have to make driver circuits all the output lines that you want to use. You'll also probably want to protect your input lines from ESD in some fashion, and you'll need to write a communications protocol to talk between the two processors, and ... (list continues)
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
Reply With Quote
  #26   Spotlight this post!  
Unread 18-04-2006, 22:36
Ken Leedle Ken Leedle is offline
College Student
FRC #0706 (CyberHawks)
Team Role: Alumni
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Wisconsin
Posts: 37
Ken Leedle will become famous soon enoughKen Leedle will become famous soon enough
Re: Using Vex Brain as FRC Coprocessor

Quote:
Originally Posted by Adam Y.
The most annoying of which would have to be soldering it to something. Look at the PICs that are controlling your robot this year. Now imagine trying to solder it.
Not so fast. http://www.infidigm.net/articles/solder/
This is a very effective means of hand soldering 80 pin TQFP chips like the 18F8520. I have used it successfully on 3 boards so far. Check it out with a microscope before you power the board on though.

I made a IR interrupter for the ball sucker upper on our robot using a PIC18F88. It only produced a square wave, but my mentors wanted to see how to make a PCB using toner from a laser printer. It worked very well, but this could easily have been done using a COTS sensor and the RC. (I also needed to brush up on my assembly).

I agree that it would be difficult to communicate with a coprocessor because you do not have access to the RC's SPI or I^2C and you need the USART for the video camera.
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 17:55.

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