![]() |
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.
|
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/ |
Re: LEGO programming
Quote:
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. |
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. |
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. :) |
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.
|
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 :rolleyes: |
Re: JAVA LEGO
Quote:
You think I'm kidding, don't you, :rolleyes: ChrisH |
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 :o.. In other words, what do the other methods have that RIS doesn't?) |
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?? |
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. |
Re: JAVA LEGO
Quote:
Quote:
Quote:
I've only used Lejos once. That worked. Or, if you know C/C++, you could use BrickOS. :) |
Re: JAVA LEGO
Quote:
in text, will that be easier? |
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. |
Re: JAVA LEGO
Quote:
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. :) |
| All times are GMT -5. The time now is 15:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi