Go to Post FIRST showed me how to succeed at one of the most difficult, yet important things: Life. - Jim McGeehin [more]
Home
Go Back   Chief Delphi > Other > FIRST Lego League
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 23-06-2004, 11:47
811SmallFry 811SmallFry is offline
Registered User
#0811
 
Join Date: Feb 2004
Location: Nashua, New Hampshire
Posts: 55
811SmallFry will become famous soon enough
Send a message via AIM to 811SmallFry
LEGO programming

Does anyone know where to find a guide on how to program LEGOs? I found the Coach's guide, but that doesn't tell you how to write out the programming, just how to supervise it.
__________________
IT'S NOT JUST A ROBOT THING!
  #2   Spotlight this post!  
Unread 23-06-2004, 12:01
ZACH P. ZACH P. is offline
Insert Custom User Title
#0321 (Robolancers)
 
Join Date: Jan 2003
Location: Philly!!
Posts: 228
ZACH P. is on a distinguished road
Send a message via AIM to ZACH P.
Re: LEGO programming

Personally, I would suggest using a different prgramming language than the LEGO one. Not Quite C (NQC) is a very versital language that is a lot more powerful than the standard one. Plus, it is sort of a C derivitive, so if you already know C that great.

http://bricxcc.sourceforge.net/nqc/
__________________
pi is exactly 3

IM me at: zmstr265
  #3   Spotlight this post!  
Unread 23-06-2004, 12:03
Tuba4 Tuba4 is offline
Registered User
AKA: Tom Albert
FRC #0063 (The Red Barons)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2002
Location: Erie, Pa
Posts: 137
Tuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant future
Re: LEGO programming

Quote:
Originally Posted by 811SmallFry
Does anyone know where to find a guide on how to program LEGOs? I found the Coach's guide, but that doesn't tell you how to write out the programming, just how to supervise it.
Which version of Lego programming are you interested in? The Mindstorms version is in the RIS kits available in retail stores and the Robolab version is in the educational market version of the robotics kits.

I personally like the Robolab version. If you have a background in programming, a Robolab program looks a lot like the old flowcharts they used to teach.

Either way take a look at this website. I believe they have tutorials for both versions www.hightechkids.org

If you have any other needs, please contact me directly and I will be glad to help.
  #4   Spotlight this post!  
Unread 23-06-2004, 12:41
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: LEGO programming

Ditto. RIS sucks. NQC is good. I don't have much (any) expieriance in Robolab.

The Mindstorms SDK is worth checking out. Specifically MindScript, which is like C.

If you want, you can also try the Spirit control. You can use it in VB and VC++. PM/e-mail me for that, as it is no longer available.

LUGNET is also a very good resource.

What is the target PBrick? RCX, Scout, CyberMaster, Spybot, what?

IM me if you have problems.
  #5   Spotlight this post!  
Unread 23-06-2004, 13:23
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: LEGO programming

Um, and if you are using the default environment, what version is it?

1.0 and 1.5 aren't the greatest.
2.0 is better.
__________________

  #6   Spotlight this post!  
Unread 23-06-2004, 16:57
Tuba4 Tuba4 is offline
Registered User
AKA: Tom Albert
FRC #0063 (The Red Barons)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2002
Location: Erie, Pa
Posts: 137
Tuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant futureTuba4 has a brilliant future
Re: LEGO programming

If you are planning on coaching/mentoring a Lego League team, by the rules, you can only use the RIS or Robolab "programming languages". If you are doing it for your own education, NQC or some of the other languages are probably much better.
  #7   Spotlight this post!  
Unread 23-06-2004, 18:51
Andrew Schuetze's Avatar
Andrew Schuetze Andrew Schuetze is offline
499 Founder / Alamo FTC & FLL AP
no team
Team Role: Leadership
 
Join Date: Jan 2002
Rookie Year: 2001
Location: San Antonio, Texas
Posts: 689
Andrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond reputeAndrew Schuetze has a reputation beyond repute
Red face JAVA LEGO

Not to sound too far out of the loop Is there, will there be a JAVA based version for interfacing with the RCX brick via the IR tower? I am becoming fluent in the robolab icon based programming as I work with middle school students in class. Our programming mentor and a professor from an area univerisity worked with NQC this last fall with our HS team members.

JAVA is about to become the first language that students in Texas HS learn now instead of C++. Don't ask me why or what for, Showing my age, my first language was FORTRAN using a shop built minimainframe with three terminal stations and a single 8" floppy drive. The next year they threw that monster out and bought four new Apple 2Es...

So fill me in on JAVA and lego robots yes or no way...

Thanks,


APS
__________________
APS

Founder FRC 499
Parent alumni FRC 2745 & 4219
Co-Coach FTC 4549 & 6407
Alamo FTC Affiliate Partner
Alamo FLL Affiliate Partner
  #8   Spotlight this post!  
Unread 23-06-2004, 19:42
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,230
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
Re: JAVA LEGO

Quote:
Originally Posted by Andrew Schuetze
.... Don't ask me why or what for, Showing my age, my first language was FORTRAN using a shop built minimainframe with three terminal stations and a single 8" floppy drive. The next year they threw that monster out and bought four new Apple 2Es...

APS
You're a youngster yet. The first computer I worked on used punch cards, had no non-volatile memory, and needed it's clutch adjusted so the card reader could work. It was an IBM 402 and many years obsolete even before my school got hold of it. I learned BASIC and FORTRAN on a DEC (heard of them lately?) PDP-11 and a Xerox Sigma 7 respectively. Commercially available personal computers weren't even around for another couple of years.

You think I'm kidding, don't you,

