![]() |
Offboard coprocessor!
I am hell-bent on using an offboard coprocessor with the FRC next year because I'm sick of lookup tables that need to be regenerated every time hardware changes (although perl does expedite that process).
I've read the documentation for the Gumstix series of Linux single-board computers, as well as all of the Adambots' "Delta Force Coprocessor" material, and the FIRST rules regarding custom circuitry. I am about ready to take home an RC and order a Gumstix and get going. I'm just wondering if anyone has any experience with this that they'd like to share. |
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
Unless you're really doing some hardcore stuff, I don't think a gumstix is necessary. Look at the Atmel AVR series, specifically the ATMegas. An STK500 development kit can be had for $80 and includes everything to get started. Someone likened it to a Swiss Army knife for microcontrollers, and I agree.
Atmel STK500 |
Outboard motors
I would love to know what sort of programming you have that requires that much additional circuitry and time. Dont forget rules about using items from previous years, you wouldnt want to have it rejected by inspectors after that much. Not to mention the costs of development hardware.
|
Re: Offboard coprocessor!
There is a $50.00 demo board from microchip that actually includes the 18f8722.. its fairily small, and very useful..
http://microchip.com/stellent/idcplg...&part=DM183022 |
Re: Offboard coprocessor!
Don't forget, those EDUBot controllers run pretty much the same hardware as the pre-06 RCs. They can be hooked up in parallel to your main RC to do some computations.
|
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
So is there any way to hack a Vex controller? At $149.99, they're suddenly legal under every rule I could find (provided you powered them legally).
|
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
Quote:
Please do post us a link when you have one. |
Re: Offboard coprocessor!
Team 1425 uses a PIC processor to controll the speed of the ball shooter this year. The shooter has two impeller wheels that give the ball its velocity. Our aiming depends on the shooter having a constant velocity as close to the limit as possible.
The PIC processor uses digital I/O to provide 2 bits of info for each impeller. The code on the robot controller uses 3 of the 4 possible combinations to tell if the impeller is {too slow, on speed, too fast} The robot controller uses this info to determine if/how to adjust the PWMs controlling the impeller motors. |
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
I'm curious as to why there is a need for a powerful coprocessor. I can see using a small PIC for a sensor that requires I2Cc or SPI interface since we don't have access to the hardware on the robot controller. This year the camera certainly didn't overwhelm the processor. There are more limitations in the actual camera hardware and firmware. So why the need for a powerful
coproc? Are our games complex enough to justify one? |
Re: Offboard coprocessor!
We are using a 400MHz Gumstix running Windows CE 5 for our drivetrain/positioning system and target acquisition, but we didn't have it on the robot at UCF. It will certainly be there for Nationals.
|
Re: Offboard coprocessor!
Quote:
1) The student who did it had some PIC experience and wanted to add a bit of interesting control circuitry. This also provides an example for future robots. 2) We were worried about the interrupt overhead from the impellers spinning at over 2000rpm. We did do a pass through mode so that (if there was a problem with the sensor PIC) we could hook the sensors up to interrupts 5 and 6 and do everything in the RC. The off board PIC can determine the speed on every revolution by measuring the pulse width. The sensor sees one high and one low every revolution. We also thought about routing the GTS signals (from our robot drive system) through the PIC (or a similar device) to get the drive rotational direction since measuring the GTS pulse width is difficult to do in the RC. However, we ran out of time to do that. |
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
Quote:
|
Re: Offboard coprocessor!
I use an offboard coprocessor for ease of programming and added horsepower. The PIC18 C is really too troublesome to write stereoscopic vision routines in, never mind powerful enough to execute them. For Manchester regional, what I got working was a really simple trig-based binocular vision scheme, a complete and total hack using two cameras, the light, and a gumstix. The reason I could use such a trig-heavy approach was the gumstix, you need lookup tables for that on a PIC, and using the actual functions would really slow you down.
For nationals, I'm working on implementing true binocular vision on the gumstix/cmucam array, along with the "light hack" for easy aiming. I might end up adding a third cmucam, I'm not sure. But this opens up all sorts of fun possibilities... In auto, stereoscopic vision combined with a good positioning system can lock on to, track, and ram an enemy bot. When I'm done and it doesn't look stupid anymore, I'll post the code for that. (Also, the gumstix runs linux. Linux programming environment = wonderful. You can only program a PIC using clunky wine wrapperthings in linux. This way, there's the one PIC code that works and then you're done messing with that, its just easier to work with two linux systems and two REAL implementations of gcc, not PIC18 special C) |
| All times are GMT -5. The time now is 23:03. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi