User Tools

Site Tools


marvin:lab5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
marvin:lab5 [2008/10/04 10:35] devamarvin:lab5 [2008/10/10 11:54] (current) deva
Line 4: Line 4:
 **Participants:** Kasper, Bent and Johnny\\  **Participants:** Kasper, Bent and Johnny\\ 
  
-The purpose of this exercise is to make a line following robot to compete int eh robot race.+The purpose of this exercise is to make a line following robot to compete in the robot race.
  
 ====Design==== ====Design====
Line 16: Line 16:
 ====Building the car==== ====Building the car====
 {{:marvin:lab5-arm1.jpg?256}}{{:marvin:lab5-arm2.jpg?256}}\\ {{:marvin:lab5-arm1.jpg?256}}{{:marvin:lab5-arm2.jpg?256}}\\
 +The base of the car is the LEGO 9797 car as described in LEGO Mindstorms Education NXT Base Set 9797 building instruction page 32 to page 34
 We did not have three NXT light sensors available, so we decided to use the one that we did have for the center sensor, and then use two RCX light sensors for the ones on the sides. We did not have three NXT light sensors available, so we decided to use the one that we did have for the center sensor, and then use two RCX light sensors for the ones on the sides.
  
 ====Programming==== ====Programming====
-TODO: Insert the code here.+
 <code java> <code java>
 public class Racer { public class Racer {
Line 162: Line 163:
 </code> </code>
 ====Test1==== ====Test1====
-small wheels+Small wheels.
-movie of first run.+
 First time trial, 31,8 sec First time trial, 31,8 sec
 +
 +Here is a video showing the test run:\\
 +[[http://www.youtube.com/v/lNlLngkMeTs|{{ marvin:lab6-1.jpg }}]]
  
 ====Test2==== ====Test2====
Line 172: Line 175:
  
 ====Test3==== ====Test3====
-Reduced lengt of the sensor arm. Caused Marvin to turn to late and crash into the wall. Therefore we maintain original length of the sensor arm.+Reduced lengt of the sensor arm. Caused Marvin too turn to late and crash into the wall. Therefore we maintain original length of the sensor arm.
  
 ====Conclusion==== ====Conclusion====
 We need to do some measurements on the motors in order to examine how to make different types of turns. Next time we will try to do countersteering by making one motor go forward and the other one backward. Also try to implement a memory of the last samples, so we will be able to take advantage of a more graduated steering control. We need to do some measurements on the motors in order to examine how to make different types of turns. Next time we will try to do countersteering by making one motor go forward and the other one backward. Also try to implement a memory of the last samples, so we will be able to take advantage of a more graduated steering control.
marvin/lab5.1223109358.txt.gz · Last modified: 2008/10/04 10:35 by deva