.Net On Lego Mindstorm 132
troop23 writes "A blog posting by Benjamin J. J. Voigt says this "The University of Potsdam has a project to develop a .NET VM for the Lego Mindstorms system. Lego Mindstorms just got a higher priority on my shopping list!" While the thought of using .Net to program Lego Mindstorms may not be palatable, having a mainstream dev environment sure is." Perhaps Mono would work just as well.
Java VM (Score:5, Informative)
FIRST Lego League (Score:3, Informative)
If you want C/C++ the best thing to use is (Score:4, Informative)
BrickOS has its own firmware and supports threading and all the basic C/C++ functionality.
See:
http://brickos.sourceforge.net/
Re:Why? (Score:4, Informative)
C/C++ (which the parent article asked about - is really just a language (like C#) and not a runtime). The biggest distinction is that the runtime will address issues like loading code dynamically. Had they simply ported C/C++ there would have been a whole lot more architecture-specific battles to fight (a.out vs elf, etc).
Re:Why? (Score:4, Informative)
Re:Is Lego back on firm financial ground? (Score:5, Informative)
NQC? (Score:5, Informative)
Why? (Score:1, Informative)
Developing for the Mindstorms brick (Score:5, Informative)
NQC (Not Quite C) is compiled to Lego bytecodes. BrickOS programs are compiled to H8 with gcc. There are also Forth and Java environments.
Given the range of options available (for *nixen, Windows, Mac...) I'd have to say in this case "mainstream" must mean "Microsoft".
Re:Is Lego back on firm financial ground? (Score:4, Informative)
I only just got out of there yesterday without buying a giant orange robot looking just like EVA-00, with instructions for four or five alternates. They've got a pick-and-mix section at the back where you can take a big tub - like the ones you get drinks in at the cinema - and fill it with your choice of pieces. Classic models - like the pirate ships your parents would never buy but you can now afford yourself! muhahaha!
Um, sorry, got a bit carried away... but I think Lego are getting the idea lately, and realise what their market really is.
Re:IDL Libraries? (Score:5, Informative)
Great now you'll have to include 60 MB of IDL code to run any program. Where do these ideas come from? Who would think to port a bloated server app development API to a portable device. .NET is loved by managers who think they can dumb down their server side code so any H1-B can do it, that's about it. Nobody even uses .NET for desktop apps, so where'd the idiotic idea that it would take off in a portable environment come from. The main reason I refuse to use .NET for desktop apps is the 60 MB IDL needs to be included, better to VB 6 or anything else for that matter. M
I would imagine most of that 60 MB is the .NET framework library, only a fraction of which you'd really need to port to portable devices. Stuff like ASP.NET, Winforms, the entire System.Drawing namespace probably wouldn't be needed. At the very core you'd only need an execution engine, which is basically an IL interpretor, and perhaps a partial implementation of the System namespace. Yes, there's bloat, but certainly nothing like 60 MB, and for something non-critical like Lego Mindstorms, the bloat would be acceptable to me.
Re:Is Lego back on firm financial ground? (Score:5, Informative)
See here (January 2004) [lego.com] and here (March 2004) [lego.com]
There was quite a kafuffle shortly after Christmas of last year when LEGO announced their shift in direction. Quite a large number of people were very concerned that LEGO would be dropping Mindstorms. Flurries of posts on LEGO discussion lists and even letters directly to LEGO were filled with remarks much to the effect of "What?!?!? Why is LEGO doing this?" LEGO issued the January press release above to abate those concerns. Also mentioned above is a March release in which they restate the Mindstorms is one of their core products and they will *NOT* be dropping it.
First Lego League [firstlegoleague.org] is also very dependant on Mindstorms, and I don't think they're going away anytime soon.
Use Ruby (Score:3, Informative)
http://rubyforge.org/projects/lego-mindstorms/
Re:Why? (Score:5, Informative)
Reality sunk in, and the embedded systems market just didn't like the idea. Training people in the new language was going to be expensive (compared to the status quo), and most were skeptical about the utility of a VM. The concern being that you typically need or want access to specific available resources that an abstract interface can't provide.
Seems marketing shifted gears and started pushing applets and the web. Went okay for them in the end, I guess.
Re:IDL Libraries? (Score:3, Informative)
As for using
LeJOS? (Score:2, Informative)
Re:IDL Libraries? (Score:3, Informative)
FYI, the