Go to Post Looks great! Love that Indiana engineering!! - Mr.D [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 04-01-2003, 00:06
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
No!!!!!!!!!!

InnovationFIRST just posted the new RC default code and I'm not happy. First, it seems to use PBASIC 2.5, which doesn't exist according to google. Ditto on the use of the C-style (similar to switch) select commands.

Not only that, but it won't even tokenize correctly under the most recent STAMP software (1.33).

I'm hoping it's some kind of sick joke to make people like me hyperventilate, but it looks genuine. Depending on what happens in the next few days, this may mean I have to completely gut RoboEmu, not to mention un-teach all my mentees old PBASIC.

http://www.innovationfirst.com/FIRST...umentation.htm
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #2   Spotlight this post!  
Unread 04-01-2003, 00:14
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,519
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
That is horrible. Perhaps the game can be easily won using the default code?

What does the Programming Reference Guide say?

And what about autonomous mode? Does the code indicate we will need to use it?

Sorry but I'm not a programmer but I'd like to know about these things nonetheless.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #3   Spotlight this post!  
Unread 04-01-2003, 00:32
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
OK, between the periods of being passed out from the aforementioned hyperventilation (), I've done a little research. The programming guide says to refer to BASIC stamp manual 2.0c. I just looked through the entire 353 page thing and there's not a single occurance of the word else, or any reference to select...case constructs. The latter appears very similar to the QBASIC syntax, but that's another matter...

Also the $PBASIC directive doesn't seem to exist and the documentation completely ignores it, even though they do explain the $STAMP directive.

Given that the new RC code is dated 12-18-02, it seems really odd that they didn't post this earlier.

Anyway, as I said before, the default code doesn't even work anymore.

After reading the rest of the documentation, I'm a little calmer, as it says EduBot code and Full-size RC code are completely interchangeable, meaning RoboEmu should still work, at least with code written under the "old" style.

Finally, there references to autonomous mode appear to be copied-and-pasted straight fromt the EduCode, so it doesn't really give anything new away. It is definately there though.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #4   Spotlight this post!  
Unread 04-01-2003, 00:38
Alphawolf829's Avatar
Alphawolf829 Alphawolf829 is offline
Registered User
#0506 (StART)
 
Join Date: Feb 2002
Location: New York
Posts: 14
Alphawolf829 is an unknown quantity at this point
Send a message via AIM to Alphawolf829
im confused.... can we still use the old program style? or only that program and the edurobotic program?
__________________
"Imagination is more important than knowledge, knowledge is limited, imagination encircles the world." - Albert Einstien
  #5   Spotlight this post!  
Unread 04-01-2003, 00:41
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 Alphawolf829
im confused.... can we still use the old program style? or only that program and the edurobotic program?
The edurobotic program is the old style, so my guess would be yes. (rhyme unintentional. I swear.)
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #6   Spotlight this post!  
Unread 04-01-2003, 00:42
Alphawolf829's Avatar
Alphawolf829 Alphawolf829 is offline
Registered User
#0506 (StART)
 
Join Date: Feb 2002
Location: New York
Posts: 14
Alphawolf829 is an unknown quantity at this point
Send a message via AIM to Alphawolf829
lol I guess the only way to be really sure is to test...
__________________
"Imagination is more important than knowledge, knowledge is limited, imagination encircles the world." - Albert Einstien
  #7   Spotlight this post!  
Unread 04-01-2003, 00:44
josh_johnson josh_johnson is offline
Registered User
#1020 (Indiana Prankmonkeys)
 
Join Date: Nov 2002
Location: Muncie, IN
Posts: 58
josh_johnson is an unknown quantity at this point
Send a message via AIM to josh_johnson Send a message via Yahoo to josh_johnson
I looked at the code and i think that this will be easier to program with than the previous version. It also suggests automation which will be fun as well.

But now I am going to have to print the new programming manual.
  #8   Spotlight this post!  
Unread 04-01-2003, 00:44
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,519
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Quote:
Originally posted by Alphawolf829
lol I guess the only way to be really sure is to test...
Or wait a few more hours.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #9   Spotlight this post!  
Unread 04-01-2003, 00:53
Alphawolf829's Avatar
Alphawolf829 Alphawolf829 is offline
Registered User
#0506 (StART)
 
Join Date: Feb 2002
Location: New York
Posts: 14
Alphawolf829 is an unknown quantity at this point
Send a message via AIM to Alphawolf829
actually just spoke to a friend says he straightened it out have to wait an see though...
__________________
"Imagination is more important than knowledge, knowledge is limited, imagination encircles the world." - Albert Einstien
  #10   Spotlight this post!  
Unread 04-01-2003, 17:00
Morgan Jones Morgan Jones is offline
Registered User
no team
 
Join Date: Jan 2002
Location: Fairport, NY
Posts: 29
Morgan Jones is an unknown quantity at this point
I should hope the appropriate software comes in the KOP. This new syntax could be very useful if we are given something that will tokenize it...
__________________
Morgan Jones
Team 578: Fairport High School/Gleason Works
  #11   Spotlight this post!  
Unread 04-01-2003, 17:47
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
How to Program the Robot Controllers

The extra commands are the last 2 pages of the manual, although some more explanation would be nice...
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.

Last edited by Jnadke : 04-01-2003 at 17:53.
  #12   Spotlight this post!  
Unread 04-01-2003, 19:41
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 Jnadke
How to Program the Robot Controllers

The extra commands are the last 2 pages of the manual, although some more explanation would be nice...
Yes, they are there. I know that. The problem is that it says to refer to the BASIC Stamp manual for more information, but the manual doesn't have anyting on DO...LOOP,SELECT, etc. I even have the same version they are referencing (2.0c).

Unless there's something brand spanking new inside the KOP, I'm not sure how any of this is going to work.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #13   Spotlight this post!  
Unread 04-01-2003, 19:54
Noah's Avatar
Noah Noah is offline
Code Monkey
#0861 (The Gondobots)
Team Role: Programmer
 
Join Date: Apr 2002
Location: Venice, California
Posts: 139
Noah has a spectacular aura aboutNoah has a spectacular aura about
Send a message via AIM to Noah
Also, if you look at lines 468 - 479
Quote:

if rc_sw5 = 1 then p3_y = p3_y MAX 127
if rc_sw6 = 1 then p3_y = p3_y MIN 127
if rc_sw7 = 1 then p4_y = p4_y MAX 127
if rc_sw8 = 1 then p4_y = p4_y MIN 127
if rc_sw9 = 1 then p1_wheel = p1_wheel MAX 127
if rc_sw10 = 1 then p1_wheel = p1_wheel MIN 127
if rc_sw11 = 1 then p2_wheel = p2_wheel MAX 127
if rc_sw12 = 1 then p2_wheel = p2_wheel MIN 127
if rc_sw13 = 1 then p3_wheel = p3_wheel MAX 127
if rc_sw14 = 1 then p3_wheel = p3_wheel MIN 127
if rc_sw15 = 1 then p4_wheel = p4_wheel MAX 127
if rc_sw16 = 1 then p4_wheel = p4_wheel MIN 127
According to my manual (version 2.0c) THis is also illegal. The only thing allowed after a then is an address that program control will be shifted to. Personally, I prefer this way, but last time I tried it she didn't work...
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"

"We can fix it in the software!"
"It's a BROKEN GEAR!"
  #14   Spotlight this post!  
Unread 04-01-2003, 20:10
cybermind cybermind is offline
Registered User
#1046 (PRISM Robotics)
 
Join Date: Jan 2003
Location: Palm Desert, CA
Posts: 16
cybermind is an unknown quantity at this point
Send a message via AIM to cybermind
Ok, I am trying to calm down now that I realize that I am not the only one who is stunned by the default program!

The IF Statements are all wrong, the PBASIC 2.5 directive is not supported on the latest PBASIC Stamp Editor, Where in the manual is the SELECT command?, or the DO...LOOP. I am not going to argue that I rather program in this "new" language, it seems simpler, but umm... if it can't tokenize then isn't it kinda useless?

What do they expect the programmers to do? On top of autonomous mode are they going to have us make our own tokenizer too?

What is going on? I thought I would have this programming thing under control!
  #15   Spotlight this post!  
Unread 04-01-2003, 20:14
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
I just sent off an email straight to Parallax asking them if PBASIC 2.5 even exists. I'll let you guys know if they get back to me.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
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


All times are GMT -5. The time now is 06:30.

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