Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   No!!!!!!!!!! (http://www.chiefdelphi.com/forums/showthread.php?t=15724)

PyroPhin 04-01-2003 20:23

the reason you cant find any data.. is that the version of Pbasic that the RC uses... is different than actual Pbasic for some reason. alot of the commands are slighty altered. expecially the Serin commands.. if you try to do that with the standard BS2.. it repots that the stamp isnt found.

the code is a little different.. but who cares? worry more that the new game is a Robot Tupperware party ^.^

~Pyro

Fridge 04-01-2003 20:33

Thanks for sending that email Rob. I sure hope this can be resolved soon. The CD in the KOP only contains pdf's of the FIRST manuals as far as I can tell.

rbayer 04-01-2003 21:10

Quote:

Originally posted by PyroPhin
the reason you cant find any data.. is that the version of Pbasic that the RC uses... is different than actual Pbasic for some reason. alot of the commands are slighty altered. expecially the Serin commands.. if you try to do that with the standard BS2.. it repots that the stamp isnt found.

the code is a little different.. but who cares? worry more that the new game is a Robot Tupperware party ^.^

~Pyro

Umm... sorry, but that's just plain not true. The PBASIC that the RC uses is Parallax PBASIC. 100% pure, unmolested goodness. Yes, the method for getting data in and out of the program is not standard, but it still uses a standard command. Serin and Serout can be used on any of the Stamp 2SX's I/O pins, and InnovationFIRST just happens to have one of these connected to the input/output uP.

PyroPhin 04-01-2003 23:05

the main difference i was referring to was the Serin/Serout stuffs.. but however, there are subtle differences in the coding.. not enough to notice.. but the stuff in the initiation routine is a little different.. I dont know if yhe casual programmer would pick up on it.. but when you dig deep.. there are teeny tiny things that will not run on a standard BS2.

Tootoloo
~Pyro

Alexander McGee 04-01-2003 23:12

uhh>?
 
isnt there a way to reverse it? like, go backward? or, redo the basic code? or is that out of the question...?

Raven_Writer 04-01-2003 23:24

This is not a good thing, but if you've done programming in any other languages like Visual Basic, C/++, or like someone earlier said QBASIC, then it isn't really difficult. And chances are they'll fix it up fast (hopefully anyways)

[EDIT]The code tokenizes fine for me (I'm using PBASIC 1.33 with the latest code downloaded)[/EDIT]

Ryan Meador 05-01-2003 00:42

I've just begun digging into this year's programming stuff, but one thing jumped out at me when I saw some of the posts in this thread (the more recent ones, in particular). I believe some of the subtle differences that were noted are the result of the BSIISX. I've had plenty of programs that wouldn't work on a standard BSII that do work on an SX, but I can't remember off the top of my head what the differences are.

rbayer 05-01-2003 00:48

I'm trying to figure out how to say this nicely and avoid a flame war in this thread: EVERY command will work just fine regardless of whether the Stamp IIsx is being used as part of our control system or by itself. Many of the commands wouldn't serve a purpose in other situations, but they are legal none-the-less. As for the BS2 vs BS2sx, the only commands supported by the sx not supported by the old stamp are RUN, PUT, and GET. EVERYTHING else will work. Read the Stamp manual if you don't believe me. It's only 353 pages.

cybermind 05-01-2003 11:24

Kinda shifting the subject on what the BS2 or BS2SX can or can't do, we still can't tokenize the default code innovation first posted. That means two things: either there is a change from the previous years that hasn't been announced yet, (it could even be that they knew ahead of time that parallax would be releasing a new version, and since it is apparently better version, they went with it, but for some reason parallax's new version got delayed), or maybe it means that the default code isn't "plug and play", anymore. (Any one of us who have done programming in another language can easily convert the code, or download the code Noah posted in his "PBASIC Conversion" thread).

PS..
I know rbayer has e-mailed parallax, Has anyone e-mailed innovation, or posted in the FIRST forum

Morgan Jones 05-01-2003 11:41

I just shot of an e-mail to innovation first... We'll se what they say. I'm half expecting them to say its not their problem and we should talk to FIRST. In any case, I doubt I will receive any response before tomorrow.

JasonS 05-01-2003 11:58

Well I poked around the basic stamps yahoo group for a while and i found this post:

No, in the current editor all statements must exist on the same line. We are
in development of a new editor and it does allow lines to be broken. The new
editor should be ready for release in January.

-- Jon Williams
-- Parallax

Sounds to me that he is referring to the new editor for Pbasic 2.5 and hopefully it will be here any day now. I guess the guys at innovation first had a heads up on this and took advantage of it. Personally i think it is awesome, the new version allows do-while, if-then-else, and a lot of other neat stuff! So hopefully they will get the editor out soon! * crosses fingers!*


Jason

Caleb Fulton 05-01-2003 11:59

Hmmmm
 
I know very little about this programming language, but I'll try to clean up/fix the default code so when i go to RUN, it will give me NO errors. I've done some stuff with c++ (visual and console), turbo pascal, and V.B. before, so I might have some luck...

Chris_C 05-01-2003 12:14

I had the opportunity to speak with two of the guys from Innovation FIRST the day before kickoff while I was working at the rookie workshop. They told me that the new commands and syntaxes were NOT supported in the current version of the PBASIC software, but that parrallax had promised them a release of a new version on either the 3rd or the 4th. I'm guessing that that release just hasn't happened yet. At any rate, based on the discussions I had with them, the new code should NOT be tokenizing correctly, because the version of the Parrallax PBASIC software that supports it is not out yet.

Raven_Writer 05-01-2003 12:45

Quote:

Originally posted by Chris_C
I had the opportunity to speak with two of the guys from Innovation FIRST the day before kickoff while I was working at the rookie workshop. They told me that the new commands and syntaxes were NOT supported in the current version of the PBASIC software, but that parrallax had promised them a release of a new version on either the 3rd or the 4th. I'm guessing that that release just hasn't happened yet. At any rate, based on the discussions I had with them, the new code should NOT be tokenizing correctly, because the version of the Parrallax PBASIC software that supports it is not out yet.
The tokenizing works on my system (I'm not downloading it to a robot, but it tokenizes fine). I'm using the current PBASIC 1.33 Stamp Editor.

Caleb Fulton 05-01-2003 13:11

Raven_Writer
 
Are you using the one- or two-joystick code for the full bot or the code for the edu bot?

I rewrote the culprit parts of the default code and it tolkenizes correctly. If anyone wants it, contact me on AIM (SN=aXvXiA).


All times are GMT -5. The time now is 20:38.

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