When we went to check that our backup limelight would work properly for us, it greatly skews off off of reporting the correct distance as the magnitude of our tY offset increases. At the extremes we are almost 150 inches off of the true distance.
Both limelights are at the same image version, same calculations being applied, same height and mounting angle. Could this still be a problem with what we are calculating, or is there something wrong with how this limelight is reporting back it’s tY angular offset?
Did you make sure that your LimeLight has the newest version downloaded? I would also check your limelight stream as @FRC6302 has suggested. If all else fails, I would check and see if you could restart your LimeLight 2.0. There is a possibility that your calculations are off in your code, if you could send a picture of the code that would be great!
Thanks for the advice, it seems all we had to do to correct the issue was to adjust the crosshair offset on the second limelight. We started off with no offset, and after adding a -0.07 on the Y offset we got correct readings back.
I’m not sure why such a small adjustment was able to fix such a huge inconsistency in the distance readings. There must be a slight difference in our mounting height and angle between the two limelight mounts, so from here on out we’re just going to store separate pipelines and configurations for the two limelights.
Were your tx values the same when you were comparing the distances output?
If you are using the limelight for distance, you might want to look into correcting for the camera shape in your calculations depending on if you are going to be getting the distances when you aren’t looking straight at the target