Example 1 Moving Forward Using motor ==================================== Simulation ---------- .. image:: ../tutorial/code1.gif :alt: not found :align: center Real Life --------- .. image:: ../tutorial/code1real.gif :alt: not found :align: center What does code do? ------------------ In this code, the robot moves forward for 800ms at 80% speed. Functions Used -------------- motor( motor port, speed) msleep( duration in ms) Function Implementation *********************** .. code-block:: python :linenos: #!/usr/bin/python3 import os, sys sys.path.append("/usr/lib") from kipr import* def main(): motor(0, 80) motor(3, 80) msleep(800) if __name__ == "__main__": main() Tips for Rookie --------------- You may need to register a team to botball official, in order to access the 3D simulator. In the 3D simulator, port 0 is the left motor, while port 3 is the right motor.