Anonymous

Difference between revisions of "Logo or turtle drawing"

From cod3v
 
Line 25: Line 25:
The Asimov 2/ Verne robot travels <math>2\pi 57</math> mm <math>358</math> mm on one full turn, as the diameter of the wheel is <math>57</math> mm. First design the plotting on a paper (or using computer, eg. [http://www.inkscape.org Inkscape] is a good program) and then convert the distances to rotations.  
The Asimov 2/ Verne robot travels <math>2\pi 57</math> mm <math>358</math> mm on one full turn, as the diameter of the wheel is <math>57</math> mm. First design the plotting on a paper (or using computer, eg. [http://www.inkscape.org Inkscape] is a good program) and then convert the distances to rotations.  


Usually it is easier to code if the speed is lower. Use only speed 10 or 15. The Asimov/ Verne 2 robot turns exactly (about) 90 degrees when <code>Steering=100</code>, <code>Power=10</code>, <code>Angle=195</code> and <code>Brake=True</code>.
Usually it is easier to code if the speed is lower. Use only speed 10 or 15. The Asimov/ Verne 2 robot turns exactly (about) 90 degrees when <code>Steering=100</code>, <code>Power=10</code>, <code>Angle=??</code> and <code>Brake=True</code>.


== Example Code ==
== Example Code ==