Difference between revisions of "In progress"

From IPRE Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
{| cellspacing="0" border="1"
 
{| cellspacing="0" border="1"
! Command
+
! Coding
! Description
+
! Results
 
|-
 
|-
|<tt><html>
+
|<tt><pre><html>
 
<body>
 
<body>
 
This is my first robot page.
 
This is my first robot page.
&lt b &gt This text is bold &lt/b&gt
+
<b>This text is bold </b>
 
</body>
 
</body>
</html>
+
</html></pre>
 
</tt><br>
 
</tt><br>
 
|This is my first robot page. <b>This text is bold</b>.
 
|This is my first robot page. <b>This text is bold</b>.

Revision as of 15:42, 27 July 2007

Myro Review

Coding Results
<html>
<body>
This is my first robot page.
<b>This text is bold </b>
</body>
</html>


This is my first robot page. This text is bold.
forward(SPEED)
Move forward at SPEED (value in the range -1.0..1.0).
move(TRANSLATE, ROTATE)
Move at the TRANSLATE and ROTATE speeds (value in the range -1.0..1.0).
motors(LEFT, RIGHT)
Turn the left motor at LEFT speed and right motor at RIGHT speed (value in the range -1.0..1.0).
rotate(SPEED)
Rotates at SPEED (value in the range -1.0..1.0). negative value make it rotate right (clockwise) and positive values rotate left (counter-clockwise).
stop()
Stops the robot from moving.
translate(SPEED)
Move in a straight line at SPEED (value in the range -1.0..1.0). Negative values specify backward movement and positive values specify forward movement.
turnLeft(SPEED)
Turn left at SPEED (value in the range -1.0..1.0)
turnRight(SPEED)
Turn right at SPEED (value in the range -1.0..1.0)
wait(TIME)
Pause for the given amount of TIME seconds. TIME can be a decimal number.