Whats the best typed language to learn?
-
- Posts: 6
- Joined: 08 Oct 2010, 19:06
Whats the best typed language to learn?
I was just wondering whats the most powerful and still somewhat comprehensible typed language for nxt.
Re: Whats the best typed language to learn?
It depends on many factors:thekodyking3000 wrote:I was just wondering whats the most powerful and still somewhat comprehensible typed language for nxt.
- What is your previous experience with programming any language?
- What is your budget?
- What operating system do you have on your computer? Linux, Windows, OSX, etc
- What are your goals?
- NXC is a great free programming environment, it runs on a variety of OSes. It uses the standard Lego firmware or an enhanced one for additional functionality
- ROBOTC is a commercial programming environment featuring a debugger and requires its own firmware to be installed on the NXT. It only runs on Windows
- Lejos is a Java programming environment. It's Open Source and free. It also requires you to install a custom firmware on the NXT.
Regards,
Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 6
- Joined: 08 Oct 2010, 19:06
Re: Whats the best typed language to learn?
My dad (loopymech) set up NXC yesterday, but which language is the best for AI?
P.S. this would be the first typed language I've ever really learned.
P.S. this would be the first typed language I've ever really learned.
Re: Whats the best typed language to learn?
AI is not dependent on any particular programming language, use whatever your dad can help you most with
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Whats the best typed language to learn?
I almost only use NXC, and it is great.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 13
- Joined: 10 Oct 2010, 18:49
- Location: Ohio
- Contact:
Re: Whats the best typed language to learn?
If you choose ROBOTC or NXC I would recommend the book Absolute Beginners Guide to C.
I reject your reality and substitute my own. - Adam Savage
Re: Whats the best typed language to learn?
I recall seeing a nice table or two showing the available NXT
Programming Software, and as luck would have it, it is still here:
http://www.teamhassenplug.org/NXT/NXTSoftware.html (thanks to Steve & Co.)
-Loopy
p.s. I was trying to find out if some third-party sensors I have
(from hitechnic and mindsensors) were well supported by NXC or some of
the other languages. I found NXC libs for most of them on the sites,
but I am not clear on support for the HT Compass Sensor (NMC1034).
The site (http://www.hitechnic.com/cgi-bin/commer ... ey=NMC1034) shows...
Other Programming Environments
...
...
NBC
Next Byte Code (NBC) is a simple programming language that can access
all compass features. For more information go to
http://bricxcc.sourceforge.net/nbc/.
...but there is no mention of NXC. Does someone know if the HT
Compass is supported by NXC and where to find libs?
Programming Software, and as luck would have it, it is still here:
http://www.teamhassenplug.org/NXT/NXTSoftware.html (thanks to Steve & Co.)
-Loopy
p.s. I was trying to find out if some third-party sensors I have
(from hitechnic and mindsensors) were well supported by NXC or some of
the other languages. I found NXC libs for most of them on the sites,
but I am not clear on support for the HT Compass Sensor (NMC1034).
The site (http://www.hitechnic.com/cgi-bin/commer ... ey=NMC1034) shows...
Other Programming Environments
...
...
NBC
Next Byte Code (NBC) is a simple programming language that can access
all compass features. For more information go to
http://bricxcc.sourceforge.net/nbc/.
...but there is no mention of NXC. Does someone know if the HT
Compass is supported by NXC and where to find libs?
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Whats the best typed language to learn?
I know for a fact that it is supported by NXC. You don't need a lib file to use it, you can just upgrade to the latest BCC, and it has full support. You can use other I2C stuff with NXC as well, and you don't need lib files to do so. You can completely build the code yourself to do what you need.loopymech wrote:...Does someone know if the HT
Compass is supported by NXC and where to find libs?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: Whats the best typed language to learn?
The language comparison table is a little out of date these days so use it with care (if anyone is brave enough it would be good to have an updated version)...
Re: Whats the best typed language to learn?
NXC is excellent for beginners and advanced programmers - and it's free..
RobotC is similar, but it costs money.
LeJos / Java and all the other languages/platforms I would recommend only if you're already widly experienced in programming.
BTW, I wrote 2 of my AI programs in NXC (a* and a neural net).
HTH!
RobotC is similar, but it costs money.
LeJos / Java and all the other languages/platforms I would recommend only if you're already widly experienced in programming.
BTW, I wrote 2 of my AI programs in NXC (a* and a neural net).
HTH!
Who is online
Users browsing this forum: No registered users and 3 guests