Difference between revisions of "Andy's Arc Voting"

From RoboJackets Wiki
Jump to navigation Jump to search
m (formatting)
Line 1: Line 1:
 
Generally, the stratagy is to:
 
Generally, the stratagy is to:
* 1 Create a virtual map of obsticles and detected lines  
+
# Create a virtual map of obsticles and detected lines  
* 2 Assign each obsticle (or area of terrain) a numerical value, the lowest being the most drivable (flat ground, no obsticles etc.) the highest being an obsticle (can also be done the other way around.  
+
# Assign each obsticle (or area of terrain) a numerical value, the lowest being the most drivable (flat ground, no obsticles etc.) the highest being an obsticle (can also be done the other way around.  
* 3 Generate random arcs in the needed direction of travel  
+
# Generate random arcs in the needed direction of travel  
* 4 Sum the values of the terrain for each arc
+
# Sum the values of the terrain for each arc
* 5 Pick the lowest arc
+
# Pick the lowest arc
  
 
Page is maintained by [[User:AndyB|Andy]] and will be expanded uppon sooner or later.
 
Page is maintained by [[User:AndyB|Andy]] and will be expanded uppon sooner or later.

Revision as of 21:13, 7 January 2006

Generally, the stratagy is to:

  1. Create a virtual map of obsticles and detected lines
  2. Assign each obsticle (or area of terrain) a numerical value, the lowest being the most drivable (flat ground, no obsticles etc.) the highest being an obsticle (can also be done the other way around.
  3. Generate random arcs in the needed direction of travel
  4. Sum the values of the terrain for each arc
  5. Pick the lowest arc

Page is maintained by Andy and will be expanded uppon sooner or later.