Go to Post You know, one year we need to stake out the AndyMark building for several weeks before Kickoff so we can see what the game pieces will be. Hidden webcam? :rolleyes: - DonRotolo [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-06-2002, 03:33
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
Re: learning to like PBASIC + some suggestions for improvement

Posted by Patrick Butler at 04/14/2001 9:47 AM EST


Student on team #122, NASA Knights, from NHGS and NASA Langley Research Center.


In Reply to: learning to like PBASIC + some suggestions for improvement
Posted by Joe Johnson on 04/12/2001 10:01 PM EST:



: I used to long for a more powerful language, but at
: this point so many teams are totally overwhelmed by the
: current system, I a very reluctant to give the newbies
: anything more complex to deal with.

I think the biggest problem to designing almost any programs in these chips is not so much the power of the chip but more importantly the language. There is no real sense of if-blocks in PBASIC. It makes it difficult to program using the backwards ifs with gotos. I am working on a small program that will convert if-elsif-else blocks to PBASIC backward-ifs, which could help in this. A real sense of functions would be helpful, too. We devised a scheme for emulating these by using the scratchpad as a stack, but it was never used becuase each time the function was called it had to use a different set of constants, and there was not enough space in RAM to store those constants to the RAM. Though, unless you are a hardcore coder this is not common knowledge.

Basically, the language needs 3 things, before we should jump for a new processor
1) If-elsif blocks, this could be implemented without making any real changes, run it through a preprocessor
2) Real functions, we should be able to pass arguments somehow
3) More variables, this would be the hardest to impleme nt, requiring a new processor, but not significantly new, i.e. it could function w/ the rest of the control system w/o any changes or so one would hope. I think 64 variables would be sufficient. With this #2 could be faked .

With these three things, I think that designing the control systems would be easier and more powerful control systems could result. Of course we all know Dean Kamen would probably never allow this because it would make it too easy. After all this is about excercising our minds. And I enjoy a challenge, so I am almost biased to not wanting it myself.

Patrik
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A report on off season competitions Ken Leung Off-Season Events 2 17-10-2003 13:30
QotW [04-20-03]: Post-season competitions. Madison Rumor Mill 16 26-04-2003 01:27
An idea for the 2000 games..(is six weeks enough?) archiver 1999 18 23-06-2002 23:17
Another idea looking for comments archiver 1999 16 23-06-2002 22:01
great storyboard idea SharkBite 3D Animation and Competition 0 15-01-2002 20:39


All times are GMT -5. The time now is 10:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi