RoboCup-SSL/ssl-vision

Coordinates in real field

maxaubel opened this issue · 4 comments

image (Not quite the best illumination)

We are struggling recently trying to assign the coordinates of our control points in the field, but we fail doing so. Our camera only sees one area, which includes a penalty area (idk if that's the real word for it). But as you can see, when click on "Do initial calibration", it messes up with the geometry of the field. Could you guys please tell us which coordinates should we put in there? That information will be very useful for our team.

Kind regards,
AISoccer USM

Have you tried pressing reset, then several times initial calibration? Sometimes, the model messes up if you had done the initial calibration with bad control points.
The control points seem to be correct, though I can not really recommend using only the penalty area. You will probably get an imprecise result.
Btw.: You do not need to calibrate field green. It is not used anywhere, but still needs more calculation time.

As we have no space for the complete field, we don't have enough lines to calibrate the program with. So, added some control points in the middle of the field and calculated their field coordinates. It needed some tweaking, but it works perfectly fine now. Thanks for the help!

Here's a screenshot

image

As the issue is sloved, i'm going to close it. If anyone has some issues with the calibration process, I can also help guide the process.

btw: you can add arbitrary lines and they are used for line detection. So you could add lines somewhere else too. That may help, but your solution also works.