Saturday, April 04, 2009

More Mouse

Sorted out the plan image rotation problem. Simple problem: z instead of x in the rotation formula. Should have been:

new_x = x * cos(A) - z * sin(A)
new_z = z * cos(A) + x * sin(A)

Still investigating the faint picture.

Next up: Sort out the corner cutting of the line detector - the problem mentioned that when pointing at 45 degrees the image processor sometimes makes corners into a single line, effectively straightening out the corner.

Alan is testing getting the world x and z position from the rotated plan image, by using the wall distance modulo 180mm.

0 Comments:

Post a Comment

<< Home

Newer›  ‹Older