August 5, 2024
Today, I began by continuing to debug and make my mapping code produce a more reasonable output. I tried many things, such as flipping the order of transforms, recalculating the positions, and switching the axes, but nothing worked.
Finally, at the end of the day, I had an idea. I realized that since I had so many AprilTags, the angle between the tags were very shallow. Combined with the fact that the camera was probably not extremely accurate, it made it seem like the tags were on the same plane, hence the line shape rather than the polygon shape. To fix this, I made my tag environment into a square, so at the corners, the angle between the tags were sharper.
Here is a picture of my new map:

Comments
Post a Comment