Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Doug’s Pick of the Week

December 20th, 2006

Mindstorm Robots

How many of us are buying Lego MindStorms kits “for the kids to play with” this Christmas? If so, bring home your laptop for the holidays, fire-up Simulink (and a lot of code gen products) and control your Lego creations with this blockset. Your kids will be delighted, and you can even annoy the family cat with a food bowl guarding robot!

MindStorms

3 Responses to “Mindstorm Robots”

  1. Aravind Seshadri replied on :

    Doug,

    As soon as I saw it I was really happy. I was hoping that finally I can buy NXT. I haven’t purchased it yet because I am using Linux and haven’t found any program which can substiute the existing program/interface provided by Lego.

    But apparently this requires a lot of other toolboxes which I cannot affort being a student (I guess RTW/RTW coder cannot be purchased by students.). I am also not sure if this can be implemented on the NXT right now. I guess the author mentions something about the ANSI C/C++ support missing for NXT.

    Am I wrong?

  2. Takashi Chikamasa replied on :

    Hi Aravind and Doug,

    >I am also not sure if this can be implemented on the NXT >right now. I guess the author mentions something about the >ANSI C/C++ support missing for NXT.
    Your suggetion is quite right. Currently, RTW-EC generated code can’t be embedded into the real NXT since NXT lacks ansi-C/C++ development environment. However, LEGO recently released NXT firmware source code as open source, thus please wait for somebody develops GCC based ansi-C/C++
    development environment for the NXT.

    I am really sorry that this demo requires a lot of tools,
    if you had them, you could simulate your robots on
    your designed bmp track in 3D. Desinging bmp track is pretty
    easy even for the kids!

    Takashi

  3. Aravind Seshadri replied on :

    Takashi,

    Thank you for the clarification. I just found out that there is something called as NBC/NXC
    http://bricxcc.sourceforge.net/nbc/

    But it lacks the user interface. Still looking for something which has a good user interface.

    I hope your blocksets are useful for other who have the required tool boxes.

    -aravind

Leave a Reply


Doug Hull is an Application Engineer at The MathWorks. A MATLAB user since 1994, he gets paid to live, eat, and breathe MATLAB! This blog is dedicated to promoting the File Exchange by highlighting files and original video content.



  • Tim Davis: Oh, I’m a bit dyslexic. The code has a variable “west” that should be called...
  • Tim Davis: The fix is to replace the max(diff(r)) line with: [ignore b] = sortrows ([diff(r') a(p(r(1:end-1)))']) b =...
  • Tim Davis: Matt, Good point, thanks for catching that. I missed that in the problem statement. It’s easy to...
  • Matt Fig: Tim, There is a problem in your second code. In the case when a zero block is the same size as a non-zero...
  • Moran: Hi Chris, I tried everything I could think of, and have sent several observations about this bug to support,...
  • odessit: Hello, I have compiled standalone application with deploytool. It would work fine, but the error is in...
  • Duane Hanselman: FYI… % strmatch replacements % strmatch is obsolete, strncmp and strcmp are built in % case...
  • Doug: Duane, I just looked, I did not see an m-lint warning against STRMATCH in 2008a. However, I seem to recall what...
  • hashem: Hi Doug, I built a GUI and write a help for it in “chm” (compiled HTML file) format, and I...
  • Tim Davis: I left out the comments in the code, above. Most of the functions should be familiar to most MATLAB users....

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics