Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - scrapidou

Pages: [1]
1
Programming / [Tutorial] Programming Robot Poney
« on: February 09, 2012, 19:25 »
Hi all.


I see that section is great to share programming experience so I show you my project, if you wanna build your own robot.


Is simple, you just need :

A few lines of PASCAL language (WARNING / THIS IS NOT P.O.O)!!

Code: [Select]
procedure that;
var h,z : real;
begin
   x := y;
   this (h,z)
end

begin
   i := 1;
   x := 5;
   While (I <= 5) and (x <= 75) do
   begin
      w [i] := x;
      x := w[i] * 20.5;
      i := 1 + 1
   end;
   read (x,y);
   if x>y then write (gcd(x, y)) else write (gcd (h,z));
   w[gcd(x,y)] := 23e10;
   this (w,z);
   this (w[w[i]],gcd(x,y));
   that;
   i := 1;
   while (i <= 5) do
     begin
       write(w[i]);
       i := 1 + 1
     end;
   write(h,i,x,y,z)
end.

Dont forget REBOOT.


The basical LEGO set for the poney skeletton :





A power supply :




or




Some furr to make the poney real :


(for example)



Now, first step of the assembly process :




Et VOILA (after painting)[/i]



CYA next week for another robot.


---- the RobotTEam

Pages: [1]