Ryan,
From the bag I learned:
- the tags are fairly small and far away
- 1Hz image frequency: don't expect smooth pose estimates from this.
- adverse lighting conditions leading to long shutter times and motion blur
- a lens that has a lot of distortion. Can you please tell me exactly what lens you have on there? Focal length? Link to make/model? Just want to double check that the radtan model is indeed the right one. It probably is but given the large amount of distortion it would make sense to verify.
If you post your camera calibration (cameras.yaml), I can actually run tagslam myself on this data set. At least I can exclude user error as the source of the problem.
If you have done more than one calibration, please send me all, that way I can see how well they agree.
The vector [0, 0, 1] means this: take the currently estimated coordinates of the tag corner, project them onto the vector [0, 0, 1]. That gives you a number, let's call it L. The error to be optimized is: noise * (L-length)^2. In your case it should only optimize the z coordinate then.
Not sure why the optimizer bombs out in the other case.