Saturday, April 29, 2006

Test Log

// TERRAIN PARAMETERS
// Seed Value is passed as an argument to srand(unsigned int)
567

// Roughness Constant for height displacement (.1 to .99)
.2

// Terrain Size (Integer: MAX 2049)
65

// Scales in metres of along the plane
25

// Scale in metres along height axis
1

// BOT PARAMETERS
// Bot Max no of steps (unsigned int)
// Bot run will be discontinued after this many iterations for stuck bots
2500

// Bot Starting X Pos (Should be in the range [0, TerrainSize - 1]
0

// Bot Starting Y Pos (Should be in the range [0, TerrainSize - 1]
0

// Bot Target X Pos (Should be in the range [0, TerrainSize - 1]
64

// Bot Target Y Pos (Should be in the range [0, TerrainSize - 1]
64

// Maximum slope that bot can traverse (absolute value)
// Floating pt angle in degrees (0, 90)
45

Testing with variable RANGE (1 - TerrainSize).

Distance covered seems to be directly proportional to RANGE. HELP!!!. Here's some data :(

RANGE (Cells) - Distance (m)

1 - 2836
2 - 3169
5 - 3298
10 - 2701
15 - 2792
19 - 2686
20 - 2586
21, 22 - 2565
23 - 2665
24, 25, 26 - 2645
27 - 2715
32 - 2707
41 - 2486
42 - 2465 <---------- WTF!!!
45 - 2468
50 - 2468
55 - 2468
MAX - 2468

0 Comments:

Post a Comment

<< Home