Drive an iRobot Create 

Open a connection to an iRobot Create serial device.

In[1]:=
Click for copyable input
X
Out[1]=

Define a set of iRobot commands.

In[2]:=
Click for copyable input
X

Send a "start" command followed by a "full mode on" command. This readies the robot for responding to drive commands.

In[3]:=
Click for copyable input
X
In[4]:=
Click for copyable input
X

Send the robot a sequence of commands to turn counterclockwise through 90°, drive for five seconds, reverse itself, drive for five seconds, and finally stop.

In[5]:=
Click for copyable input
X
de es ja pt-br zh