21 Mar 2007, 11:10pm
mindstorms
by Pedro Pinheiro

leave a comment

matsuRobotV3

My latest Lego Mindstorms robot and program, matsuRobotV3. This robot was also “not planned” like the previous one as the build process was simultaneously the design process. The main thing I wanted to implement was some way to auto-center the sensor platform, which I accomplished by placing a bump switch that would be pressed if the platform rotated more than “x” degrees to the left, from which point I could rotate it “x” degrees to the right to get it centered (“x” being found by trial and error).

From a programming standpoint, I wanted the program to evaluate two sensors at the same time – which was done by running a loop conditioned to end by a logical value, in which I ran two readings passed on to an OR logic block. This creates a relatively fluid obstacle avoidance routine, as you can see on the video. Hope you enjoy it!

*name

*e-mail

web site

leave a comment


 
  • RSS Photographs

  • RSS Twitter

  • RSS Blippr

  • Archives