File Exchange Pick of the Week

August 14th, 2009

Self-Balancing Wheeled Robot

Jiro's pick this week is Self-Balancing Robot by Yorihisa Yamamoto.

This one comes from Tokyo, Japan. I am currently here for a few weeks working with the Application Engineers at the MathWorks Japan office which just opened this July. These engineers have dealt with MathWorks products for many years as our local distributor, and they're all very sharp people. Yorihisa is one of the Application Engineers here in Japan, and he focuses on Simulink and controls applications.

Being a MATLAB person, I was blown away when Yorihisa showed me this self-balancing lego robot where the control algorithm was developed in the Simulink environment. My eyes were glued to this wheeled robot swaying back and forth to keep its balance. See it in action here:

I'm curious to hear about other hardware interface demos/projects people have done using MATLAB and Simulink. Please tell us about it here. If you have corresponding File Exchange entries, even better!


Get the MATLAB code

Published with MATLAB® 7.8

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

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