|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Bloody control system
I hate this bloody control system.
No interrupts. Not enough ram. Can't send every variable to the dashboard. UNSIGNED INTERGER MATH!!!! Have to check on certain issues in the rule book, however. Input and output is handled by the robot controller. The OI sends signals to move servos. Pots are connected to these servos. Digital outputs turn on LEDs The output of these LEDs are fed by phototransistors into the custom circuit board. The pots, limit switches, and various other sensors hook into the custom circuit board. The PIC in the custom circuit board handles the "thinking" part of the operation and sends voltage signals back to the OI through the sensor port. These voltage signals are direct sensor signals to give values from 0-255. The OI then simply reroutes the sensor signals to the appropriate speed controller or relay. Ha! No more bloody stamp. Goodbye Pbasic! Nothing but good old assembler. |
|
#2
|
||||
|
||||
|
You are right, brotha...
At least the little Lego robotics can be programmed in IC (Interactive C)... I hate PBASIC... And I'd gladly learn ASM (x86, if possible) instead of having to work with PBASIC... Last edited by Brandon Martus : 13-02-2002 at 23:13. |
|
#3
|
|||
|
|||
|
*COUGH* $100 Custom Circiut Board *COUGH*
*COUGH* Embedded System *COUGH* *COUGH* Pick your architecture *COUGH* ...so stop complaining! Just got my 68HC11F1CFN2 from Digi-Key yesterday. I'll post pictures of the board doing somthing that will shock and amaze soon! ![]() |
|
#4
|
|||
|
|||
|
A program that may help
It is to make an arm turn if u or anyone else needs it. Any questions just pm me!!!!
if logged = 1 then hopskipjump: if count1 = 1 then skippy: if p1_sw_top = 0 then out: if p1_sw_top = 1 then in: in: relay1_fwd = 1 relay1_rev = 0 count1 = 1 goto hopskipjump: out: skippy: if count1 = 0 then jumpy: if p1_sw_top = 0 then outy: if p1_sw_top = 1 then iny: iny: relay1_rev = 1 relay1_fwd = 0 count1 = 0 outy: jumpy: hopskipjump: logged = p1_sw_top |
|
#5
|
||||
|
||||
|
Yeah, it would be great if there was an alternative control system. Even if you do make your own, you have to interface it with the IF one.
I guess FIRST is more interested in mechanical innovation then computer & electronics innovation. Too bad. Last edited by Greg McCoy : 18-02-2002 at 21:16. |
|
#6
|
|||||
|
|||||
|
When I was your age, we had to carry arounch punchcards and walk two miles to the nearest computer only to find a mistake in our algorithm and ...
ah nevermind. |
|
#7
|
|||||
|
|||||
|
I have to agree with FotoPlasma. I have a lego robot running a HandyBoard with a 68HC11 core, and I program it in InteractiveC. I'm telling you, the multithreading alone makes IC a godsend.
|
|
#8
|
|||||
|
|||||
|
Ahh..but do how far can you optimize your code?
Anyone else using bitshifts? ![]() |
|
#9
|
||||||
|
||||||
|
Quote:
![]() |
|
#10
|
||||
|
||||
|
Maybe in 10 years we'll be saying:
"And we had to use Microsoft products..." |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need a FIRST Robotics control system | kershawrobotics | General Forum | 3 | 07-07-2003 09:49 |
| control system worth more than $500 | archiver | 2001 | 8 | 24-06-2002 02:00 |
| New Innovation FIRST control system and the dashboard | archiver | 2000 | 0 | 23-06-2002 22:15 |
| UNFAIR ADVANTAGE for CDI and new control system | archiver | 2000 | 6 | 23-06-2002 22:13 |
| Ok, how much is the control system worth? | archiver | 2001 | 6 | 23-06-2002 22:05 |