20/01/2007

 My Block - Is left further than right?

This is the tutorial to build a my block "Is left further than right". The robot makes out whether of not the objects located on his left are further than on his right.  Therefore the robot turns first left register the distance and stores it into a variable "LeftSensor", then it turns right register the distance again and compares it with the variable “LeftSensor”. 

 

To make a “my block” you just start up a new program.  Once the program is completed you select the part of it you want to be reusable.  The variables that are outside your selection but where data are coming in or out become the input or output variables of your program.

 

So lets start, open a new program.

Select Edit  - Define variable – Define the variables: Input, Left sensor and Output.

 

 

image012
 
 
image013
 
 
image014
 
 

image016

 

 

image016

 

image017
 
 
image018
 
 
image022

 
 
 
image020
 

 
image023
 
Select Edit- Make a new My block
 
 
image025
 
 
Folow the wizard and click Finish.
 
 
Have fun.
 
Bye

16:15 Écrit par Geoffrey Vandiest dans Web | Lien permanent | Commentaires (0) |  Facebook |

Lego Mindstorm Nxt intro

In November 2006 I went to Redmond for an architecture conference at the Microsoft campus.  My agenda was fully booked and I had very few time for myself. 

 

Nevertheless I managed to free one hour just before taking my plane back.  I went to the local Lego shop in the shopping center near my hotel and bought a Lego mindstorm NXT kit.  In fact I promised to my oldest son to bring him a robot back from the US.  I have to confess that for the moment it’s papa that exclusively play with the Robot.

 

Back to home I spend many evenings at experimenting with my son new toy.  I first assembled the basic Tribot and made some very cool little programs with the Lego visual development environment.   I found this environment very well designed and easy to use.  The documentation is also very complete but the tutorials are very basic. I suppose this will improve in the future.  Unfortunately I experimented also lots of frustrations when my programs became bigger.  The development environment crashed many times and I loosed many programs.  To avoid this I used “my blocks” this are reusable program components.  In traditional programming environment this type of reusable programming parts are called functions or methods.  “My blocks” can have input and output arguments. 

 

In this post I attached some picture of one of the robots I build.  It's based on the T-Rex but on wheels.  I modified the T-Rex design and replaced the legs with wheels because the legs of the T-Rex consume a lot of energy, are innefective nor practical to control.

 

In the next posts I will present one of the "My blocks" I programmed and try to provide a basic tutorial on developing your own "My blocks".  

 

A very cool site to learn programming NXT with the lego IDE can be found on: http://www.ortop.org/NXT_Tutorial/html/essentials.html This site contains lots a video lessons on how to program the NXT. 

 

STA70400

 

STA70401

 

STA70403

 


14:01 Écrit par Geoffrey Vandiest dans Web | Lien permanent | Commentaires (0) | Tags : lego, mindstorm, nxt, robotics |  Facebook |

 Welcome

Welcome to my blog.  As this is my first blog I don’t know exactly what kind of things I will write about. This blog will be dedicated to information I want to share with others. I guess most of what I will write will be about internet and development and it will be technology oriented.  My goal is to share useful information with other people. To discus about technologies, provide useful tips.  I decided to choose for Skynetblogs not only because Skynet is my employer but also because this bloging site provide a great visibility in Belgium.

 

11:55 Écrit par Geoffrey Vandiest dans Général | Lien permanent | Commentaires (0) | Tags : welcome, geoffrey vandiest |  Facebook |