Log in

View Full Version : Program Space


Steven Carmain
27-02-2003, 20:50
I was just curious, how full did you guys get in the program. We inplemented one person's code into the main program, and hit about 110%. There were times where we had 1 byte left in the program!:ahh:

Steven

Joe Ross
27-02-2003, 20:56
We are using 3 program slots, If you total all of them up, it is 101%. However, there is some dupicated code, so if they were all in one, it would probably be around 90%

Skabana159
27-02-2003, 20:56
Ours was the same way! Once, we had to take out our debug statement just to tokenize! I think we got it down to about ninety percent and 25 bytes, 1 nib, 2 bits. Still, a little tight...

Steven Carmain
27-02-2003, 20:58
I meant in the main program. I'm sure we are over 200% in all.

Jay Lundy
27-02-2003, 22:40
We will be using either 2 or 3 slots, I'm not sure yet. During the 6 weeks I was just commenting out other autonomous programs and I never bothered to split the programs up. I'll be doing that soon though.

Steven Carmain
28-02-2003, 07:20
Originally posted by Skabana159
I think we got it down to about ninety percent and 25 bytes, 1 nib, 2 bits.

One time we had one byte of program space left, and no extra variables

Jonbca
28-02-2003, 09:12
For our main driving code we hit 100%, droped down to 85% because of removal of a feature, then back up to 95% because of re-addition of that feature and slight optomizing

rwaliany
28-02-2003, 20:56
We reached 300%, we are using 4-5 slots, hehehe. But we also have support for 8 autonomous programs.

Jeff Waegelin
28-02-2003, 20:58
We had 2 bits left in our main program.

yangotang
28-02-2003, 22:01
12 bytes, 1 nib, 8 bits = very simple bot.

EricS-Team180
03-03-2003, 12:18
We've got 2bits of variable space left.

We're using a separate Init and Main program for manual driving and can select up to 4 autonomous programs into run slots 2-5.

...'course, getting good working auton code has been "interesting"... :ahh:

We were using Tim Tedrow's generic PID code, but maxed out on program space in the main and autonomous banks and just about filled up the scratch pad ram. At one point we were down to 10bytes of code space...couldnt even put in a debug!

So we're in the process of "hardwiring" just the parts of the PID control code we're actually going to use on our effectors. That buys back about 15% in our manual and autonomous banks.

That first Thursday at Regionals'll be fun - as always!