ChrisH
__________________
Christopher H Husmann, PE

"Who is John Galt?"
  #9   Spotlight this post!  
Unread 23-06-2004, 20:26
Lisa Perez's Avatar
Lisa Perez Lisa Perez is offline
Registered User
FRC #0573 (Mech Warriors)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Bloomfield Hills, MI
Posts: 1,291
Lisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond reputeLisa Perez has a reputation beyond repute
Re: JAVA LEGO

http://www.workshop3d.com/rcx/index.htm << That has a bit of step-by-step work for RIS and RoboLab. Hope that helps at all.


(By the way.. Why does it seem like no one likes RIS? I certainly like working with it .. In other words, what do the other methods have that RIS doesn't?)
__________________
Event Coordinator - Center Line District Event
Volunteer Coordinator - Michigan State Championship

Lead Mentor - Team 573, Mech Warriors
Former Mentor - Team 830, Rat Pack and Team 3182, Athena's Warriors
Proud Alumna - Team 573, Mech Warriors and Team 1, Juggernauts
  #10   Spotlight this post!  
Unread 23-06-2004, 21:11
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: JAVA LEGO

I love RIS. well,, i just cant program in any other language that is... RIS 1.0 sucks though. that was just impossible to use. you cant stack any "ifs"
i use RIS 1.5. never tried 2.0.. there is a 2.0 right?
RIS is so easy to learn..
oh, and by the way, what does a POWERFUL language mean?
and a little off topic... anyone have a spare usb type ir tower? all i have is a 9 pin type, and i cant use that with my laptop... or anyone know where to get one cheap??
  #11   Spotlight this post!  
Unread 23-06-2004, 22:05
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: LEGO programming

You can use JAVA on the RCX if you load custom firmware. leJOS. Again, I reference you to LUGNET. And if you're using the RCX, the IR tower is all you can use.

RIS sucks like MS Bob sucks. Or a brand new install of WinXP.
Translation: No power. You may think that's good, until you use something else.
  #12   Spotlight this post!  
Unread 24-06-2004, 07:28
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: JAVA LEGO

Quote:
Originally Posted by greencactus3
I love RIS. well,, i just cant program in any other language that is... RIS 1.0 sucks though. that was just impossible to use. you cant stack any "ifs"
i use RIS 1.5. never tried 2.0.. there is a 2.0 right?
2.0 can basically do anything that NQC can do, only graphically. I'd recommend it if you don't want to go text.

Quote:
Originally Posted by greencactus3
oh, and by the way, what does a POWERFUL language mean?
Powerful as in, you can do what you want.

Quote:
Originally Posted by greencactus3
and a little off topic... anyone have a spare usb type ir tower? all i have is a 9 pin type, and i cant use that with my laptop... or anyone know where to get one cheap??
Look on Ebay. Or the Lego Shop-At-Home site.


I've only used Lejos once. That worked.

Or, if you know C/C++, you could use BrickOS.
__________________

  #13   Spotlight this post!  
Unread 24-06-2004, 09:34
greencactus3 greencactus3 is offline
occra 23.
AKA: ryo
None #1481
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2006
Location: North Farmington, MI
Posts: 1,523
greencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to allgreencactus3 is a name known to all
Send a message via AIM to greencactus3 Send a message via MSN to greencactus3
Re: JAVA LEGO

Quote:
Originally Posted by Texan
Powerful as in, you can do what you want.
ive never had an instance where RIS1.5 cant do what i want it to do..except when it comes out as an error the program is too big for the RCX to download.. does using a text language make it any lighter? well, RIS1.5 you can only split the ifs in twos. as in only true/false.. so if i wanted suppose a simple 2 motor skid steer robot to be fully functional in every direction in 2 levels of speed, id need a stack of 19 T/F bricks. which gets very boring and confusing while creating the program.
in text, will that be easier?
  #14   Spotlight this post!  
Unread 24-06-2004, 10:09
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: LEGO programming

Programming with the Spirit adds some odd functionality. Spedifically, compiling loops.

If you have 3 identical tasks that work on every motor, your can use a For loop and type it up once.
  #15   Spotlight this post!  
Unread 24-06-2004, 13:11
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: JAVA LEGO

Quote:
Originally Posted by greencactus3
ive never had an instance where RIS1.5 cant do what i want it to do..except when it comes out as an error the program is too big for the RCX to download.. does using a text language make it any lighter? well, RIS1.5 you can only split the ifs in twos. as in only true/false.. so if i wanted suppose a simple 2 motor skid steer robot to be fully functional in every direction in 2 levels of speed, id need a stack of 19 T/F bricks. which gets very boring and confusing while creating the program.
in text, will that be easier?
If you use RIS 2.0 software, then moving to NQC doesn't really do much for you, unless you like programming...

The main limiting factor on the programming of the RCX is the firmware on it. To really be able to get the full power of the RCX, you need to replace that firmware with something else, for instance BrickOS or Lejos.

With either of those, you get all the control stuctures of their respective languages. Also, you get the full memory to work with, not just a "slot". So, your programs can be the full 32k.
__________________

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
Robot Programming Education phrontist Programming 11 03-05-2004 07:32
**IMPORTANT FIRST EMAIL**/Statement about LEGO MINDSTORMS and FIRST LEGO League miketwalker FIRST E-Mail Blast Archive 1 15-01-2004 16:47
The end of mindstorms - no smiley face sad enough Eric Reed FIRST Lego League 20 15-01-2004 16:00
Team 294's Lego League Teams Redhead Jokes FIRST Lego League 0 24-11-2003 17:21
LEGO Biped Project rlowerr_1 Robot Showcase 23 07-09-2003 14:21


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

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