View Single Post
  #15   Spotlight this post!  
Unread 25-01-2005, 10:57
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: reprogram during a competition

im sorry if you misunderstood my question. i was wondering if reprograming the robot was legal durring the compitition.
Quote:
Originally Posted by Mike Betts
Programming an embedded system is absolutely nothing like programming a PC.
again, thanks -- ive been programming MCUs since i was 9 and got my first BOE-BOT kit... 7 years later i think i can tell the difference between a IBM platform PC and a PIC microprocessor
Quote:
Originally Posted by Mike Betts
First rule: Never, never, ever use floating point arithmetic.
i don’t like the thought of using chars, ints are pushing it...
Quote:
Originally Posted by Mike Betts
Second rule: Never, ever use dynamic allocation of memory.
external EEPROM is better then internal memory if you want to map data, but i generally use algorithms anyway (DMA isnt my cup of tea)
Quote:
Originally Posted by Mike Betts
Third: Avoid pointer manipulations unless you understand what it does in the machine (some dereferencing manipulations are murder).
this i most hardly agree with
Quote:
Originally Posted by Mike Betts
Look at the assembly code being generated by the compiler. You can see it in the .lst file that is generated when you build your project.
I used to write assembly for fun, thank you very much - thus my habits of not using as few IFs as possible; i much prefer boolean algebra.

Im not a "newbie" programmer, ive have been the head of our programming team since my freshman year. I have taken collage level CS in JAVA and C, as well as many, many courses on programming in just about every other modern high level language.

However, i have been doing this for a relatively short period of time -- there are people that are much better at this then i will ever be, and many of them participate in FIRST. i never pretend to know everything, so i respect everyone on the forums, and assume they know more then me, and in turn I hope they respect me

also i try very hard to keep delphi threads to the point... but stuff like
Quote:
Originally Posted by Mike Betts
At the risk of sounding condescending, I can't believe that anyone is running out of space.
is unnecessary. i am sorry that you dont believe me , i never thought that i would have to take a screnie for something like that.



external processing is what our team has planned thus far. and i will be sure to try Marks optimization process... i wasnt looking for a lecture on how to optimize code (read the thread title!) i was looking for the legal implications of reprogramming the robot during a match. Thanks anyway – jsd
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"