User Tools

Site Tools


marvin:lab9

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
marvin:lab9 [2008/11/21 08:47] riepermarvin:lab9 [2009/01/12 09:04] (current) deva
Line 20: Line 20:
 **Marvin**\\ **Marvin**\\
 {{marvin:lab9-2.jpg?300}} {{marvin:lab9-2.jpg?300}}
 +
  
 ====Tacho counter==== ====Tacho counter====
 The use of the tacho counter is an integrated part of the navigator class. The function TachoNavigator() uses the tacho readings together with the measures of the wheel diameter and distance between the centres of the wheel to navigate in a cartesian coordinate system. Another function goTo() enables the car to move to any point in the coordinate system. This function automatically rotates the robot in the direction specified by the coordinates. The command goTo(100,100) will turn the car in a 45 degree angle and travel the distance dictated by the laws of Pythagoras. These functions form an easy basis for the navigation program. The use of the tacho counter is an integrated part of the navigator class. The function TachoNavigator() uses the tacho readings together with the measures of the wheel diameter and distance between the centres of the wheel to navigate in a cartesian coordinate system. Another function goTo() enables the car to move to any point in the coordinate system. This function automatically rotates the robot in the direction specified by the coordinates. The command goTo(100,100) will turn the car in a 45 degree angle and travel the distance dictated by the laws of Pythagoras. These functions form an easy basis for the navigation program.
-  +
 ====Execution==== ====Execution====
 CompassNavigator(([[http://lejos.sourceforge.net/nxt/nxj/api/lejos/navigation/CompassNavigator.html]])) CompassNavigator(([[http://lejos.sourceforge.net/nxt/nxj/api/lejos/navigation/CompassNavigator.html]]))
marvin/lab9.1227253640.txt.gz · Last modified: 2008/11/21 08:47 by rieper