jessvi created page: Lab8 authored by Jesper Kurtzmann Svith's avatar Jesper Kurtzmann Svith
...@@ -38,7 +38,7 @@ The goal for this experiment is to learn about the cars behavior when using gear ...@@ -38,7 +38,7 @@ The goal for this experiment is to learn about the cars behavior when using gear
##### Fig. 2: Robot with high gearing from the electrical motors to the wheels. ##### Fig. 2: Robot with high gearing from the electrical motors to the wheels.
To test the robot we use a straight track and a basic program which powers the motors equally all the time in order to drive forward: To test the robot we use a straight track and a basic program which powers the motors equally all the time in order to drive forward:
´´´ ```
while (! Button.ESCAPE.isDown()) while (! Button.ESCAPE.isDown())
{ {
...@@ -48,8 +48,7 @@ To test the robot we use a straight track and a basic program which powers the m ...@@ -48,8 +48,7 @@ To test the robot we use a straight track and a basic program which powers the m
Thread.sleep(60); Thread.sleep(60);
} }
```
´´´
##### Fig. 3: Showing the code used to drive the high-speed robot forward. The power is distributed equally to the wheels as we are only concerned about a straight motion. ##### Fig. 3: Showing the code used to drive the high-speed robot forward. The power is distributed equally to the wheels as we are only concerned about a straight motion.
### Results ### Results
... ...
......