Go to Post The best way to win an award is to not try to win an award. - MrTechCenter [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2003, 01:19
maDGag maDGag is offline
Registered User
#0334
 
Join Date: Dec 2002
Location: Brooklyn, NY
Posts: 14
maDGag is an unknown quantity at this point
PBASIC sucks

y is parallax stil using PBASIC

primitive lower life form ?

switch to C++, Java, VB

i h8 labels
  #2   Spotlight this post!  
Unread 19-01-2003, 01:55
Tom Schindler's Avatar
Tom Schindler Tom Schindler is offline
Now an AIR Striker....
FRC #0078
 
Join Date: May 2001
Rookie Year: 1997
Location: Middletown, RI
Posts: 462
Tom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond reputeTom Schindler has a reputation beyond repute
Send a message via AIM to Tom Schindler
Quote:
i h8 labels
If you are going to complain about something, at least take the time to completely spell out your words....

Also, think about what you are saying, in order for a language to run on a chip, it has to be compiled down to machine code. Languages such as VB and java require an interpreter to run, and, without a lot of effort cannot be compiled to machine code.

Lets try to keep the posts mainly positive.

Thanks

Tom Schindler
  #3   Spotlight this post!  
Unread 19-01-2003, 05:18
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Word to Tom Schindler.

If you're so against PBASIC, I'd like to see you write all of your robot code in PIC assembly... PBASIC may be unnecessarilly uncool, but I don't think it's really supposed to be easy. If it were easy, everyone would do it.

The way I see it, PBASIC's faults are just another design challenge. We can't use certain things/materials/mechanisms on the robot, physically, for no other reason but to challenge us to do more with less, I believe. The same goes for the price limit, limits on the use/amount of pneumatics, etc.

I'm not too coherent right now, but I think I'm making myself clear.

We've all had our little frustrating times with PBASIC, but I think it's a good thing...
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #4   Spotlight this post!  
Unread 19-01-2003, 08:46
PyroPhin's Avatar
PyroPhin PyroPhin is offline
Registered User
None #0263
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Frozen Wasteland, NY
Posts: 68
PyroPhin is on a distinguished road
Get a grip...

please tell me you arent one of those ppl who thinks we should put Linux, C++, or some other overkilll programming language on the RC. Pbasic is the easiest and best solution for FIRST, you dont need a degree in comp Sci or have to be an "l33t HaX0r" to use.

and i agree completly in Fotoplasma, the language is yet another design complexity.. it may be frustrating but it's another challenge.

lol, you think Pbasic is bad.. you should see the language they use for actual industrial control.. it makes the lego Mindstorm language look like Assembly *shudder*

if you have a better solution then make your own RC

~Pyro
__________________
Squee!
-=-=-=-==-=-=-=-==-=-=-==-
Team 263, Aftershock:
Alumni, guy who comes back and fixes Krass's mistakes
  #5   Spotlight this post!  
Unread 19-01-2003, 09:35
bigqueue bigqueue is offline
Registered User
#0811 (A.R.C.)
 
Join Date: Dec 2001
Location: Nashua, NH
Posts: 231
bigqueue will become famous soon enough
Send a message via AIM to bigqueue Send a message via Yahoo to bigqueue
Re: PBASIC sucks (but why, it is just another programming language!)

Quote:
Originally posted by maDGag
y is parallax stil using PBASIC

primitive lower life form ?

switch to C++, Java, VB

i h8 labels

maDGag,

What exactly is your point.....it's just another programming language.

Are you complaining about the limits of the language....well, have you ever thought about the resources available on a tiny pic micro-controller? What, do you expect virtual memory?

Is it too "difficult" to deal with?

Well, that's the way life is right? We have to get through it with what we have available to us......Engineering solutions to problems is no different.

The limits of the STAMP only require you to be more intelligent about your approach. It makes you think....which is a great big part of what FIRST is all about anyways....right?

-Quentin
__________________
Team 4987: Megarams
  #6   Spotlight this post!  
Unread 19-01-2003, 09:44
Hendrix Hendrix is offline
Registered User
#0538 (Dragon Slayers)
 
Join Date: Nov 2002
Location: Arab, AL
Posts: 44
Hendrix is an unknown quantity at this point
go download the newest version, then you dont have to worry about labels
  #7   Spotlight this post!  
Unread 21-01-2003, 01:14
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Well, Parallax did release a java based interpretor (javelin or something) but it's not for the RC we have.

But yeah, "well, have you ever thought about the resources available on a tiny pic micro-controller? " The Robot Controller from last year has a PBASIC 133MHZ processor which is, sadly enough, faster than one of my computers which run's Linux (Redhat 8) with X. The new RC for this year might have a processor that's even faster (PBASIC 2.5 vs 2.0).
__________________
R
  #8   Spotlight this post!  
Unread 21-01-2003, 01:24
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by rwaliany

But yeah, "well, have you ever thought about the resources available on a tiny pic micro-controller? " The Robot Controller from last year has a PBASIC 133MHZ processor which is, sadly enough, faster than one of my computers which run's Linux (Redhat 8) with X. The new RC for this year might have a processor that's even faster (PBASIC 2.5 vs 2.0).
Sorry, but last year's was 50Mhz. Same this year.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #9   Spotlight this post!  
Unread 21-01-2003, 02:00
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
I could have sworn I read 133MHZ in the Control Systems Manual or something. Oh well, if it's 50mhz then it runs at the same speed as that linux computer.
__________________
R
  #10   Spotlight this post!  
Unread 21-01-2003, 02:12
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
The Basic Stamp 2sx (the BS in the RC) is officially clocked at 50MHz.

There're two other processors in the RC, (PICs, if I recall correctly) so there might be some confusion about total processing power, or whatever.
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #11   Spotlight this post!  
Unread 21-01-2003, 02:17
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
I can't seem to find the schematics. I had a sheet with all the information about the three processors in the RC and the basic packets/communication messages.
__________________
R
  #12   Spotlight this post!  
Unread 21-01-2003, 08:17
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Quote:
Originally posted by rwaliany
The Robot Controller from last year has a PBASIC 133MHZ processor which is, sadly enough, faster than one of my computers which run's Linux (Redhat 8) with X. The new RC for this year might have a processor that's even faster (PBASIC 2.5 vs 2.0).
OK, well as someone else already pointed out the Stamp does not run at 133MHz, but even if it did it wouldn't matter. You've fallen into the "megahertz myth" trap here. What that means is that you can't compare two different processors (Pentium versus BASIC Stamp) even if they run at the same speed. The reason for this is that each different type of processor does a completely different amount of work with each tick of the clock. Also remember that the BASIC Stamp (as well as all the other microcontrollers inside the OI/RC) is only an 8 bit processor.

This is exactly why it makes no sense when people compare a 2GHz Pentium to a 1GHz Macintosh and claim that the Mac is slower. It's apples and oranges.

Also the change from PBASIC 2.0 to 2.5 has nothing to do with the processor. You should be able to use new 2.5 code with an old robot controller, because the tokenizer converts it all down to the same machine instructions anyway.

BTW, it's been a while since I looked at it, but I believe the other 2 processors in the RC are PIC16c74s.
  #13   Spotlight this post!  
Unread 21-01-2003, 08:35
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Im fine w/Pbasic but i do think vit would be cool to at least give the Javelin Stamp a try.
__________________
1139 Alumni
  #14   Spotlight this post!  
Unread 21-01-2003, 08:42
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
The last I heard from FIRST (this was from Eric about a year and a half ago) was that they were looking at using some other programming language besides PBasic. However, they wanted to make sure that there would always be the option of using PBasic. I don't know what's come of it since then.

Matt
  #15   Spotlight this post!  
Unread 21-01-2003, 08:47
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
I reallt do hope they do persue something else. Its a big change going from mainly C++ Java and PHP to Pbasic.
__________________
1139 Alumni
Closed Thread


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 On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
PBasic 2.5 vs. 2.0 Anthony Kesich Programming 6 09-02-2003 22:06
RoboEmu v.1a (another PBASIC emulator) rbayer Programming 0 07-07-2002 00:45
emulationFIRST (aka PBasic emulator) Matt Leese Programming 5 30-06-2002 12:06
Another PBASIC Question Ian W. Programming 4 31-01-2002 21:36


All times are GMT -5. The time now is 04:23.

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