andretamm / sdpwinners

STABILITY - making your robots stable since 2014
0 stars 0 forks source link

Vision: Fix distortion issue on the points! #22

Closed CalvinTMurray closed 10 years ago

CalvinTMurray commented 10 years ago

Lens distortion causes incorrect world state ball and robot positions! Undistort points using the fix distortion method already present. Another approach could be using open/javaCV, which provides distortion fixes on points.

andretamm commented 10 years ago

I had a look at the thing they had in previous years, but it only works well in the very corners, otherwise we still have this issue. This is most probably due to the robot's height, which we also have to take into consideration when doing the distortion fix.

andretamm commented 10 years ago

@CszMurray, can you commit the stuff you have please? :) Going to be testing some stuff with the robot today, might as well have a go at this too.

andretamm commented 10 years ago

We have the perspective fix, which was the main issue, if the barrel distortion becomes a problem, then that's a two-liner fix, but it doesn't seem to be an issue atm?