Go to Post My opinion doesn't matter at inspection. - DonRotolo [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 28-04-2003, 18:55
IMDWalrus's Avatar
IMDWalrus IMDWalrus is offline
This is a line...
AKA: Paul
FRC #0818 (Genesis '02)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Michigan
Posts: 617
IMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to behold
Send a message via AIM to IMDWalrus
Need to learn PBASIC...Where Should I Go?

My team wants me to program next year. I know some BASIC, but I'd like to become more familiar with PBASIC so I'd actually know what I'm doing if I get assigned there. Are there any websites or books (preferrably websites) that would be helpful for a PBASIC novice?
  #2   Spotlight this post!  
Unread 28-04-2003, 18:58
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
Looking around through the programming whitepapers and forum, here on CD, should be of help.

Innovation First's website has the default code for the competition.

Parallax has technical information about PBASIC (not necessarilly the best resource for robotics related material, but definetly good reference material).
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #3   Spotlight this post!  
Unread 28-04-2003, 19:06
Unsung FIRST Hero
miketwalker miketwalker is offline
Robot Lifeguard
FRC #1902 (Exploding Bacon)
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Orlando, FL
Posts: 878
miketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond reputemiketwalker has a reputation beyond repute
Send a message via AIM to miketwalker
Well, once you get into it... we have an autonomous example on our site with a walk-through (www.combbat.com) and I'm going to be adding beginner programming tutorials over the summer, so watch out for that. You might also want to look around for any lectures that may be going on at remote kickoffs in January, that might help you out too. Personally, I learned a lot from the Parallax user guide, it is a great thing for troubleshooting (but is huge) if I find anything better to help you learn, I will post... but you might also want to check the white papers.
__________________
Chopsaw? Chopsaw.
  #4   Spotlight this post!  
Unread 28-04-2003, 19:18
IMDWalrus's Avatar
IMDWalrus IMDWalrus is offline
This is a line...
AKA: Paul
FRC #0818 (Genesis '02)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Michigan
Posts: 617
IMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to beholdIMDWalrus is a splendid one to behold
Send a message via AIM to IMDWalrus
Wow...that was fast. Thanks for the advice.

If anyone else has any suggestions, I'll take those into account too.
  #5   Spotlight this post!  
Unread 28-04-2003, 19:27
Hinkel Y.'s Avatar
Hinkel Y. Hinkel Y. is offline
Registered User
FRC #0188 (Woburn Robotics)
Team Role: College Student
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Toronto, Ontario, Canada
Posts: 100
Hinkel Y. has a spectacular aura aboutHinkel Y. has a spectacular aura aboutHinkel Y. has a spectacular aura about
Send a message via MSN to Hinkel Y.
In toronto, there's a VBasic programming course at a privite school in downtown... It is held at Branksome Halls* (The private all girls school)

*SP?
  #6   Spotlight this post!  
Unread 29-04-2003, 16:43
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Read the Manual (V2.0)

I can tell you that one of the best sources of information I have had is the V2.0 manual.

The intro is very useful -- much improved from prior versions (V1.9 for example).

Also, know that everything to do with direct input and output via Stamp2 pins is more or less useless. You cannot use Pulsin or Freqout for example.

The basic structure of how you make a pin an input or an output is VERY useful (especially if you understand what the commands are doing to the variables INS, OUTS, and DIRS), but all but a handful of the commands that read from or write to pins are out of bounds because you don't have direct access to the pins of the Stamp2 from the RC controller.

Anyway, I recommend reading the book, especially the parts on how expressions are evaluated, how lines are parsed, and how math is performed internally.

Good luck.

Joe J.
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
Successful Due to Affluence? indieFan Chit-Chat 4 31-05-2003 14:48
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
PBasic Question Melissa H. Programming 28 17-11-2002 18:53
Subtotaling in PBASIC? Ian W. Programming 17 02-02-2002 20:22


All times are GMT -5. The time now is 15:42.

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