|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: FRC hardware design
I'm not sure you have a good grasp of the "hardware software model", as you call it. You're asking questions that seem to assume things are not as they are. The IFI Robot Controller system is set up as a main processor with a coprocessor. The software isn't running a "dual thread" scheme with interrupts to switch between tasks; the fast user loop is the "main loop".
The system is set up with an amazingly useful feature: hardware inputs are automagically read and made available to the program as variables, and hardware outputs are automagically generated based on variables set by the program. The minor nuisance of having to call the get_data and send_data communication routines explicitly is worth it. One thing you're leaving out is the cost of the system. Adding "just one more small PIC" for PWM outputs, and "just one more small PIC" for modem communication, and "just one more small PIC" for a motor drive system...it adds up. |
|
#2
|
|||
|
|||
|
Re: FRC hardware design
I'm suggesting that having 2 pic 18's and the interrupt for them to talk adds complications. Having 1 pic 18 and a pic 16or two on an expandable async bus would be less complex. The main processor would have a senddata getdata function and a set-pwm function. Off loading the PWM from the pic 18's would eliminate the critical timing that is needed in the current controller. As for cost, aren't pic 18's to pic16's about 1 to 3. I would rather send a couple high level commands to a intelligent motor coproc than have to fit the pid in the current FRC and worry about conflicts with a gyro, accelerometer, other time critical sensing.
|
|
#3
|
|||||
|
|||||
|
Re: FRC hardware design
Quote:
(The four PWMs which are optionally controllable by the user processor would still have to be that way in order to permit the kind of immediate control possible under the existing scheme.) |
|
#4
|
|||||
|
|||||
|
Re: FRC hardware design
Quote:
I don't wish to sound like I'm trashing your ideas, but I honestly don't understand how they would make things any easier than they are now. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Official 2006 Game Design] OK, so YOU design the 2006 game... | dlavery | FRC Game Design | 29 | 08-01-2006 00:21 |
| **FIRST EMAIL**/2005 FRC Game Design Communication to FRC Teams | Goobergunch | FIRST E-Mail Blast Archive | 1 | 06-01-2005 09:29 |
| FRC Program State Frozen at Power-up | WillyC | Control System | 4 | 14-02-2004 18:05 |